Monday 14 May 2012

processing - more experiments with code

Further experiments with processing after reading more into the software and how to use it i managed to script this code, as you move your mouse across the window lines are created from a constant point to slowly fill the screen.

  void setup() {
       size(300, 300);
       stroke(255);
       background(150, 300, 0);
     } 

     void draw() {
       line(200, 200, mouseX, mouseY);
     }







I created a screen recording to show the processing file in action because you cannot upload Java Applet into blogger, here is a quick example of it in use and what you can do with it.


1 comment:

  1. i am really impressed with what you are doing Cooper. Good job keep it up.

    ReplyDelete