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 gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
PImage b; | |
Capture video; | |
OpenCV opencv; | |
void setup() { | |
size(640, 480); |
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
// Time Demo | |
// set a time and see red flash 5 seconds later. | |
// v 0.2 | |
// Includes text on screen | |
// Steve is the best | |
// It seems he can do anything. | |
// March 23, 2017 | |
int startTime = 0; | |
int currentTime = 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
// from https://processing.org/reference/PImage.html | |
float rotateA; // how fast imageA rotates | |
float rotateB; // how fast imageB rotates | |
PImage photovcr; // A VCR | |
PImage photoDC; // Dabney Colemen | |
void setup() { | |
imageMode(CENTER); // rotate from the center! |
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
// Modulo Example w start screen | |
// Steve Lambert March 8, 2017 | |
// v0.1 | |
// initializing variables | |
int interval; // how often changes | |
int xPos; | |
int yPos; | |
int circleW = 50; |
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
/* Function with Return Sketch */ | |
// VARIABLES | |
color red = color(231, 29, 36); | |
color orange = color(255, 113, 31); | |
color yellow = color(255, 255, 31); | |
color green = color(0, 160, 31); | |
color blue = color(0, 129, 255); | |
color purple = color(127, 0, 255); |
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
void setup() { | |
//fullScreen(); | |
size(600, 600); | |
strokeWeight(5); | |
stroke(255,0,0); | |
} | |
void draw() { |
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
/* Switch Sketch | |
Steve Lambert | |
*/ | |
// declare boolean variable | |
boolean switchstatus = false; | |
int circleWidth = 30; | |
void setup(){ |
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
/* | |
Color Palette example sketch | |
Steve Lambert 2017-02-09 | |
*/ | |
// My Pallette | |
// Taken from https://color.adobe.com/Aspirin-C-color-theme-251864/edit/?copy=true | |
color darkBlue = color(34,83,120); | |
color medBlue = color(22,149,163); |
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 cc.arduino.*; | |
import org.firmata.*; | |
import processing.serial.*; | |
Arduino arduino; | |
/* | |
Random Line Drawer v03 | |
Makes line that climbs and falls using a GSR sensor |
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 gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
PImage b; | |
Capture video; | |
OpenCV opencv; | |
void setup() { | |
size(640, 480); |