Homework review

Write down homework questions here

Limits of randomness

Last class, we talked about we can bias random values to get a more controlled (and yet still varied) result? However, randomness is still jittery - each value has no relation to the value right before it. As a result, the random() function, when used in animation, isn’t very smooth. And when using in a sketch, it can create a feeling of fragmentedness. This is useful at times - but in some cases we might want random values that are related.

What does this mean?

“Noise functions are an alternative source of random values. Unlike the random()  function however, noise functions provide related, repeatable, and “good looking” random variation.”

(Plot random function)

Untitled

Introducing Noise

Noise functions are an alternative source of random values. Unlike the random()  function however, noise functions provide related, repeatable, and “good looking” random variation. Random but controlled variation.

Noise functions can be thought of as a lookup table of pre-generated random values that can be used in place of random(). It’s like running randomSeed() over and over, but each randomSeed() value is closely related to the next one.

When is noise used?