Commit Graph

18 Commits

Author SHA1 Message Date
Krafpy
46d6176cd8 Added epochOffset parameter in config.orbit 2022-12-16 19:25:21 +01:00
Krafpy
0730d4241d Changed camera start position. 2022-10-08 14:53:15 +02:00
Krafpy
b95a4da37d Added ejection angle display
- Added velocity vector calculation in `Orbit` class
- Added item for ejection maneuver to display ejection angle
2022-10-08 14:35:32 +02:00
Krafpy
4467a5095a Atmosphere height consideration
Added an optional `atmosphereAlt` paramater in bodies's descrptions.
The flyby calculation now prevents a periapsis altitude below
the atmosphere limit.
2022-08-20 20:28:36 +02:00
Krafpy
916550b18d Added Korpernicus CFG converter
- Added tools/cfg-to-yml page
- Removed `sideralPeriod` parameter from data and `orbit.ts`
- Replaced `jnsq/bodies.yml` using the new converter
2022-08-19 16:01:51 +02:00
Krafpy
4dd1c9a6ce Added per-body epoch to reference mean anomalies
Each (orbiting) body now has a custom `epoch` attribute defining the
date (in seconds) to which `meanAnomaly0` refers to.
2022-08-18 01:51:42 +02:00
Krafpy
6b0a5b752e Fixed jumping mean anomaly. 2022-07-22 12:49:42 +02:00
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
9b3f2d5c4a Circularization implementation and minor fixes
The circularization step is now taken in account, with custom
altitude.
Double click offset on navigators other than Chrome has been fixed.
2022-07-08 16:44:55 +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
b405bc4675 Update orbit.ts 2021-08-18 14:11:12 +02:00
Krafpy
7d19427d18 Recompile and moved files. 2021-08-16 13:39:41 +02: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