All Questions
Tagged with floating-point javascript
2 questions
2
votes
1
answer
368
views
Simulating elastic ball collisions quickly escalates to disaster
I'm trying to learn HTML canvas and was working on a basic physical simulation, where a number of balls are drawn and set in motion, and the program simulates them colliding and bouncing off the walls ...
5
votes
1
answer
1k
views
Deterministic calculation in JavaScript [closed]
I want to create a multiplayer game with HTML/JavaScript and only send user input between players. I read some articles for C++, saying that I could not expect floating point to get the same results ...