Astral Space Laboratory. My first large scale project. ASTRA will be built up from a core of a IAS15 (+GR soon) simulation of about 100 objects with a focus on accuray. Users will be able to add in a theoretical spacecraft into the scene and use a google maps style waypoint approach. where the user will say, 'gravity assist: jupiter' and my lambart solver will do the rest. I think this is kinda cool, but it is proving much harder than i first thought as i have never done a scope close to this.
Yo this is my first project in a while, so my C#/C++ is pretty rusty. So I had a go at simulating a black hole as its more maths focused than code focused. I used unity, but in hindsight i should have just learned open Gl or whatever. This all runs on the CPU which is a no go for what im planning to build next, so im gonna look into HLSL which should be manageable? IDK. THe method i used is by no means the right one, but i decided to make a ray class. In this they ray is propelled outwards, where i used polar coordinates with the origin set at the center of the black hole. If you want to simulate a blakc hole yourself do not look at this as it is not a good implementation. One issue I encountered alot was rays exploding at the x axis line (div 0 error I think), and you can see i tried to fix that but to limited success. But anyways I hope you think this final render is cool and have a good day!
js warming up and getting used to stuff yk