sketch that creates a starry night sky with twinkling stars that can be added by clicking the mouse.
This code creates a starry night sky where 100 stars randomly twinkle by changing brightness. You can click to add more stars or press 'r' to reset the sky with a new set of randomly placed stars.Â
I want to add a feature to make the sky gradient change to random colors when the right mouse button is pressed.
This gives users a way to create different atmospheric moods while keeping the stars visible. The sky colors are intentionally kept somewhat dark so the white stars will still stand out well.
This was a fun little project and continuation to learning python viewport and Processing 4.2
Claude AI: Code Debugging
Software: https://processing.org/