Java Objects Simulation (JOS) is an N-body simulation system written in Java.

The idea was to have a simulation system which can use different interaction laws to calculate the force emerging between the objects.
Current version implements only Newton's law.
For GUI it uses Swing and Java 2D Graphics.
GPU version (master branch) does not use Z coordinate of the objects. This is done for faster calculations but can be easily changed.
CPU version (arbitrary_precision branch) use Z coordinate.
Current visualization is 2D only.
Aparapi library is used for GPU computations.
The CPU version (jos-cpu.jar) introduces an abstraction for numbers which allows you to choose which implementation to use: primitive type double, common BigDecimal or arbitrary precision ApFloat.
If you need precise numbers try ApFloat. It should be faster than BigDecimal.
You can save/load simulation properties using JSON format.
You can also save/load the simulation run itself and play it later.

Project Samples

Project Activity

See All Activity >

Follow JOS

JOS Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JOS!

Additional Project Details

Registered

2022-02-14