java - How should I program a simulation of physics? -



java - How should I program a simulation of physics? -

i trying create java bundle can used write simulation programs. goal create 'objects' springs or solid objects cubes , spheres. have mass, velocity, gravity etc. , can interact each other.

i have seen simulation programs on www.myphysicslab.com problem don't want write different equations different senarios. there way this? new programming.

creating physics engine hard. (very hard). can lot of fun. well, fun in "why doing myself?" kind of way.

assuming have fair grasp of maths involved*, , assuming you're interested in stiff body dynamics there couple of classic references start with:

first of chris hecker's rigid body dynamics tutorials and of course of study witkin , baraff's siggraph course

those places start , provide more plenty of challenge you.

you @ box2d erin catto , associated gdc tutorials can download.

for more specific help, forums bullet contain sub-section can discuss , inquire questions 1 time have understood of basics.

*if don't have fair grasp, learn. if you're not willing to, don't seek , utilize existing engine. if first programming experience, focus on programming first. don't overwhelmed.

good luck.

java physics simulation

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -