Inspired by Ben Sparks'
Numberphile
video on the switches (aka lockers) problem.
This is a work-in-progress. Info
here.
Martin Bridge, 2023
The switch display is clickable - it will show the current switch and it's factors.
Quirks:
-
If the animation doesn't appear, it's likely that the required canvas size
exceeds the maximum canvas size - reduce the number of switches, or increase the switches per
row. (I need to fix this)
e.g. for 1,000,000 switches, use 1,000 per row
Feedback welcome:
https://github.com/bridgem/animations
Click this box to dismiss