Giter Site home page Giter Site logo

ss-tp4's Introduction

...

Time-Driven Simulation

Build

To build the project, it is necessary to have Maven +3.5.0, and Java SE 8 Release installed. Then, run:

$ mvn clean package

This will generate a *.jar in the target folder. If you find any issues with the building, remove the *.jar files from the Maven local repository with:

$ rm -fr ~/.m2/repository/ar/edu/itba/ss/*

Or do it manually, if you prefer.

Execute

In the root folder (after build):

$ java -jar target/tp4-1.0-SNAPSHOT.jar <simulate | animate>

Help

$ java -jar target/tp4-1.0-SNAPSHOT.jar help

Input Files Format

Receives a JSON file with the following format (see example below):

{
	"fps"			: "100",
	"deltat"		: "100.0",
	"integrator"	: "Beeman",
	"system"		: "GravitationalField",
	"output"		: "resources/data/beeman.data",
	"maxtime"		: "157680000.0"
}

Output File Format

Simulation file

<x> <y> <r> <vx> <vy>
...

Animated file

<N>
<t0>
<x> <y> <r> <v>
...

Where <v> is the module of the speed.

Videos

Video of the simulation

Simulaciones para otras fechas

Mar 77

  • Jupiter:
    • 3.9857e+00 AU
    • 458.6806 days
  • Saturn:
    • 8.2487e+00 AU
    • 521.412 days

Jun 77

  • Jupiter
    • 3.5735e+00 AU
    • 283.3333 days
  • Saturn
    • 7.7907e+00 AU
    • 380.9028 days

Sept 77

  • Jupiter:
    • 1.8653e-03 AU
    • 545.8333 days
  • Saturn:
    • 6.5126e-04 AU
    • 1166.088 days

Dec 77

  • Jupiter:
    • 3.9226e+00 AU
    • 1825 days
  • Saturn:
    • 8.1816e+00 AU
    • 74.537 days

Mar 78

  • Jupiter:
    • 4.2744e+00 AU
    • 506.1343 days
  • Saturn:
    • 8.2790e+00 AU
    • 0 days

Developers

This project has been built, designed and maintained by the following authors:

ss-tp4's People

Contributors

agustin-golmar avatar lobo avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.