atomspherePlanet

Description

  • Source Code & Documentation

  • Github

I got this idea by experimenting with having each pixel's color determined by its x, y coordinate. A apply a two-dimensional function to each pixels coordinates in order to determine it’s grayscale value (with 0 being black and 255 being white). Specifically the function takes the product of x and y and then maps this value relative to the product of (screen width - 1)  * (screen height - 1), the maximum possible product, divided by some variable. The animation occurs from modulating this variable over time.  Additionally, a color changing algorithm determines a general hue for the pixels each frame.