This file contains 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
/* | |
Code Development Team | |
DIGF 2005 - Atelier II | |
Professor Nick Puckett | |
Tuesday January 23, 2018 | |
NANO COMMUNICATION CODE | |
This code allows Nanos to read information from the serial port sent | |
from the control panel, and display corresponding images/animations on | |
the OLEDs. |
This file contains 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.*; | |
PImage album; | |
float tracks; | |
Minim minim; | |
AudioPlayer uno; | |
void setup() { | |
size(510,510); | |
album = loadImage("Blond.jpg"); // load the image, but make sure the image is 300 x 300, fix the resolution using Photoshops 'script' function |
This file contains 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
var positions =[]; | |
var Hello = { | |
you: "good", | |
weather: "today?", | |
status: undefined | |
}; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); |
This file contains 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 netP5.*; | |
import oscP5.*; | |
OscP5 oscP5; | |
NetAddress destination; | |
int bgcolour; | |
ArrayList<OscMessage> positions = new ArrayList <OscMessage>(); | |
void setup() { | |
fullScreen(); |
This file contains 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.*; | |
import ddf.minim.ugens.*; | |
import netP5.*; | |
import oscP5.*; | |
OscP5 osc; | |
Minim minim; | |
AudioOutput out; | |
Oscil wave; |
This file contains 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 netP5.*; | |
import oscP5.*; | |
OscP5 osc; | |
float xval = 0; | |
float yval = 0; | |
float ellsize = 30.0; | |
void setup(){ |
This file contains 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
/* | |
Mad Samurai Beat Machine | |
Group members: Tristan Santos, Harit Lad, William Selviz | |
DIGF-2004-001 | |
This is the Processing code that talks to Arduino via Arduino Firmata. | |
The code uses two libraries, Minim and Arduino Frimata, and allows us to use the Arduino | |
as an input and the laptop (Processing) as a output. |
This file contains 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 pad0 = 2; | |
int pad1 = 3; | |
int pad2 = 4; | |
int pad3 = 5; | |
int pad4 = 6; | |
void setup() { | |
Serial.begin (9600); | |
pinMode(pad0, INPUT); | |
pinMode(pad1, INPUT); |