It was done using p5.js, not java (i assume that's the reason)
Yes. I made the original on Khan Academy's code editor (you can see the original here. What you see here is literally just an iframe linking to the program hosted on Khan Academy.
Thank you