-
Notifications
You must be signed in to change notification settings - Fork 29
Homework 1
zz1971 edited this page Jan 30, 2018
·
46 revisions
- Review week 1 materials
- Sign up for the class mailing list.
- Using the random walker as a model, develop a program that experiments with motion. Some ideas we talked about in class (and more).
- Use a random walker to "paint" colors.
- Try a walk in 3D, for example: http://en.wikipedia.org/wiki/Quantum_Cloud.
- Create a random walker with dynamic probabilities. For example, can you give it a 50% chance of moving in the direction of the mouse?
- Try using
p5.Vector
orPVector
to create a random "velocity" for the walker. What happens if you vary the length of each step in addition to the direction? - 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.
- Create an array of
Walker
objects. Try adding a new object when you click the mouse. - 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 white primitive shapes. Can you give your "being" a personality? Can it express emotions -- happiness, sadness, fear?
- Another way of thinking about the assignment is to apply the rules of motion to another medium of expression: sound, color, number, scale...
- Walk through RGB or HSB space (as opposed to XYZ)
- Walk through Pan, Amplitude, Pitch (as opposed to XYZ)
- Plot an "orchestra" of instruments on an XY plane and move a melody through it like: Rite of Spring or Bolero
- Create a constantly morphing creature shape using
createShape()
andvertex()
. Play with how you change the number of vertices, anchor points.
- Document your work on the web and link to it below.
- If you are using Processing or some other offline tool, add a copy of your code to our shared Google Drive folder. If you are using the p5.js web editor or other online editor like codepen, you do not need to share your code this way.
- Try to post by 10am the day of class if at all possible.
- Add a questions below!
- your question here -- your name (optional)
- an answer will appear here
- Do I have to use WEBGL for creating a 3D random walker? - Effy
- Is the RNG in p5.js real random or pseudo-randomness? - Heng
- Name -- [project name](project url)
- Aidan -- Image Walkers / code
- Dominick --Drunk Perlin Walker
- Alice -- Levy Flight
- Heng -- Mondrian Walker
- James -- RandomWalker-SelfAvoiding / Blog Post
- Jesse -- Lévy Flight Score / code
- Lin --
- Lucas --Random Yarn
- Sam -- Random Walkers and Noise
- Simon --
- Tong --
- Yen -- Self-avoiding walk
- Yeonhee -- Cat tracks | Full-screen | code
- Yu-Hao -- colorful walkers
- Yue --
- Zohreh -- [ Playing with Waves] (http://wp.nyu.edu/zohreh/2018/01/30/week-1/)