Introduction to Creative Exploration on the Web
Harvard Extension School

Geometric Illusion

Mega Hermawan

Project Details


Mega Hermawan


Feb 2017


The Bauhaus (Spring 2017)

Student Comments

Inspiration: László Moholy-Nagy, A 18, 1927 Harvard Art Museums/Busch-Reisinger Museum, Museum Purchase, BR50.416

I chose this art because I am always interested in Geometric patterns and art. I wanted to create the drawing as a baseline so I jotted down the different shapes on this art and identified the x and y coordinates. I created my canvas and started drawing my shapes. My 3 background shapes (2 quads and a triangle) overlapped. It took me some time to nail down the positioning techniques. However, it was a smooth sail once I got the hang of it.

After I drew all the shapes and lines, I noticed that I repeated the same numbers multiple times in my code so I used variables in my code. I wanted to generate random color but I hit a technical difficulty. My statement did not work but I was able to get the right statement from Prof.Hebert.

I used for loops, a mouse and keyboard events to make the sketch more interactive. The for loops are used to draw multiple lines to create a pattern. I used a mouse event to draw a smaller circle with 2 different color depending on the mouse button that you pressed. A keyboard event is also used here to change the color of my brown quad to yellow.