I hereby claim:
- I am slambert on github.
- I am stevelambert (https://keybase.io/stevelambert) on keybase.
- I have a public key ASBVJPsbro8cxigN8nuHW0zEjbjG_sVdjEI-MCRLxlo6Cgo
To claim this, I am signing this object:
| // Constrain vs map v1 | |
| // Steve Lambert 2016-09-20 | |
| // variables | |
| int ball1fill; // ball #1 fill color | |
| int ball2fill; // ball #2 fill color | |
| void setup(){ | |
| size(500,300); | |
| background(0); |
| // declare boolean variable | |
| boolean switchstatus = false; | |
| void setup(){ | |
| size(500,500); | |
| background(0); | |
| } | |
| void draw(){ | |
| // Demo of println and ellipse v0.1 | |
| // Steve Lambert January 31, 2018 | |
| /* Todo: | |
| */ | |
| void setup() { | |
| size(200,200); | |
| background(0,255,0); // green | |
| println("hi, the program started"); |
I hereby claim:
To claim this, I am signing this object:
| import gab.opencv.*; //Loads OpenCV library | |
| import processing.video.*; // Loads video library (Capture, playback) | |
| import java.awt.*; //Loads Java library | |
| Capture video; // Creates a new Video/Capture Object | |
| OpenCV opencv; // Creates a new OpenCV Object | |
| void setup() { | |
| size(640, 480); | |
| video = new Capture(this, 640/2, 480/2); |
| // Game Controller Example | |
| // Steve Lambert around November 24, 2015 | |
| // import libraries | |
| import net.java.games.input.*; | |
| import org.gamecontrolplus.*; | |
| import org.gamecontrolplus.gui.*; | |
| import processing.sound.*; | |
| // sine osc |
| /* | |
| Changes speed of a sound file up to 3 times forward or backward | |
| use with an analog input. | |
| Remember to add youw own sound file | |
| Reconfigure to use whatever analog input you like | |
| Steve Lambert November 24, 2015 | |
| */ | |
| // Variables | |
| float knobPos = 500; |
| /* | |
| This is a sample sketch I made to work with the Griffen Tech knob. | |
| You can alter it to use any input. | |
| The sounds are all generated with the sine wave generator in Processing. | |
| Steve Lambert November 24, 2015 | |
| */ | |
| float sineFreq = 440; | |
| float sineFreqPast = 440; | |
| float sineAmp = 1; |
| // Alex's spot sketch. | |
| // It could use more comments. | |
| // Steve Lambert 2015-11-02 | |
| Spot[] spots; // Declare array | |
| float gravity = 0.005; | |
| float r; | |
| float g; |
| /* A sketch that has states and a timebased slideshow | |
| Steve Lambert October 27, 2015 | |
| v.01 | |
| Note: insert your own images to make it work. | |
| */ | |
| float time; | |
| float currentTime; |