kelcied / orbitalwebsim Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
Because why not? for funzies of course.
Decide what coding standards should be applied throughout. Pep8 would probably be a good place to start?
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.
Add the basic orbital simulation html and css. Should modify the index for it and add a css file.
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.
The basic testing framework should be created. Jest would be the best place to start here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.