A kaleidoscope is an optical instrument with two or more reflecting surfaces tilted to each other at an angle. Using the translate(), rotate(), and scale() functions, you can replicate the resulting visual of a kaleidoscope in a canvas.
Related Examples

No alt text
Color Interpolation
Fade between two colors.

No alt text
Color Wheel
Create a visualization of the color spectrum.

No alt text
Bezier
Draw a set of curves.

No alt text
Kaleidoscope
Draw mirrored designs with the mouse.

No alt text
Noise
Generate naturalistic textures using Perlin noise.

No alt text
Recursive Tree
Draw a tree using a function that calls itself.