Click green flag to (re)start Space to reset the values E to control the bar with your mouse
I used ChatGPT for all the math, so basically I barely did anything. I created this project just for fun, but it’s still really interesting. You can use it in any of your projects (without crediting me, of course). Changing the mass doesn't do anything unless you set it to 0 If you set the slowdown to 1, the bar is supposed to never speed up or slow down, yet it speeds up a bit, probably because the scratch numbers aren't very precise.