Coins on a Star Puzzle with p5.js

Here’s a fun puzzle for you, which I have implemented online using the fantastic p5.js

Visualizing Bubble Sort with p5.js

Click on the canvas to refresh the animation I wanted to make a visualization for