# Gloo

More example scripts are available in the VisPy repository’s example scripts directory.

Show an Image

Animate an Image

Animate a Shape

Show a rotating colored cube

Draw many colored cubes using instanced rendering

Show color quad Image

Draw a bunch of lines

Draw 2D points

Draw a Quad

Animate a 2D function

Use FrameBuffers

Show a rotating cube with lighting

Use multiple textures

Show a rotating cube with an outline

Show post-processing using a FrameBuffer

Draw 3D rotating Cube

Rotating Quad

Spatial Filtering

Simplest Possible Script

Simplest Shader Program

Example using texture internalformat for higher precision

Show a rotating textured cube

Show a textured quad

# The low-level GL module

Vispy has a low-level gl module which wraps GL calls almost to a 1-to-1 ratio. While this is intended mostly for internal use, it is possible to use this to construct programs.

Drawing a rotated 3D cube

Example demonstrating simulation of fireworks using point sprites

Drawing a simple quad

Displaying quads using Instanced rendering

Gallery generated by Sphinx-Gallery