Inspired by Badland I created a small simulation where I test realistic tree behaviour. RevoluteJoins are used to connect the tree parts. The application is written with Processing and Box2D for Processing
You need gradle to run the application.
git clone https://github.com/leozulfiu/dynamic-trees-box2d.git
cd dynamic-trees-box2d
gradle run
For creating a jar file just type gradle build
. You will find the jar in the build/libs/ folder.
The Start.tmx file is created with Tiled. You can change the level to your own desires.
MIT