BlackHole Simulation
- 5 Devlogs
- 7 Total hours
A simulation of a black hole using python
A simulation of a black hole using python
Howdy everyonee! This afternoon i decided to SCRAP EVERYTHING AND START OVER AND FINISH THIS MUEHEHEHE, with the help of some prior research and experimenting I FINALLY CREATED THE BLACKHOLE SIMULATION.
I completely scrapped the stippled IBM 1979 idea instead i used a different method!
Hii everyone im back with more updates mueheheh! now this looks much more cooler than before ikik im so amazing and… nvm im being weird again lol! anywho! sooo i am using the ray tracer engine like before and i added some changes to the code to make it look even better like promised!
I added a glowing ring right around the event horizon, so the black hole pops even more!
Earlier in the code the whole colors looked blotchy but this time i made it look more seamless and better!
you have to admit, this looks WAYYY cleaner than before and more cooler and yayyyy! im so hepy!! 
So in the end we are getting more closer to the agenda of the IBM 1979 Luminet simulation, tho i would not wanna copy it whole since yk i wanna make this a bit of my own!
Make this look even more accurate since the physics engine is working phew
Alrighty everyone!sorry didnt post a devlog sooner, yk exams happened. ANYWAYS! i decided that the cereal looking wtv that was really pissing me off and besides looking at that thing was making me really demotivated so today i decided to change everything and instead of that weird thing i changed it to a ray tracer!
the code previously only produced a flat ring, but now it looks like its bending light in the gravitational field. that means that its better than that cereal thing (yes i hated that with my whole heart, idk what made me think it looked cool).
it looks retro (inspired by luminets IBM supercomputer 1979 simulation yess) i know ball ikik.
i fixed it a bit

honestly idk atp lets see what happens
(yes i discovered emojis on here js now dont judge me)
P.S this thing actually like “rotates” meaning that the dots you see move so like it looks sickk muehehe
Today I spent the day learning about the basic maths and fundamentals that i would need to understand how to simulate a black hole since i realized that my simulation rn doesnt look like a blackhole, and instead looks like im playing with cereal ngl.
Todays agenda was to understand the geometry and physics behind Black Holes and the math on a high school level understanding, enough to code a bit more accurately, i made a txt file in the Project Folder too so that i could keep track of all the things i understood.
I used the Schwarzschild Metric equaiton (yes the brian greene one, i know its inaccurate) in this case, and understood basically how we measure intervals in 4D space, and understanding the coefficients in the equation, although its inaccurate considering black hole actually spins and the equation that Brian Greene had upoladed assumed it as a non spinning and uncharged sphere in space, but all i needed was to know the coefficients so that i could understand the Matrix
So basically in this part, in the video i watched, we used Metric Tensors to actually ploth the graph and to define the space-time warping, so that i could simulate the effects on the simulation when im coding
I used this too muehehe it was a ScienceClic video, couldnt understand much, thought about noting some equations down in my notebook but oh well, i dont think ill be using them, tho to approach the black hole and the simulation of it, i would need to ask AI since again im not a PhD level student and im dumbo too, but oh well im very ambitious so yeahh.
my next agenda would be to figure how to incorporate these infos and maths parts into the code to make it look more realistic and accurate, so probably ill be using books and AI to understand that!