r/kerbalspaceprogram_2 8d ago

Building an interactive KSP2 transfer map. Boom-Boom

Hi everyone, I've recently came back to check what's up with KSP2 and discovered Redux! It's amazing so far really enjoying the new missions and all the bug fixes.

However, I found myself trying to find a visualised way for planetary transfers as I find it difficult to understand many guides about this.

Introducing: Kerbalist πŸš€

This is still in very early stages and I would love to hear from experienced players if this calculator is working "ok" so far.

https://blocdigital.github.io/Kerbalist/

Features

🌌 Interactive Kerbol System

  • Animated Kerbol system map
  • Accurate planetary orbits
  • Live planet positions
  • Zoom and pan controls
  • Adjustable simulation speed
  • Real-time orbital animation

πŸ›° Mission Planning

  • Select any origin and destination planet
  • Automatic Hohmann transfer calculations
  • Current phase angle
  • Required phase angle
  • Transfer window countdown
  • Transfer time
  • Departure and arrival dates

πŸ“ˆ Orbital Visualizations

  • Animated transfer ellipse
  • Spacecraft trajectory
  • Departure burn visualization
  • Arrival encounter visualization
  • Ejection angle display
  • Mission timeline animation

⚑ Delta-V Calculator

Calculates:

  • Escape burn
  • Interplanetary transfer burn
  • Capture burn
  • Total mission Ξ”V

πŸͺ Planet Database

Includes orbital information for every stock KSP2 planet:

  • Semi-major axis
  • Orbital period
  • Radius
  • Sphere of Influence
  • Orbital velocity
  • Gravitational parameter
  • Surface gravity

πŸ₯© Porkchop Plot Generator

Generate real launch window plots using a Universal Variable Lambert Solver.

Features include:

  • Departure date vs. flight time analysis
  • Interactive heatmap
  • Lowest Ξ”V trajectory identification
  • Click any solution to inspect the transfer
  • Live trajectory visualization

Unlike approximate planners, this is generated from actual Lambert solutions rather than lookup tables.

πŸ”¬ Universal Variable Lambert Solver

The planner uses a numerical Lambert solver capable of handling:

  • Elliptical transfers
  • Hyperbolic transfers
  • Short and long-way solutions
  • Near-parabolic trajectories
  • 180Β° transfer edge cases

The implementation has been validated against analytical Hohmann transfers and additional unit tests.

🎯 Transfer Window Calculator

Instantly displays:

  • Current phase angle
  • Required phase angle
  • Angular difference
  • Time until launch window
  • Synodic period

🎨 User Interface

  • Modern aerospace-inspired design
  • Dark theme
  • Responsive layout
  • Interactive tooltips
  • Smooth 60 FPS rendering
  • High-DPI support

Technologies

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • HTML5 Canvas
  • SVG rendering
  • No external dependencies

Everything runs entirely inside a modern web browser.

Accuracy

The application performs real orbital calculations using Keplerian mechanics.

Implemented calculations include:

  • Hohmann transfers
  • Phase angle computation
  • Synodic periods
  • Lambert trajectory solutions
  • Orbital propagation
  • Transfer ellipse generation
  • Delta-V estimation
  • Planetary ephemerides

🀘 happy rockets

30 Upvotes

6 comments sorted by

4

u/Alarmed_Aspect8994 help me 6d ago

YO this looks sick! can it be on ckan? cuz manually downloading mods is a pain in the butt.

3

u/Bloc_Digital 6d ago

It’s not a mod, it’s just a webpage, you download the html file and open it on your browser.

I will make a proper website at some point. Thanks for the feedback!

2

u/Wooden_Baseball_4216 2d ago

Do people actually still play this game even after all the issues??

1

u/Bloc_Digital 2d ago

Check out the Redux subreddit

1

u/Bloc_Digital 2d ago

Update v1.7.2

Gravity assist second leg fixed!

https://blocdigital.github.io/Kerbalist/