It's show the freefall of balls when user click on canvas which is created by Processing as well as how balls collide with the static surface under certain conditions of physics.
What things you need to install the software and how to install them.
-
First download & install Processing software by click on this link : [https://processing.org/]
-
after installing the processing software, install box2d library by open processing app:
-
Sketch -> Import Library -> Add Library -> Box2d
-
open this files of code in processing and press button for run it.
-
Happy Coding :)
- Processing - Processing Software
- Java
- Box2d