Supernova or Black Hole: Using Code to Investigate the Death of a Star
by meral23 in Workshop > Science
359 Views, 2 Favorites, 0 Comments
Supernova or Black Hole: Using Code to Investigate the Death of a Star
![Black.Hole,Extremal.Kerr.Newman,Raytracing.png](/proxy/?url=https://content.instructables.com/FT2/GB4E/LEFORBXF/FT2GB4ELEFORBXF.png&filename=Black.Hole,Extremal.Kerr.Newman,Raytracing.png)
![michell_001.jpg](/proxy/?url=https://content.instructables.com/FVO/SY1N/LEFORC0F/FVOSY1NLEFORC0F.jpg&filename=michell_001.jpg)
Black holes are planes inside of space where not even light or electromagnetic waves can escape. The first mention of what would be known as a black hole was by John Mitchell.
Supplies
![Screenshot 2023-02-22 124036.png](/proxy/?url=https://content.instructables.com/F6O/CWGM/LEFORBWK/F6OCWGMLEFORBWK.png&filename=Screenshot 2023-02-22 124036.png)
The only thing you will need is Tinkercad. If the images are not enough to follow step to step, you can follow along using this link. https://www.tinkercad.com/codeblocks/9TiRm6YEUBh
Large Star
![Screenshot 2023-02-16 132102.png](/proxy/?url=https://content.instructables.com/F3R/37MN/LEFORCGS/F3R37MNLEFORCGS.png&filename=Screenshot 2023-02-16 132102.png)
![Giant_Star_HD_47536.jpg](/proxy/?url=https://content.instructables.com/F4K/XY37/LEFORCJ6/F4KXY37LEFORCJ6.jpg&filename=Giant_Star_HD_47536.jpg)
This code creates a large sun. As times goes on, a large enough sun becomes brighter and more red until it is ready to supernova. A supernova happens when the sun uses up all of the fuel it has and begins to cool. The code also moves the sun away for when you need to create the supernova. When a star becomes too large, it either supernovas or it collapses in on itself and becomes a black hole.
Super Nova
![moving.png](/proxy/?url=https://content.instructables.com/FKF/4FFZ/LEFORCG2/FKF4FFZLEFORCG2.png&filename=moving.png)
![supernova.png](/proxy/?url=https://content.instructables.com/FXC/HIZ5/LEFORCLZ/FXCHIZ5LEFORCLZ.png&filename=supernova.png)
When the large enough sun has used up enough of its fuel, it supernovas into a beautiful sight. This code creates several orbs and moves their X,Y,Z coordinates to different positions between -100 and 100 so no orb is overlapping each other.
Black Hole
![blackhole.png](/proxy/?url=https://content.instructables.com/FJ4/1BAN/LEFORCI5/FJ41BANLEFORCI5.png&filename=blackhole.png)
![image.png](/proxy/?url=https://content.instructables.com/FDA/ERVV/LE745EHJ/FDAERVVLE745EHJ.png&filename=image.png)
What is currently known about black holes is that they are formed when a large star collapses on itself.
This code forms a black hole from the supernova beforehand.