Monthly Archives: October 2016

Animated Face

Code int numFrames = 6; int frame = 0; int flap = 25; int counter; int red = 0; int blue = 210; void setup() { size(300, 400); smooth(); } void draw() { counter ++; if (counter>=10&&counter<=60) { flap = … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Coding Exercise

Code 1 void setup() { size(600, 600); smooth(); } void draw() { for (int i = 0; i < 30; i ++) { for (int j = 0; j < 30; j ++) ellipse(i*20,j* 20, 20, 20); } }  

Posted in Non Time Based | Tagged | Leave a comment

Digital Landscape

Digital Landscape, personally not proud of it, I failed to understand the concept. Code int strokeWeight; float alpha; color paintbrush; PImage photo; void setup() { size(800, 800); background (255,255,255); photo = loadImage(“PS NoonValley.jpg”); image(photo, 0,0); photo = loadImage(“PS DayPier.jpg”); image(photo, … Continue reading

Posted in Non Time Based | Tagged | Leave a comment

Fix Code

Code 1 void setup (){ background(255); size(1920,1080); smooth(); } void draw() { ellipseMode(CENTER); rectMode(CENTER); stroke(0); fill(175); rect(mouseX,mouseY,20,100); stroke(0); fill(255); ellipse(mouseX,mouseY-30,60,60); fill(mouseX,0,mouseY); ellipse(mouseX-19,mouseY-30,16,32); ellipse(mouseX+19,mouseY-30,16,32); stroke(0); line(mouseX-10,mouseY+50,pmouseX-10,pmouseY+60); line(mouseX+10,mouseY+50,pmouseX+10,pmouseY+60); } void mousePressed() { text(“Take me to your leader!”,100,100); } Code 2 void setup() … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Christina’s World

void setup (){ size(720, 480); } void draw (){ noStroke(); background(170); fill(128,141,117); quad(0, 100, 0, 480, 720, 480, 720, 75); //smaller ellipse fill(144,167,87); ellipse(287,110,371,190); //big ellipse fill(134,167,87); ellipse(423,101,647,127); // sky fill(185,185,185); quad(0,0,0,100,720,75,720,0); //small house right side fill(111,116,110); quad(306,39,306,89,336,88,336,59); //small house … Continue reading

Posted in Non Time Based | Tagged | Leave a comment

Bouncing Ball Intermediate 3D

Posted in Non Time Based | Tagged | Leave a comment

Walk Cycle Intermediate 3D

Posted in Non Time Based | Tagged | Leave a comment

Processing Audio Project 10/11/16

Code: import ddf.minim.*; import ddf.minim.analysis.*; Minim minim; AudioPlayer music; BeatDetect beat; FFT fft; int x = 40; int y = 5; int spacing = 5; void setup(){ size (800,400); minim = new Minim(this); music = minim.loadFile(“SPONGEBOB – PANDA SPONGEBOB REMIX.mp3”, … Continue reading

Posted in Non Time Based | Tagged | Leave a comment