Show HN: Soft Body Jiggle Physics

28 points14 comments5 days ago
sameersri2004

Could be used for soft sea fish models

fooqux

Looks well documented. I applaud the author for not just sharing code, but taking the time to teach how to use it and how it was made.

embedding-shape

Nice donut in the demo, but would love to see a human model for a more fun demo :) Ideally with a proper weight map for the different body parts too, seems well done enough that you could get really close to something realistic.

show comments
WizardK

Nice to see someone else doing physics in the browser. And this looks well put together, keeping the engine dependency free and separate from the renderer is a good call, that is what makes it easy to reuse in Three or Babylon.

One question: how does it hold up when the framerate changes? Spring jiggle like this usually either blows up or feels different when the timestep moves around. Are you using a fixed timestep, or just relying on the damping to keep it stable?

show comments
bitwize

Something something men of culture

deafpolygon

Doing the lord’s work, advancing the human race forward.

patcon

Another example of the adult entertainment industry driving critical technology infrastructure forward...?

Makes me wonder: Does the adult entertainment industry have its own variant of the military's DARPA, or is it truly decentralized in its innovation and standards work? Haha

Razengan

I had vastly different expectations, though I suppose this could lead to them..

show comments