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

You Might Also Like
Top-Rated Free CRM Software Icon
Top-Rated Free CRM Software

216,000+ customers in over 135 countries grow their businesses with HubSpot

HubSpot is an AI-powered customer platform with all the software, integrations, and resources you need to connect your marketing, sales, and customer service. HubSpot's connected platform enables you to grow your business faster by focusing on what matters most: your customers.
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