sim.app.balls3d.index.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mason Show documentation
Show all versions of mason Show documentation
MASON is a fast discrete-event multiagent simulation library core in Java, designed to be the foundation for large custom-purpose Java simulations, and also to provide more than enough functionality for many lightweight simulation needs. MASON contains both a model library and an optional suite of visualization tools in 2D and 3D.
The newest version!

3D Balls and Bands
By Gabriel Catalin Balan
[Requires Java3D]
A reimplementation of the Hooke's Law example from Tutorial 5 in 3D.
From Tutorial 5: A demonstration of Hooke's Law. Balls of random location and mass are connected arbitrarily with rubber bands of random strength and minimum lax distance. You can change the number of balls and bands.
Because the system is initially at zero velociy, it stays in equilibribium. But if a fast-moving ball were to suddenly increase in mass, the system would be thrown out of equilibrium and start heading off-screen. Try it! Inspect a ball and change it mid-run.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy