Play on turbowarp for way better performance : turbowarp.org/873524876?hqpen Click to spawn balls, and play with sliders to adjust settings If it lags, decrease substeps, it will make it less accurate but faster
Thanks a lot to Pezza's work on Youtube for his amazing video about verlet integration : https://www.youtube.com/watch?v=lS_qeBy3aQI And to @squarepoint for his engine : https://scratch.mit.edu/projects/864356486/ that helped me to adapt this C++ video to Scratch. (Also sorry for low effort project, it took me about 2 hours. I'll probably make a game based on this)