Assignment 1

I have never written code before so after looking through Processing.org, I decided to first use a simple one.  The examples that I thought looked the most interesting were the ones that moved with the mouse.  So, I looked into the “mouseMoved ()” function and began to understand how it works. Below is an example that I wrote from looking at the language section of the Processing.org website:(Above) I showed several different images of what happens when you roll your mouse over.  As you can see from the code, the color, width, height, start, and stop point of the arc changes with to movement of the mouse. (Below) For our first week’s assignment, I played around with an example:

For this exercise, I chose the “follow 3” in which a segmented line follows the mouse. I changed the segment length to “15” and the stroke weight to “1” which made the line thinner and longer.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s