Playing issue
Reported video:Processing快乐编程038 使用noise()制作海平面动画
Description:
Creators
Imagine the noise() function is like looking through a hole in a paper. The noise function gives you back a random number depending on the parameters you send. In the case of our paper with a hole, it would return the color we see through the hole, and the parameters actually mean in which direction we are looking through the hole. If we point a little bit up, or a little bit right, the color changes. The same way, if we change the parameters in our noise() function a little bit, the number we get also changes a little bit.
In this episode we use the noise() function with two parameters instead of one. In our example, the first parameter is our current horizontal position and the second parameter is the time. As we slowly change time, the random numbers we get also change, creating something that looks like the surface of the sea.
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