NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
ā–²Gummy Geometry (newkrok.github.io)
jp57 36 minutes ago [-]
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.
NewKrok 33 minutes ago [-]
Wow, didn't expect to see my implementation here :)
Tepix 3 hours ago [-]
It seems to be broken on Firefox. It shows 3/8 players, the circles are flickering madly and I can't drag them.
NewKrok 29 minutes ago [-]
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ā€
coldcity_again 5 hours ago [-]
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

jaen 5 hours ago [-]
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 5 hours ago [-]
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.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 16:14:20 GMT+0000 (Coordinated Universal Time) with Vercel.