Commit Graph

8 Commits

Author SHA1 Message Date
Krafpy
d3d56674eb Fixed sprite display for JSNQ. 2022-07-22 00:35:41 +02:00
Krafpy
9a8cba06e6 Refactored main loading. 2022-07-21 19:14:48 +02:00
Krafpy
b3ff88dd92 Custom functions to be run at each frame. 2022-07-15 13:48:27 +02:00
Krafpy
ca8f3e4c38 System object display update refactoring.
- Grouped satellites's and SOIs' visibility managment in a
`SolarSystem.update` member function
- The visibility of the satellites and their orbits depends on the
distance to their attractor and not to them.
2022-07-15 13:32:46 +02:00
Krafpy
e0f592cdba Added SOI display
- Added SOI checkbox in the editor
- Added management of SOI displays during rendering in `system.ts`
- Replaced body sprites with spheres
2022-07-12 17:35:18 +02:00
Krafpy
8795b09366 More visible trajectory lines. 2022-07-11 12:12:46 +02:00
Krafpy
8da935b047 2D physics fix and error handling consistency
- Reimplemented 2D orbital mechanics functions in physics-2d.ts
and encaspulated inside a `Physics2D` namespace.
- Deleted physics.ts and moved the required functions into physics-3d.ts
Further cleaning and reimplemntation will be done on the physics-3d.ts
content.
- Forced consistency on error handling : every raised error throws
an `Error` object.
- Commented sections relative to 2D physics and sequence generation.
2021-12-19 17:19:30 +01:00
Krafpy
824af087c1 Modified file structure.
Modified the file structure to have the `index.html` at the root
of the repository. Needed for Github Pages.
2021-08-15 21:31:25 +02:00