Your browser does not support the canvas tag.

fallingLeaves

Assignment #4 Name: Kess Steuber Course: CS 110 - Section 01 Submitted: 10/21/2011

Project #4 - Interactive drawing animated with time. The object modeled is a leaf. My drawing features a few trees by a lakeside, each containing max 450 leaves. When the mouse is clicked in the sky, a leaf appears at that spot and falls into the lake. If the leaf lands, in the water, then the water ripples. (If the leaf lands on the grass, nothing happens.) The leaves are scaled so that the closer to the horizon the mouse clicks, the smaller the leaf, the slower it falls (because it's farther away, it should appear to fall at the same speed. That's the idea, anyway), and the smaller the ripples. Also, the leaf will y value at which a leaf is created will determine the y value at which it lands, proportional to the water line of the lake.

Built with Processing and Processing.js