Skip to content

Physics project done by two students in almost 4 days for Damascus University

Notifications You must be signed in to change notification settings

RedWn/Satellite-Simulator

Repository files navigation

Satellite-Simulation

Physics project done by two students in almost 4 days for a Damascus University project

Description

A physical simulation for the movement of satellites' orbits in relation to Earth done for a university project. using JavaScript and three.js for the graphical output and physical calculations and lil-gui for the control interface.

Code Classes

the main components of the source are:

ArrowsAndTrails.js

for a graphical representation of the affecting forces and the orbit of the satellite

Constants.js

includes all the physical constants needed for the simulation

Environment.js

includes all functions that relate to rendering and output of the environment with its planet, sun, moon and stars skybox.

GUI.js

pretty much self explanatory.

main.js

the real deal, houses all of the physical calculations needed for the simulation.

huge thanks to @IyadAlanssary for his efforts in making the code clean

How to run the project

visit https://redwn.github.io/Satellite-Simulator/ to try.

(Huge thx to @Rami-Sabbagh for helping in this).

OR

make sure you have node.js installed and install three.js with

npm install three

and run the project to local host with

npm run dev

the main controls of the simulation are all through the provided GUI.

we will deliver a web hosted instant-try version asap!

This project was made with the efforts of my partner @IyadAlanssary and me @RedWn

thx to @tarook0, @Hamsho and @Maias-Alakramy for additional help

How to help?

this is pretty much our very first try in webGL and JS and we welcome any criticism, help, tips or any way we can improve our skills

As for the license

we hope this project will deliver some help and be of any value to anyone trying to get into three.js, physical calculations or really any subject of knowledge that we encountered here.

thx.

About

Physics project done by two students in almost 4 days for Damascus University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages