OpenProcessing Senior Project
This was my Senior Project from college. The concept was using the Java-based programming language called Processing, a coding language made for designers, to create several projects with help from the opensource community. I wanted to explore the idea of building upon and combining simple code written by others to create new, more complex projects. Below are videos of a few of the more interesting ones. Unfortunately, these mini-programs were written with code that no longer runs in-browser, so they need to be downloaded and unzipped in order to run. No unwanted bloatware bundled in with these, I promise!
Once downloaded and unzipped, open the folder and run the executable. Once it loads, just start clicking and see what happens!
Note: Careful with your speakers! Some of these have sound. If at first it doesn’t run, try again. You may need to give it permission/confirm that the file can be trusted to run it on your computer.
Here is some of the code for the Layered Discs program. This program sets up a blank canvas. When you click and drag over it, it draws randomly sized circles, in a random gray tone, following your cursor. It also reflects that circle horizontally, creating an almost Rorschach effect. Depending on what keys you have pressed, it will also draw the circles in different colors.
//"Layered Discs"
//Valerie Nelkin
//Senior Honors Project 2010
import processing.pdf.*;
float r;
boolean record;
void setup() {
size(900, 900);
smooth();
strokeWeight(3);
background(196);
}
void draw() {
stroke(random(150));
fill(random(100));
if (keyPressed) {
if (key == ' ')
{
background(196);
}
if (key == 'b') {
stroke(random(50),random(50),random(255));
fill(random(50),random(50),random(255));
}
if (key == 'r') {
stroke(random(255),random(50),random(50));
fill(random(255),random(50),random(50));
}
if (key == 'g') {
stroke(random(50),random(255),random(50));
fill(random(50),random(255),random(50));
}
if (key == 'a') {
stroke(random(255),random(255),random(255));
fill(random(255),random(255),random(255));
}
}
if (mousePressed) {
r = random(0, 100);
if (mouseButton == LEFT) {
ellipse(mouseX, mouseY, r, r);
ellipse(width-mouseX, mouseY, r, r);
}
if (mouseButton == RIGHT) {
ellipse(mouseX, mouseY, r, r);
ellipse(width-mouseX, mouseY, r, r);
ellipse(mouseX, height-mouseY, r, r);
ellipse(width-mouseX, height-mouseY, r, r);
}
if (mouseButton == CENTER) {
ellipse(mouseX, mouseY, r, r);
ellipse(mouseX, height-mouseY, r, r);
}
}
if (record) {
endRecord();
record = false;
}
}
Contact Info
15 Willowdale Rd
Tyngsborough, MA 01879