Since color spaces (RGB, HSL, etc.) generally have three components, they can be visualized in three spatial dimensions. In this visualization, the colors are selected either at even intervals or at random within each channel of the color space. When the colors are plotted in the same color space in which they were selected, the result is a cube shape. Interesting geometries can be produced by selecting colors in one color space and plotting them along the axes of a different color space.
If the animation is jittery, try reducing the number of spheres per axis. This should make for a more fluid animation on older devices.
Click and drag to rotate.
Scroll (mouse wheel/trackpad) to zoom.
Right-click and drag to pan.
Swipe to rotate.
Pinch to zoom.
Swipe with two fingers to pan.
Press space to pause or resume automatic mode.
Press m to move the camera to a random location.
Press ⬅️ or ➡️ to move the camera between vertices, faces, and edges.
Press c to switch between perspective and orthographic cameras.
Press t to transform.
Press p to toggle presentation mode, which hides the controller, site navigation, and cursor.