Re:Draw an iceberg and see how it would float in water
by whatever_dude on Saturday February 20, 2021 @07:20AM
(#26203615)
I haven't looked at the code but it's likely some out-of-the-box physics engine, many of them available in JS. They often have to employ many more complex physics features. Buoyancy is just one of them. Computationally I'm sure it's complex, but it's made to run at game tickrates, less than the max budget of 16ms at a time.
[ Parent
| on HN ]
There are no comments on this comment yet.