100 Commits
Author SHA1 Message Date
Nazar Misyats b75a5710b0 Updated README 2025-10-18 01:59:59 -07:00
Nazar Misyats 6098a5a8f0 Track package.json and package-lock.json 2025-10-18 01:37:32 -07:00
Nazar Misyats af1fd09809 Updated github links 2025-10-18 01:25:38 -07:00
Nazar Misyats fe634389da Check if initials match exactly a body's name 2025-10-18 01:22:24 -07:00
Krafpy 16ab459ee9 Updated index.html 2024-12-11 19:08:42 +01:00
Krafpy 28dce7952c Refactored custom sequence parsing
Initials no longer limited to 2 characters, but require enough
characters avoid ambiguity between bodies.
2024-12-11 19:03:48 +01:00
Krafpy c6a850f7d4 Minor filename case change for consistency 2024-09-04 01:10:05 +02:00
Krafpy 7be4920c7b Removed commented html 2023-12-08 01:12:02 +01:00
Krafpy 77f36f8b86 Replaced github logo with svg 2023-12-08 01:06:39 +01:00
Krafpy 677ced6d3a Fixed typo and better error checking
Fixed a typo in orbitElementsFromOrbitData and added an undefined check
for orbitParam.
2023-12-08 00:54:02 +01:00
Krafpy 7b93e0879f Updated index.html 2023-08-09 12:11:29 +02:00
Krafpy 75bcfa9d3d KSP2 date display mode autocheck 2023-08-09 12:11:02 +02:00
Krafpy 0af3ed7827 Added KSP2 data
Some planet's orbital elements are slightly different from KSP1.
2023-08-09 12:02:28 +02:00
Krafpy 12c53bf8ce Changed date display mode text 2023-08-09 11:48:21 +02:00
Krafpy 4c02161e43 Option to show dates as elapsed time
Added a checkbox which changes the display of dates (UT, not MET)
from Year/Day starting at 1 but elapsed Years/elapsed Days starting
at 0 (T+). This has no effect on the solar system that use
real time (like RSS).
2023-08-08 16:41:52 +02:00
Krafpy e18a439083 Update how to use section in HTML. 2023-05-25 20:04:28 +02:00
Krafpy 52513bd9ef Added default duration limit to other systems. 2023-05-25 19:56:01 +02:00
Krafpy f13e8c0963 Added checkbox to enable/disable max duration. 2023-05-25 19:52:21 +02:00
Krafpy 7aee9ea9c5 Added trajectory duration limit (stock only)
A new trajectory setting has been added to the editor to enter the
trajectory duration limit (in number of days). It adds a big
cost to the DE algorithm if the duration of a trajectory is longer
than the specified duration limit.
2023-05-25 19:33:34 +02:00
Krafpy 2fbacd87a9 Added CSV data download button. 2023-01-08 00:06:01 +01:00
Krafpy bcc386348c Update style.css 2023-01-07 01:36:58 +01:00
Krafpy 2aee15da27 Fix drag when over textbox button. 2023-01-07 01:35:39 +01:00
Krafpy c7de2269d5 Update delta-V table CSS. 2023-01-07 01:18:01 +01:00
Krafpy 0d2af87293 Fix missing prograde value cleanup. 2023-01-07 01:00:18 +01:00
Krafpy d092fc1e23 Update delta-V display style. 2023-01-07 00:56:45 +01:00
Krafpy 6b20969ad5 Update index.html 2023-01-06 22:56:30 +01:00
Krafpy 2703c6fb41 Clamp textbox header position in window. 2023-01-03 10:12:59 +01:00
Krafpy b9c925b6e7 Clamp textbox position in window. 2023-01-03 08:34:56 +01:00
Krafpy c8254e06ce Update index.html 2023-01-02 23:23:45 +01:00
Krafpy 5d824b336e Update draggable-text.ts 2023-01-02 23:22:27 +01:00
Krafpy f710887a95 Fixed duplicate textboxes. 2023-01-02 18:02:43 +01:00
Krafpy 183f70fa47 Added copy to clipboard button 2023-01-02 17:25:14 +01:00
Krafpy 05c1910f78 Added UT time in trajectort text. 2023-01-02 15:37:39 +01:00
Krafpy 8a8a4d722f Added to UT conversion in time. 2023-01-02 15:03:34 +01:00
Krafpy 522f590138 Added button to displayed detailed text panel.
Also refactored `button.ts` to use a common `Button` class instead
of separate `SubmitButton` and `StopButton` types.
2023-01-02 14:46:32 +01:00
Krafpy b17398f5aa Added draggable textbox. 2023-01-02 13:49:33 +01:00
Krafpy b6b210d269 Added trajectory to text conversion. 2023-01-02 00:01:43 +01:00
Krafpy 4f817f767d Added forum post in page. 2022-12-18 14:52:32 +01:00
Krafpy aefe05e45b Fixed sprite display for some screens. 2022-12-18 14:43:32 +01:00
Krafpy 2b3570f579 Update README. 2022-12-18 14:40:21 +01:00
Krafpy b29442263e Added forum post link in README. 2022-12-18 14:28:57 +01:00
Krafpy 32a6ebfd9c Deleted useless JS files. 2022-12-18 14:21:02 +01:00
Krafpy 446b5e8095 Added 1950-01-01 epoch offset for RSS 2022-12-16 19:28:50 +01:00
Krafpy 46d6176cd8 Added epochOffset parameter in config.orbit 2022-12-16 19:25:21 +01:00
Krafpy 70fdf03264 Fixed time autocomplete 2022-12-16 18:39:53 +01:00
Krafpy 2cfb9c0066 Refactored the KSPTime classes
There is no longer a `elapsedYDHMS` property.
Instead, a `displayYDHMS` represents the date to actually
dispay (in UT mode). For specific elapsed time calculation,
this is done directly inside `stringYDHMS` on EMT mode, because
this is the only place where it's used.

