Monica - E

By Monica Harvancik
//to help desma students in color class. //if the mouse is pressed, it eminates lines representative of the color wheel. //when the mouse is released, the circle behind the lines fluctuates //in color giving those needy desma kids a simple way to compare various //color schemes side by side! : ) void setup (){ size (400,400); background(255); smooth(); } void draw(){ if (mousePressed ==true){ int a = int(random(200,200)); strokeWeight(5); stroke(mouseX,mouseY, pmouseX-pmouseY); frameRate(16); line(mouseX, mouseY, a,a); }else { int b = int(random(200,200)); ellipse(200,200,400,400); noStroke(); fill(mouseY, mouseX, b, 40); }}

One Comment

  1. Posted October 16, 2008 at 10:11 am | Permalink

    Interesting idea to make a radial drawing tool and the context of color class is interesting. Watch the borders, the clipping distracts from the exercise.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*