Processing.01

I've been working in Processing language for a while, and here is my first visual attractive script - was made in 2012. Is kinda simple and attractive. Done this by mixing code from a few examples of the book 'Learning Processing' from Daniel Shiffman, that is a cool start and very explicit 'bible' to learn Processing.

You can easly learn Processing, if you are familiar with C like language such as C++, PHP, etc.


Just Drag your mouse on the with canvas to interact.

void setup() {
  size(884, 400); 
  background(255);
  smooth();
}

void draw() {
  strokeWeight(abs(mouseX-pmouseX));  
  stroke(100,abs(mouseX-pmouseY),abs(mouseY-pmouseX));
  line(pmouseX, pmouseY, mouseX, mouseY);
}