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
/* A sketch that has states | |
Steve Lambert October 27, 2015 | |
v.01 | |
Note: Add your own images | |
*/ | |
int state; |
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
int x = 0; | |
int speed = 5; | |
PImage img; //this is the name of the pictures in this file | |
PImage img1; | |
PImage img2; | |
PImage img3; | |
PImage img4; | |
PImage img5; | |
PImage bg; |
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
/* Slideshow Sketch | |
Steve Lambert October 27, 2015 | |
v.01 | |
Note: Add your own images in a data folder to make it work | |
*/ | |
float time; | |
float currentTime; |
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
{ | |
"added_words": | |
[ | |
"Duncombe", | |
"Eyebeam" | |
], | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_delay": 50, | |
"auto_complete_selector": "source - comment", |
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
// Place your settings in the file "User/Preferences.sublime-settings", which | |
// overrides the settings in here. | |
// | |
// Settings may also be placed in file type specific options files, for | |
// example, in Packages/Python/Python.sublime-settings for python files. | |
{ | |
// Sets the colors used within the text area | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
// Note that the font_face and font_size are overridden in the platform |
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
/* | |
Version .03 | |
A timer to show people how long they have talked. | |
## 2015-10-08 14.27.11 | |
- fix last bit of red? | |
*/ | |
// Variables | |
int time; |
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
// A sketch thet uses objects and classes with two bouncing balls | |
// Steve Lambert | |
// declare objects | |
Ball ball1; | |
Ball ball2; | |
// initialize variables | |
float gravity = 0.1; // gravity! |
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
/* | |
Robot with Red Eyes with functions | |
Steve Lambert | |
Originally written sometime in 2012 | |
* * * | |
This Processing Sketch is an example of one way to use functions. | |
*/ | |
// Notice I have declared no global variables - I don't need them! |
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
// Centipede | |
// Steve Lambert | |
// September 23, 2015 | |
// v0.1 | |
int xPos = 15; // global variable | |
float greg = 15; // initialized at 15, so it shows up where I want it the first time | |
void setup() { | |
size(500,500); |
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
/* | |
Steve Lambert | |
Super Stunning Psychedelic Booleans | |
September 15, 2015 v0.2 | |
Done with an IF/ELSE statement | |
*/ | |
void setup(){ | |
size(800,600); // how big it is, you know this. | |
println("Welcome to Steve's Psychedelic Light Show"); |