Project 1 - Rising Moon

The first project i did adjusted the texture example from class. I expanded the colorPixels array to cover the entire screen. I also adjusted the w and h variables to limit the range of values for R G and B so that the screen showed color variation within a range of blues instead of all colors. Finally I added a circle whose coordinates are determined by the location of the mouse.
click here to download the code

Untitled from Christiana Lackner on Vimeo.


Project 2 -Firefly

For the second project I took the expanding circles example and made the calculation for when the circle is deleted random instead of set at a fixed circle radius. I changed the color range of the circles in the circle class so that they appear as shades of yellow. Finally, I loaded the image of a firefly and set its location at the x y point of the mouse minus the width and height of the image so it appears that the yellow circles are coming from the lighting end of the firefly (as opposed to the top left of the image where the x/y mouse point is).
click here to download the code

Untitled from Christiana Lackner on Vimeo.