Night Sky Animation

Night Sky Animation

I just wanna share this visual programming I did couple of months ago. Earlier I was browsing random stuffs in my document folders then I found this Processing program. It’s entitled “Night Sky”.

It reminds me how great the feeling is whenever your code turns into something spectacular.

Thanks to Processing, I was able to easily apply some cocenpts of image processing, specifically:

Perlin Noise – used for the clouds/fog/nebula. Also used to make the moon look cheesy.
Fractal Algorithm – Tree and grass generation. Love et!
Gaussian Random Number Generation – used for each of the location of the start to make them look like accumulating at the center.

Looking forward to creating another one of this when I get free time. 🙂

Leave a Reply