RT Alfons Nilsson
Three magnets are placed in a triangle and above swings a pendulum. For every starting position, the pendulum will stop above one of the magnets and the corresponding pixel will be colored based on which magnet it stopped above
https://codepen.io/TC5550/pen/VwPqLQd
https://www.youtube.com/watch?v=C5Jkgvw-Z6E