Projectile motion simulator

I'm currently working on a small side project which is a projectile motion simulator. https://anic17.github.io/projectile-simulator
Projectile simulator
Simple projectile motion simulator made with JavaScript
7 Replies
Dumb Bird
Dumb Bird11mo ago
The font is a bit hard to read for me also I would love to see maybe like some sort of animation of the projectile following the path
anic17
anic1711mo ago
Yeah, this is the part that is still in progress Also I was planning on adding mouse panning to see outside the regular canvas Trying to add the motion of the projectile, seems like a difficult task with requestAnimationFrame
<Tim>
<Tim>11mo ago
what problems do you have with requestAnimationFrame?
anic17
anic1711mo ago
Well, apart from being a bit unprecise (3100 ms for a 3000 ms time), it needs to have the real time physics
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
anic17
anic1711mo ago
Try with 89° and coefficient of restitution 0.99
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View