Skip to content
Karen edited this page Feb 16, 2014 · 25 revisions

Develop a Processing sketch (or program in the environment of your choosing) that experiments with motion. You should feel free to design your own assignment. If you are stuck for an idea here are some suggestions.

  • Create a random walker with dynamic probabilities. For example, can you give it a 50% chance of moving in the direction of the mouse?
  • Gaussian random walk is defined as one in which the step size (how far the object moves in a given direction) is generated with a normal distribution. Implement this variation of our random walk.
  • Try implementing a self-avoiding walk.
  • Try implement the random walk known as a Levy Flight.
  • Try a walk in 3D, for example: http://en.wikipedia.org/wiki/Quantum_Cloud.
  • Use the random walker as a template to simulate some real-world "natural" motion. Can you develop a set of rules for simulating that behavior? Ideas: nervous fly, hopping bunny, slithering snake, etc. Consider the challenge of using minimal visual design, i.e. black and whie primitive shapes. Can you give your "being" a personality? Can it express emotions -- happiness, sadness, fear?
  • There are also more exercises in The Nature of Code Introduction.

You'll need to create a web page to document your homework. It could be as simple as the auto-generated page created by Processing's JavaScript mode. It could also be a blog post or something custom you design. Please add your link below. (Also add a copy of your homework to dropbox.)

To the extent possible, please post your link before 9am on Monday morning, Feb 3rd. I will go through them and select ~5 assignments to look at in class.

Finally, please add questions related to your assignment next to your name as well as any other general/longer ones below? I'll be using your questions to craft the material I present in class.

Other Questions About Anything

  • I didn't understand _______. Could you please explain _______? What does _______ mean? How would I _______?