Commit Graph

39 Commits

Author SHA1 Message Date
Krafpy
01a733fbd1 Moved NaN check to the optimizer script. 2021-12-24 17:35:12 +01:00
Krafpy
c7cc922ba6 Removed useless return. 2021-12-24 17:23:17 +01:00
Krafpy
0a130de36a Fixed unconnected second leg arc and flyby orbit. 2021-12-24 17:18:53 +01:00
Krafpy
ec13b116fb Updated paragraphs. 2021-12-24 16:41:32 +01:00
Krafpy
1d7b74ef00 Trajectory evaluation fix and time display.
- Moved the second leg arc recalculation to the evaluation fonction,
so it is always calculated for every trajectories, not the
bes one only. It led to wrong "best" deltaV calculations.
- Fixed the accuracy of the system time when clicking on a date displayed
in maneuver details.
2021-12-24 16:26:51 +01:00
Krafpy
54ecc54b76 Removed commented code. 2021-12-24 02:23:07 +01:00
Krafpy
e7e05e0073 Removed old commented code. 2021-12-24 02:19:19 +01:00
Krafpy
a05c9e5c9d Major 3D physics and calculation update.
- The 3D physics functions have been moved into a `Physics3D` namespace
- The `TrajectoryCalculator` has been completely recoded and commented
- The `TrajectoryOptimizer` has been recoded accordingly
- Various optimizations focusing on reducing the number of costly
function calls
2021-12-24 02:06:12 +01:00
Krafpy
de1930c3e6 Renamed periapsisDir into periapsisVec in Physics2D. 2021-12-20 13:25:50 +01:00
Krafpy
0210eb9390 Renamings. 2021-12-20 13:17:17 +01:00
Krafpy
6168e7c8fd Removed 'or' separator. 2021-12-20 00:28:14 +01:00
Krafpy
e7cdba6e4a Merge pull request #4 from Krafpy/new-sprites
New sprites
2021-12-19 19:37:29 +01:00
Krafpy
f010b21165 New sprites 2021-12-19 19:36:30 +01:00
Krafpy
ef47fc7dc2 Merge pull request #3 from Krafpy/new-2d-physics
New 2d physics
2021-12-19 17:50:41 +01:00
Krafpy
f71d8e73b7 Added custom sequence separator 2021-12-19 17:47:54 +01:00
Krafpy
5d52dd095c Fixed imprecision in HTML text. 2021-12-19 17:35:01 +01: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
7c1f0dbf7d Update style.css 2021-08-21 18:48:01 +02:00
Krafpy
5f6c1b8a53 Added custom sequence input. 2021-08-21 00:47:28 +02:00
Krafpy
1af6e1c45b Merge pull request #2 from Krafpy/experiment-improved-workers
Updated worker scripts structure.
2021-08-20 16:42:04 +02:00
Krafpy
4cfdce73e4 Updated worker scripts structure.
Created a `WorkerEnvironment` class to contain the scripts
in the dedicated workers.
2021-08-20 16:38:29 +02:00
Krafpy
b405bc4675 Update orbit.ts 2021-08-18 14:11:12 +02:00
Krafpy
8b716a0b55 Update README.md 2021-08-18 12:05:52 +02:00
Krafpy
6d2973bea3 Added three.js includes copyright and license notices. 2021-08-18 11:47:16 +02:00
Krafpy
6e0cdc7362 Create NOTICES.txt 2021-08-18 11:20:56 +02:00
Krafpy
11c489dabe Merge pull request #1 from Krafpy/add-license-1
Create LICENSE.txt
2021-08-18 10:31:05 +02:00
Krafpy
1254b7c338 Create LICENSE.txt 2021-08-18 10:30:31 +02:00
Krafpy
c036f6f1a0 Removed inconsistent indentations. 2021-08-17 15:53:24 +02:00
Krafpy
b7e2ec92ab Added circularization maneuver.
- Added circularization calculation in `TrajectoryCalculator` with new maneuver type
- Added display of the circularization step
- Edited the related paragraph in the page
2021-08-17 13:16:24 +02:00
Krafpy
506244f08e Updated time class.
- Renamed `TimeAndDate` to `KSPTime`
- Updated how date is displayed to match the in game display
2021-08-17 11:56:04 +02:00
Krafpy
6ddce572d7 Fixed invalid HTML. 2021-08-17 11:40:20 +02:00
Krafpy
7cce4f96b8 HTML edit.
- Added github link with logo
- Fixed a typo in footer
2021-08-16 17:30:26 +02:00
Krafpy
7d19427d18 Recompile and moved files. 2021-08-16 13:39:41 +02:00
Krafpy
e4c7a51174 Update README.md 2021-08-16 13:08:55 +02:00
Krafpy
a921cd2882 Edited YAML files syntax.
Removed the `---` and `...` causing the file being returned
empty with Github Pages.
2021-08-16 09:52:27 +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
Krafpy
111591724c Update lambert.ts
Added ESA's license on the Lambert solver script.
2021-08-15 20:48:23 +02:00
Krafpy
727097155f Create README.md 2021-08-15 20:46:32 +02:00
Krafpy
9c29d438f5 Initial commit. 2021-08-15 19:12:07 +02:00