What a fun little project to further learning Python! I used the Processing program to provide a viewport on what is happening visually with the code.
Table of Contents
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.Â
This was a fun little project and continuation of learning what's possible in coding language combined with other software.
Software: https://processing.org/