TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PhysicsJS Examples: Newton's Revenge

48 pointsby 6renover 11 years ago

9 comments

chengsunover 11 years ago
Some of the examples (the cloth and the tree) seem to be based off Sub Protocol&#x27;s verlet-js demonstration [1], which were on Hacker News a while back (HN discussion [2]). There was a similar issue with angular momentum not being conserved on those examples too.<p>[1] <a href="http://subprotocol.com/verlet-js/" rel="nofollow">http:&#x2F;&#x2F;subprotocol.com&#x2F;verlet-js&#x2F;</a><p>[2] <a href="https://news.ycombinator.com/item?id=5580596" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5580596</a>
jbriover 11 years ago
Something seems off about the simulation - once you get a big clump, it starts spinning faster and faster until it tears itself apart again.<p>Ignoring that, it&#x27;s pretty neat - and runs decently fast as well.
评论 #6640087 未加载
评论 #6640267 未加载
jherikoover 11 years ago
small niggle. what is a verlet constraint? (rhetorical)<p>whilst its obvious that you have just discovered verlet integration and the relaxation method of applying constraints - because everyone goes off and writes a physics engine at this point - i only think i know what you mean because i have assumed this.<p>are these length constraints, angle constraints etc?<p>still... no matter how common and unexciting this is for me, its always cool to play with physics simulations for five minutes. thanks for sharing. :)
joshvmover 11 years ago
The tearable cloth demo is impressive!
toblenderover 11 years ago
My favorite one was &quot;Supermarket catastrophe&quot;.<p>Been wondering about where I can get a physics engine to simulate wind. I want to create a wind turbine simulator.
bsenftnerover 11 years ago
I had to run in Chrome, as FireFox reported 10 FSP while actually displaying less than 1 fps. Nice.
nickthemagicmanover 11 years ago
This is really cool.<p>I&#x27;d like a 3d version to combine with three.js.
estover 11 years ago
drag &quot;Fruitcake on wheels&quot; like crazy -&gt; get messed up
评论 #6640335 未加载
pitover 11 years ago
You can really torture those poor trees...