Use a physics library (genuary day 15)
The code is mostly from an earlier experiment with Ammo.js and that was already taken mostly from a tutorial; but instead of drawing the final resting positions I'm tracing the center of mass of each simulated object over the course of the animation. Just your standard cubes falling onto a plane...
100×100mm
Fabriano Black Black card
White Gelly Roll pens (08 and 05)
#physicslibrary #penplotter #penplotterart #genuary #genuary15 #genuary2024
5 months ago