Skip to content

Zero dimension

Pixels (2D)

Pixels (2D)

This example shows the Pixels visual where pixels are spread randomly inside a square that can be zoomed using the mouse and an orthographic camera.

Keyword: pixels, matplotlib, orthographic
Code: pixels-2d.py

Pixels (3D)

Pixels (3D)

This example show the Pixels visual where pixels are spread randomly inside a cube that can be rotated and zoomed using the mouse and a perspective camera

Keyword: pixels, matplotlib, perspective
Code: pixels-3d.py

Pixels (color)

Pixels (colors)

This example show the Pixels visual where pixels are spread randomly inside a cube and colored according to their position.

Keyword: pixels, colors
Code: pixels-colors.py

Pixels (colormap)

Pixels (colormap)

This example shows the Pixels visual where pixels are colored according to screen coordinates (x,y) or depth (z) using a colormap.

Keyword: pixels, colormap, transform, screen
Code: pixels-colormap.py