Giter VIP home page Giter VIP logo

orbitalwebsim's People

Watchers

Kelcie Dinkel avatar

orbitalwebsim's Issues

Add planets/sun

Basic layout for planets and sun. They don't need to orbit yet. Placeholder textures should probably also be used. Maybe have pop up box that would allow for the mass, size( won't affect physics probably), velocity (speed and direction) and distance to be entered with sliders/text.

Add page physics system

For physics we should have as follows:
Tick based backend (20 ticks per second?)
Gravity calculations for each
Allow new celestial bodies to be registered
Position/velocity should be based on force.

Create build system basics

In order to ease building the web page, a basic build system should be made. Python would probably be the easiest for this. At its most basic, the build file(build.py) will need to iterate over all files within the dev folder. It will then need to copy each html file to the build folder. Any typescript file will need to be compiled and then the javascript output should be copied. We should probably delete the generated javascript file in the original directory.

Error handling should be able to be accounted for. I.E. if there is an issue compiling a file, and the javascript does not output, the build script should notify the user of it. It would probably be best to output the specific error as well, but I am not sure how tsc will output that.

Set up testing

The basic testing framework should be created. Jest would be the best place to start here.

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.