Coder Social home page Coder Social logo

jacobmpp / galaxysim Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 167 KB

I basic simulation of the orbits of star systems in a galaxy with the possibility of added functionality in the future.

License: GNU General Public License v3.0

Processing 100.00%

galaxysim's Introduction

GalaxySim

image I basic simulation of the orbits of star systems in a galaxy with the possibility of added functionality in the future.

Controls

\ - Toggle Debug data </> - Decrease/Increase speed by 1 (,/.) Shift + </> - Decrease/Increase speed by 5 (configurable) Click and drag - Move Screen Scroll Wheel - Zoom / - Reset Speed to 1 (configurable)

Visual data

Color and size are based on the "mass" of the systems Red debug dot is the fixed center of mass of the galaxy Galaxy center can be updated live with little slow down, but even though in real life the center of mass of a closed system maintains a constant velocity (initially 0) the live updating center will start moving and launching systems out as the distance becomes very small thus increasing the force.

Change Policy

Changes are welcome, thou I recommend forking

Processing Version

This project started in Processing v3.5.4 a java library that greatly eases canvas drawing and hides some file complexity among other things.

galaxysim's People

Contributors

jacobmpp avatar

Watchers

 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.