▲ 23 r/perl
Physics library in Perl
Hi, On the one hand: I can't seem to find this. On the other hand, it seems so obvious to me that it must have been written before.
I'm looking for a (Newtonian) physics library, to support a (2D) game. Something where you simple define an array of objects (position, travel, mass, spin, shape, etc), and then step through time with them - as they attract each other, bounce off of each other and/or fly off into infinity. There should probably be a few global things to set: a gravity constant, the amount of dimensions required, whether or not there is friction from the environment...
Does this exist?
u/RedWineAndWomen — 5 days ago