| These files were created with Processing for my Introduction to Computational Media Class. You will need Java installed in your browser to view these applets. For those of you looking at the code: some of these files were created in Processing 0067 and others in Processing 0074, so beware of syntax changes. Some of these applets are very large and processor intensive, so consider yourself warned :) | |
![]() | // Collision Detection FinalWith the help of Jobe Makar's Macromedia Flash MX Game Design Demystified, I have created a time-independent collision detection between 3 balls. The code tracks the x and y ball movement of each ball, compares the x and y positions to the last position to determine for time, and then uses the quadratic equation to assure that the radii of two balls haven't intersected. It's not quite perfect (the balls sometimes bounce at opposite angles), but it's a nice step for future game design. |
![]() | // GraffitiCreating a grid of circles through for loops. |
![]() | // GraffitiExperimenting with theta. |
![]() | // AsteroidHere I created a "fish" the relocates itself to the opposite side of the applet once it goes off-screen. |
![]() | // Creating NoiseHere's another example using the set() function. |
![]() | // Creating NoiseI was struggling with pixel drawing with the set() function. I finally got it to work (I was introducing floats rather than integers). |
![]() | // OrganicHere I played around with the Meander class by Robert Hodgin. |
![]() | // SeashellThis example features functions. |
![]() | // Sine EffectThis is a simple exercise trying out the sin() function. |
![]() | // SnowflakesDrag the mouse cursor to apply wind to the snowflakes. |
![]() | // Cube ArtThis is similar to the pinwheel, only this time using rectangles. |
![]() | // PinwheelDrag the mouse cursor over this applet to create variations in the shape. |
![]() | // Fibonacci SmileyThis applet creates a smiley face class and arranges the class instances into a Fibonacci sequence. |
![]() | // Random PlacementThis applet places a rectangle based on a sine curve. A color fill is achieved with a script that randomizes the RGB values of the rectangular shape. |
![]() | // Hello WorldThis simple applet writes "Hello World" in Bodoni. |














