Files
KSP-MGA-Planner/README.md
2021-08-18 12:05:52 +02:00

2.0 KiB

Multiple Gravity Assist Trajectory Planner for KSP

An online tool providing automatic design of trajectories with multiple gravity assists for Kerbal Space Program.

Example trajectory

Dependencies

This project was developed on Visual Studio Code.
It requires type definitions for THREE.js, Chart.js and js-yaml. They can be obtained with the following commands:

npm install --save-dev @types/three
npm install --save-dev @types/js-yaml
npm install --save-dev @types/chart.js

This project also includes THREE.js example classes for line rendering and camera control. In order to have the TypeScript compiler recognize them, the following lines must be addded to node_modules/@types/three/src/Three.d.ts:

/* Examples imports */
/* Example lines */
export * from '../examples/jsm/lines/Line2';
export * from '../examples/jsm/lines/LineGeometry';
export * from '../examples/jsm/lines/LineMaterial';
/* OrbitControls */
export * from '../examples/jsm/controls/OrbitControls';

Used resources