PDP-8 Kaleidoscope

Javascript version of the PDP-8 Kaleidoscope program, which was based on suggestions from page 6-19 of the Small Computer Handbook, 1973.
There are some small differences from the original.

Click the mouse in the canvas to reset the initial x and y values, or use the form on the right.

Initial x:

Initial y:

Current shift: