Creative Coding

CMU SAMS 2018

Matrix

Jasmine Yew

After realizing that I have an obsession with rainbows, I’ve decided to make the theme of my sketches colorful. In addition, I really enjoy working with 3-dimensional objects. However, since I was unsure of what to create, I began using for-loops to create 3-dimensional objects with random colors. Eventually, I ended up with this sketch, Matrix. At first glance, viewers will immediately see several rotating spheres, where each sphere has a different color and the background constantly changes from light to dark. By pressing any key on the keyboard, a pink cube appears in the center of the sketch. By clicking the mouse, a sphere with red and white outlines also appears in the center of the sketch. If the viewer looks closely at the sketch, they will also notice that there are several cubes hidden in the background that appear and disappear depending on the color of the background. In addition, as the viewer looks longer at the sketch, they will see several different interactions between the outlines of the shapes.

Source code