Monday, 2 November 2009

Week 2 Workshop

During the week 2 workshop, we wer instructed to play about with the Processing software. This is something that I have used before and I am very familiar with so it was more just refreshing my Processing mind!

Our lecture showed gave us a simple code which was:
void setup(){
size(500,500);
frameRate(5);
println("helloworld");
}
void draw(){
background(255);
fill(0);
ellipse(mouseX,mouseY);
}

This gave us a box with a white background, that had a black circle positioned wherever the mouse was positioned.

We were also instructed to create our own environment, using lines to bring to the next lecture. Here's what I was able to come up with...


There wasnt any major difficulties, only the fact that you have to manually work out where exactly you want your lines to be placed as four X,Y points need to be declared (start and finish of line) and if you want to ensure the image is symmetrical you then have to do a bit of maths

No comments:

Post a Comment