Rule-Based Design Assignment


Using your three latest (best) animated sketches, develop and apply a system of rules to govern their behavior, and present three new sketches demonstrating those rules.


Start with your dynamic form sketches. Develop systems of rules that govern the behavior of the moving forms in two categories.

  1. Environmental (external) Rules
  2. Self-governing (internal) Rules

Environmental rules take into account some condition outside of the moving forms. Like the bouncing ball sketch, this could mean the edges of the sketch window, that act as a solid boundary against which the ball bounces. The idea of bouncing was encoded as a change in the value of the ball’s velocity (positive to negative, or vice versa). The condition of when the ball was to bound was encoded as a conditional. The location of the ball itself has meaning in its “environment.”

Self-governing rules are about the behavior of an object itself, independent of its environment. If you had a curve representing some virtual biological form, you might have a rule that governed its growth (lengthening) or its motion (oscillating).

Recode your dynamic forms to take into account the rules you choose. You don’t have to make external and internal rules for all three of them, but you should at least try each category at least once. Submit these as three sketches, each with an English-based pseudocode that represents the rules you were trying to encode.

This assignment is about learning to tell Processing to make decisions based on the geometry drawn by the sketch, not just the values of variables. It doesn’t have to make physical sense, but you should be able to explain what’s going on in the pseudocode.


Three sketches and three pieces of pseudocode. The sketches should be exported as applets, and the pseudocode as text files or embedded into the Processing code. As always, submit them to the classes server in accordance with the homework instructions.


Assigned on: 01 February 2012

Due on: 07 February 2012 at 11:59PM