member since January 17, 2012
profile picture

portfolio of
Michael Louis Loffredo

Project 2

**Since this code uses the video library it will not work on this site. To actually see my project, copy the code and paste it into the Processing program on your device.**

INSTRUCTIONS

// As the sphere and cube hit each wall of the screen, they increase the granularity of the video image being captured at the back of the window

// To reset the granularity back to its original setting and to change the speed at which the sphere and cube are moving, press the spacebar

*This was my very first time trying 3D shapes!

Project 1

**Since this code uses the video library it will not work on this site. To actually see my project, copy the code and paste it into the Processing program on your device.**

INSTRUCTIONS

// Use the corresponding arrow keys to rotate the video image three-dimensionally, up, down, left or right

// The "up" arrow key rotates the screen so that the top of the screen comes forward, the "left" arrow key rotates the screen left, etc.

// Move the slider (by clicking and dragging the mouse) to the right to decrease the granularity as well as move the 2D video into 3D

Homework #11 - Pseudo Screensaver

click and hold to change circles from green & blue to rapidly moving red, pink and purple circles!!

Homework #8 - While Loop Doodle

INSTRUCTIONS

1) Press any key except for the space bar to start creating spiderweb-like designs over the image

2) Press the space bar to clear what you've made and to start the loop over again

3) Click the mouse to stop the loop

4) Release the mouse to continue the loop

Homework # 7 - A Computer Game

Click and drag the mouse to control the ghost and avoid getting eaten by Pacman!

Homework #6 - Wrapping & Bouncing

Press and hold any key to make the background and my initials rapidly change color

Homework #5 - Initials Function

Press and hold any key to make the background and my initials change color.

Move the mouse around the screen to watch the icon grow bigger and smaller as it follows the mouse.

Homework #4 - User Input with Keyboard
& Mouse

Mix colors!

1. Press "r" to make red. If you pressed "r" then press "b" to make purple

2. Press the space bar to clear the canvas

3. Press "r" to make red. If you pressed "r" then press "y" to make orange

4. Press the space bar to clear the canvas

5. Press "Y" (capital "y") to make yellow. If you pressed "Y" then press "B" (capital "b") to make green

6. Press the space bar to clear the canvas

7. Click and hold the mouse button to create a rainbow of randomly located, colored circles

Homework #3 - User Input

Click once to add a circle to the composition.
Click and drag to have an endless line of growing circles.
followed by
0
following
0

collections and classrooms

submitted sketches to:
CMU - Computing for the Arts with Processing

favorites

Share Share Subscribe to sketches