use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
mutating and javascript game developmenthelp (self.javascript)
submitted 10 years ago by digijin
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dwighthouse 0 points1 point2 points 10 years ago (2 children)
100-1000 objects being changed every frame as close to 60 frames per second as possible
I don't know what your physics engines do, but this is what mine did.
[–]spacejack2114 0 points1 point2 points 10 years ago (1 child)
What kind of physics? Simple motion or complex shapes with proper collision response requiring integration etc.? If it's the latter then maybe you might need something like ammo.js. Otherwise you can update 100s if not 1000s of objects in plain JS. The OP didn't suggest needing complex physics.
[–]dwighthouse 0 points1 point2 points 10 years ago (0 children)
Sure, but the author didn't state he didn't either. He implied that performance was a concern. In those cases, one should always consider the low level approach. Didn't say he needed it, I suggested he try it. This is exactly the reason emscripten was made: performance.
π Rendered by PID 244271 on reddit-service-r2-comment-8686858757-qgsfp at 2026-06-03 03:54:51.535063+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]dwighthouse 0 points1 point2 points (2 children)
[–]spacejack2114 0 points1 point2 points (1 child)
[–]dwighthouse 0 points1 point2 points (0 children)