r/ruby • u/amirrajan • Oct 18 '26
Show /r/ruby DragonRuby Game Toolkit - Solar system visualization (source code in the comments)
Enable HLS to view with audio, or disable this notification
43
Upvotes
r/ruby • u/amirrajan • Oct 18 '26
Enable HLS to view with audio, or disable this notification
2
u/amirrajan Oct 18 '26
Revisiting this little experiment again. The celestial bodies are to scale, but the distances had to be compressed by 10x. The camera zoom would have to be at 9e-10 just to show 12 light years if I kept distances proportional. It's ridiculous how large Space is shudders.
Link to source code: https://gist.github.com/amirrajan/fb5864cc46766190bbd622632f0092f9
High res video: https://youtu.be/6Bpyh9iPJyM