this post was submitted on 13 Apr 2026
2 points (100.0% liked)

Open Source

46777 readers
404 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
all 17 comments
sorted by: hot top controversial new old
[–] KoboldCoterie@pawb.social 0 points 1 month ago (2 children)

Mark my words, someone's going to make a video game with 100% historical accuracy with this.

[–] Cethin@lemmy.zip 0 points 1 month ago* (last edited 1 month ago) (1 children)

You can automate control of your craft in KSP with a mod. All you need is to have it send the data to the Apollo computer and then send the output to the craft. It should probably work with the real solar system mod.

Now that I saw this though, I swear I saw this exact video already. Scott Manley or someone may have already done this.

[–] bl4ckp1xx13@lemmy.dbzer0.com 0 points 4 weeks ago (1 children)

If that works with the real solar system mod that is honestly the finest testament KSP can get for its mathematical accuracy.

[–] NocturnalMorning@lemmy.world 0 points 4 weeks ago (1 children)

KSP is not mathematically accurate and it can't be or it would have trouble running on computers. They split up and use simplified 2 body dynamics in the game.

We use super computers to model the n-body problem bcz of how complex it is.

[–] bl4ckp1xx13@lemmy.dbzer0.com 1 points 4 weeks ago

Of course, NASA ain’t modelling actual missions in KSP.

I imagine KSP is simple Newtonian physics which is accurate at macro-scales, whereas obviously NASA is going to use Einstein’s equivalent. Far more computationally intense but really important once you scale up the small errors in Newton’s equations.

[–] darklamer@feddit.org 0 points 1 month ago (1 children)

This code was first published 10 years ago, but I haven't seen any such game yet.

[–] fakeman_pretendname@feddit.uk 0 points 1 month ago (1 children)

They'll get round to it. They're doing the graphics first. They're currently making individual 3D models of "all the stars".

[–] starman2112@sh.itjust.works 0 points 1 month ago* (last edited 1 month ago) (1 children)

I'm not a computer graphics guy, but I wanna math. Theoretically, if I wanted to make the smallest possible 3d model, I would define it as four interconnected points. Each point has x, y, and z coordinates, so each model takes a theoretical minimum of 12 bytes of storage. Someone who knows computers can correct me if I'm off by a bunch.

The lower estimate is around 100,000,000,000 stars in the Milky Way. That's only 1.2 terabytes worth of my theoretical minimum 3d model. Doable! But you said all stars. The lower estimate is around 10^22 stars in the universe. That would be 120 zettabytes. That's only a few orders of magnitude off from the total available worldwide datadata storage!

Edit: I might have thought of a way to define a 3D model in just 2 bytes. You need four points that each have values for x, y, and z. They don't need 256 possible values for those, they can get by with two each. One bit can store two possible positions, so we can use as little as two bytes to define every point's position with 4 bits to spare. Behold, a tetrahedron: 0000 0100 1010 1110

Each set of four digits defines the x, y, and z coordinates for each point, as well as one extra dimension. You could use those extra four bits however you want. An extra spatial dimension, defining a color, etc. The theoretically smallest possible 3D model. Take the numbers I said up there and divide them by 6. A model for every star in the universe, and it would only take 20 zettabytes.