Supernova or Black Hole: Using Code to Investigate the Death of a Star
by meral23 in Workshop > Science
334 Views, 2 Favorites, 0 Comments
Supernova or Black Hole: Using Code to Investigate the Death of a Star
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
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
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
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
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.