[HN Gopher] Gummy Geometry
___________________________________________________________________
Gummy Geometry
Author : memalign
Score : 65 points
Date : 2026-03-13 19:31 UTC (4 days ago)
(HTM) web link (newkrok.github.io)
(TXT) w3m dump (newkrok.github.io)
| jaen wrote:
| What's the physics solver used here? This demonstration quickly
| runs into common problems associated with overly simplistic
| solvers/integrators where everything starts to become unstable
| and "vibrate" / "twitch".
| phil-martin wrote:
| It's nape-js
|
| https://newkrok.github.io/nape-js/index.html
|
| While the gummy geometry one is a little twitchy, but most all
| the other demos were very stable, much more than most other 2d
| solvers I've seen.
| coldcity_again wrote:
| Bit twitchy indeed but still fun. Instantly took me back to
| "rubber glenz vectors" in classic Amiga prods[1]
|
| [1] https://www.youtube.com/watch?v=OZTnR3FpUEA&start=413
| Tepix wrote:
| It seems to be broken on Firefox. It shows 3/8 players, the
| circles are flickering madly and I can't drag them.
| NewKrok wrote:
| Yeah, fixing that demo is on my TODO list, but for example,
| I've implemented it a bit better here:
| https://newkrok.com/gamer-zone/project-throttle"
| jp57 wrote:
| Because there are no instructions at all about what will happen
| when you click, I almost immediately created a "transporter
| accident" where I spawned in a new shape that intersected with an
| existing shape. They became locked together, and this new
| compound shape seems to exist as some kind of physics engine edge
| case. It struggled madly to find a low-energy state, rolling and
| jittering around, sometimes seeming to almost stop, and then gain
| energy again from nowhere and start moving again.
| stronglikedan wrote:
| I made something that looked like someone in a body bag just
| woke up and were trying to frantically find their way out. Not
| gonna lie it wasn't _not_ a little disturbing...
| NewKrok wrote:
| Wow, didn't expect to see my implementation here :)
| DANmode wrote:
| Too much fun.
|
| Feels pretty right.
___________________________________________________________________
(page generated 2026-03-17 23:01 UTC)