Tuesday, October 17, 2017

project 4.2

Here is my interactive script inspired by Jackson Pollock.  I learned how to use random and tried very hard to use pernil noise to have gradual changes in random stroke widths.  But I never could get pernil noise to work so it is still on the random setting

Processing 
  • void setup() {
      size(640, 360);
      background(102);
    }

    void draw() {
      strokeWeight(random (25));
     
      if (mousePressed == true) {
        line(mouseX, mouseY, pmouseX, pmouseY);
      }
    }

No comments:

Post a Comment