Playing issue
Reported video:Processing快乐编程039 ”糖果盒“讲解noise函数
Description:
Creators
When we use noise() with one parameter Processing assumes the missing two parameters are 0. We present noise as a function that picks up candies from inside a box. To locate each candy we need to give noise() three parameters: x, y and z. We are used to x and y now from working with the screen. The z represents the depth, so we no longer are limited to the display surface, but we can imagine objects behind the display and objects in front of the display.
This imaginary candy space is full of candies of different colors. Each time our program starts, Processing fills the candy space with candies. But the space has a unique property: candies next to each other are similar in color. You will not find a blue candy next to a green candy. That's the reason why, if you want to get slowly changing colors out of noise(), you should choose candies that are close to each other. That means changing the noise() parameters slowly, in steps smaller than 0.03. With larger increments you probably get very different values out of noise().
Courtesy of Abe Pazos Solatie(Fun Programming)
Abe Pazos Solatie, artist and creative coder producing static, moving and interactive images with a focus on the subtle and the organic
Software(s): Processing

Comments
Please Log in or Register to comment