Cinematic Star Life Cycle Animation
Write code to create a movie showing a star being born, growing old, and finally exploding in space.
Prompt
In a single HTML file, I want you to create an educational video about "The Life Cycle of a Star." But listen closely: I do not want a slideshow. I do not want a presentation where I have to click "Next."
I want a continuous, flowing animation that looks exactly like a video. It should play automatically from start to finish.
Start with a dark void, then show a swirling Nebula of gas particles gathering together.
Smoothly transition into the ignition phase where it bursts into a bright main-sequence Star.
Then, show it expanding and turning red into a Red Giant.
Finally, trigger a massive Supernova explosion that fades into a Black Hole.
The text explanations should float and fade in nicely at the bottom like subtitles in a movie. The camera should zoom and pan slowly to make it feel cinematic. Everything–the timing, the particle effects, and the transitions–must be scripted to run automatically in this one code block. make sure you add full movie documnetary type sound vocals and full captions.