Processing: The Beginning

0 Comments
Today we began to use Processing, writing code to create images. The idea was to create small manipulations to a form to create new variations, without breaking the true form. This is effectively pushing the boundaries of the chosen form.

Having studied Comp102 last trimester I had a slight advantage when we began learning about variables. As we wrote code to create lines and other various shapes, I felt familar with this work and went straight into code writing.






The image I created was originally built using five rectangles and four lines using the variables wid1, hei1, xp, yp. These stood for width1, height1, x-position and y-position.

I then decided to create another image with slightly harder specifications. I decided to draw a 3D cube using only the line feature, not the rectangle feature. This was slightly trickier as I had to work out the placement of the starting x-position and y-position and the ending x-position and y-position.




 The hard part of this creation was figuring out where to create the 3D aspect, although afterwards, I learnt that there was a 3D feature to Processing, however we do not learn it.









You may also like

No comments:

Powered by Blogger.