00:00 / 08:52
1080P
  • Quality
  • 1080P 1080P
  • 720P 720P
  • SD 480P
Add to Channel Download Report

Playing issue

0 0

Embed:

Copy

Processing快乐编程039 ”糖果盒“讲解noise函数 Original

Creative Coding Education
AlanHou 2021-07-26 641

Creators

Creative Coding

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

No comments yet
Recommended
Autoplay
"Shaanxi Rhythms: Digital Rebirth of Intangible Cultural Heritage" 01:57
"Shaanxi Rhythms: Digital Rebirth of Intangible Cultural Heritage"
InteractiveDigital VideoInteractive VideoInteractive InstallationInstallation
Taling 02:08
Taling
AIInteractiveInstallation
Element Couture for Perm Prosvet Light Festival 02:06
Element Couture for Perm Prosvet Light Festival
Architecture MappingProjectionDigital VideoArt VideoVideo
DNT x 萨顶顶 | 新媒体舞台秀《悟空》 04:34
DNT x 萨顶顶 | 新媒体舞台秀《悟空》
Space DesignArt VideoInstallationInteraction
水晶沙盘 01:24
水晶沙盘
MAPPINGProjectionInteractive Design
<DimensionalSampling_#1>[HYPERSPACE] 04:06
<DimensionalSampling_#1>[HYPERSPACE]
MAPPINGStage DesignSpace DesignInteractive AudiovisualInteractive Design
Immersive interactive installation "Softlake" 02:08
Immersive interactive installation "Softlake"
Interactive AudiovisualInteractive VideoInteractive Installation
Download MANA APP