This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import processing.net.*; | |
| Client cli; | |
| String incoming; | |
| int startX; | |
| int startY; | |
| int endX; | |
| int endY; | |
| color myColor = #ffcc00; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ddf.minim.analysis.*; | |
| import ddf.minim.*; | |
| Minim minim; | |
| AudioPlayer jingle; | |
| FFT fftLin; | |
| float height3; | |
| float height23; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PImage sourceImg; | |
| PImage modifierImg; | |
| PImage resultImg; | |
| void setup() { | |
| size(500,500); | |
| noLoop(); // disables draw function | |
| sourceImg = loadImage("bruce.png"); | |
| modifierImg = loadImage("modifier2.png"); // need to supply gradient image containing red and green channel values | |
| resultImg = createImage(width,height,RGB); | |
| background(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.onformative.leap.LeapMotionP5; | |
| import com.leapmotion.leap.Finger; | |
| import com.leapmotion.leap.Frame; | |
| LeapMotionP5 leap; | |
| void setup() { | |
| size(500, 500); | |
| leap = new LeapMotionP5(this); | |
| frameRate(100); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // VCD 293 Design by Code | |
| // Week 3 Workshop Example | |
| // Arrays, Colors, Random | |
| // Made with processing | |
| color[] colors = { #28251E, #49B4A2, #8FD783, #CEEF24, #E9DEC0 }; | |
| void setup() { | |
| size(600,600); | |
| background(255); |
NewerOlder