Skip to content

Instantly share code, notes, and snippets.

View Cat Animation
Code Development Team
DIGF 2005 - Atelier II
Professor Nick Puckett
Tuesday January 23, 2018
This code allows Nanos to read information from the serial port sent
from the control panel, and display corresponding images/animations on
the OLEDs.
TRNT7 / Album_Pixelated_w waveform
Created Oct 26, 2017
Both using Album_pixelation but have different interactions
View Album_Pixelated_w waveform
import ddf.minim.*;
PImage album;
float tracks;
Minim minim;
AudioPlayer uno;
void setup() {
album = loadImage("Blond.jpg"); // load the image, but make sure the image is 300 x 300, fix the resolution using Photoshops 'script' function
View Spinner_X_JSON
var positions =[];
var Hello = {
you: "good",
weather: "today?",
status: undefined
function setup() {
createCanvas(windowWidth, windowHeight);
View OSC_abstract
import netP5.*;
import oscP5.*;
OscP5 oscP5;
NetAddress destination;
int bgcolour;
ArrayList<OscMessage> positions = new ArrayList <OscMessage>();
void setup() {
View mtp_sound
import ddf.minim.*;
import ddf.minim.ugens.*;
import netP5.*;
import oscP5.*;
OscP5 osc;
Minim minim;
AudioOutput out;
Oscil wave;
View mtp_refine
import netP5.*;
import oscP5.*;
OscP5 osc;
float xval = 0;
float yval = 0;
float ellsize = 30.0;
void setup(){
TRNT7 / Mad Samurai Beat Machine
Created Sep 28, 2017
This for the Final Prototype for the Atelier class. Basically it's trigger with a split ground wire and when the circuit is complete it allows the track in the code to play.
View Mad Samurai Beat Machine
Mad Samurai Beat Machine
Group members: Tristan Santos, Harit Lad, William Selviz
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.
View Arduino Input (single) test
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);