playbox is a small library to :
- Quickly create simple and specific JBox2D simulations, the playground part.
- Display the resulting simulation using Processing, the procbox (processing + JBox2D) part.
It was created to support code for experiments on sensorimotor learning. It might somehow be useful to you, especially if you want to rerun, check or tweak the aforementioned experiments.
playground and procbox are cleanly separated, so that simulations created using playground do not have any dependency to Processing, and can be run headless as fast as possible on clusters.
This software is placed under the OpenScience license, which is the LGPL, with the additional condition that if you publish scientific results using this code, you have to publish the corresponding modifications of the code.
If you publicly release any scientific claims or data that were supported or generated by the Program or a modification thereof, in whole or in part, you will release any modifications you made to the Program. This License will be in effect for the modified program.
If you wish to use processing for visualization:
- Install Processing (>= 2.x)
make procbox- copy the
target/libraries/procboxfolder in your Processing libraries folder. - run the examples from Processing
If you want to just create headless simulations:
make playground- add
target/playground.jarto your classpath.
See examples in the examples folder.