Creative Coding

CMU SAMS 2018

Night Sky

Elizabeth Tran

Flashing warning.

I designed this sketch because I wanted to create a cool yet meaningful 3D rotating object. Using two spheres, an inner and outer, and a torus rotating around the two spheres, I was able to create a planet with a ring that resembles Saturn, one of my favorite planets. The inner sphere is rotating on its own with a blue color scheme that switches every second. The mouse movement also plays a role in this design because as the mouse moves left, right, up, and down, the torus and the two spheres will start to rotate in a certain behavior as well. I added flickering stars in the background because I wanted the audience to feel as though the planet is moving through space as the stars pass by it. Using push and pop, translate, rotate, and mouse movement, I was able to create this artwork from scratch. As I kept on experimenting and adding more details to the work, the work finally came together after the second day.

Source code