Some struggle when modifying the departure and arrival
dates has also been modified by making the auto validation
less harsh in `TimeSelector`. Still some annoying
effects on the system time selector.
2022-12-02 22:53:38 +01:00
Krafpy bb9c88b889 Set RSS time to real in config. 2022-12-02 20:35:10 +01:00
Krafpy 6e676fc8ac Merge branch 'add-real-time' into rss-tnqoy 2022-12-02 20:26:15 +01:00
Krafpy bfe3e22ce1 Added real time option
Real time option added in `config.yml`.
Now the time option requires a `type` parameter
which is either `base` or `real`. `base` represents
the default time system used in stock KSP. `real` will
use the builtin JS date time system. The reference
time is January 1st 1970.
2022-12-02 20:08:46 +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 a8fd20fdcf Fixed UI clean up after system change.
Arrival date and flyby date weren't cleaned when changing
system. Date spans also could still be clicked after
being cleaned when changing solar system.
2022-10-05 22:15:07 +02:00
Krafpy b4085b6100 Added arrival date display. 2022-10-05 22:05:01 +02:00
Krafpy 908cf6387f Update .gitignore 2022-10-05 21:43:35 +02:00
Krafpy 05b02e217a Fixed missing parameter. 2022-08-21 21:27:28 +02:00
Krafpy 1a18412eff Reordering sun parameters. 2022-08-20 21:18:39 +02:00
Krafpy 6333f217c1 Added JNSQ atmospheres. 2022-08-20 21:12:55 +02:00
Krafpy 81e9869f3e Get atmospheres in CFG converter 2022-08-20 21:08:25 +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 ac1a99f7ae Commented trajectory-solver.ts 2022-08-20 15:32:52 +02:00
Krafpy 94ffa0d8b9 Update cfg-to-yml/style.css 2022-08-20 15:14:57 +02:00
Krafpy 337c1c26fc Combine with stock checkbox 2022-08-20 14:05:07 +02:00
Krafpy c75ba94cf8 Added insertion burn checkbox. 2022-08-20 01:34:02 +02:00
Krafpy e9f1ad8d81 Update cfg-to-yml/index.html 2022-08-19 17:04:54 +02:00
Krafpy f0d15ea36c Update README.md 2022-08-19 17:02:41 +02:00
Krafpy d4c2325ac1 Update index.html 2022-08-19 16:29:49 +02:00
Krafpy f9968fd139 Fixed relative path access ? 2022-08-19 16:18:03 +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 87ab83f70e Fixed JNSQ Moho sideral period. 2022-07-22 13:12:15 +02:00
Krafpy a62751faff Removed unused CSS. 2022-07-22 12:59:47 +02:00
Krafpy 6a31a2e80a Fixed selectors on system change. 2022-07-22 12:57:07 +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 4e771046fa Added JNSQ. 2022-07-21 23:53:05 +02:00
Krafpy a88aea6472 Added solar system selector. 2022-07-21 21:30:52 +02:00
Krafpy 9a8cba06e6 Refactored main loading. 2022-07-21 19:14:48 +02:00
Krafpy 8cd4410f42 Updated comment. 2022-07-17 12:21:18 +02:00
Krafpy 3e464e6a86 Updated index.html 2022-07-17 11:57:44 +02:00
Krafpy 475b0e9344 Missing comments. 2022-07-17 11:42:58 +02:00
Krafpy 4dfa483f6c Updated README.md 2022-07-17 10:20:51 +02:00
Krafpy c5009bd8bc Updated example picture. 2022-07-17 10:18:36 +02:00
Krafpy 7178bc2778 Implemented vessel sprite display. 2022-07-17 10:08:30 +02:00
Krafpy 3258cb098d Added pod sprite. 2022-07-17 09:01:23 +02:00
Krafpy 0f96aedf80 Commented trajectory.ts 2022-07-16 22:04:56 +02:00
Krafpy a569721f3c Starting mean anomalies for steps. 2022-07-16 21:35:31 +02:00
Krafpy a399f72d3b Fixed sprites display on slider change. 2022-07-15 16:07:42 +02:00
Krafpy b92cd8d8ed Maneuver sprite distance-based visibility. 2022-07-15 15:30:57 +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 b8ca14519e Added new sprites. 2022-07-13 22:59:36 +02:00
Krafpy 08f5d824d0 Iterative hasNaN. 2022-07-13 19:13: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 bded3bd1b2 Moved hasNaN to a new Utils namespace. 2022-07-12 10:48:33 +02:00
Krafpy ed9ab0cf6c Refactoring and improvement of the evolution.
- `ChunkedEvolver` has been moved to a namespace `Evolution` to avoid
useless member functions.

- The DE algorithm now uses a dynamic CR coefficient, which increases
exponentially from `minCrossProba` to `maxCrossProba` at a rate
defined by `crossProbaIncr`.
2022-07-12 03:07:39 +02:00
Krafpy 951038fd91 Fixed delta-V and fitness separation. 2022-07-11 19:45:20 +02:00
Krafpy 8795b09366 More visible trajectory lines. 2022-07-11 12:12:46 +02:00
Krafpy 49e638adf9 Developed rotate3 maths. 2022-07-10 17:26:36 +02:00
Krafpy 44beeeb1b5 Added flyby details display in maneuvers selector. 2022-07-10 02:06:52 +02:00
Krafpy f3b3263b86 Updated HTML text. 2022-07-08 19:05:33 +02:00