00:00 / 10:50
1080P
  • Quality
  • 1080P 1080P
  • 720P 720P
  • SD 480P
Add to Channel Download Report

Playing issue

0 0

Embed:

Copy

Processing快乐编程033 使用倍数放大、缩小速度和尺寸 Original

AlanHou 2021-07-15 272

Creators

Multiplication is something we often use in our programs, so it's important to feel comfortable with it. In programming languages, the sign used for multiplication is the asterisk: *. When we multiply any number by 1, we get the same number: 77 * 1 = 77. When we multiply by a number larger than 1, we get a number larger than the original number: 77 * 1.2 = 92.4. When we multiply by a positive number smaller than 1, we make it smaller: 77 * 0.8 = 61.6. Knowing these simple rules we create a program where objects move a different speeds. We also update the program we created with 5 rotating rectangles to give each rectangle a different rotation speed.

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
我用代码,养了一只会呼吸的水母 00:31
我用代码,养了一只会呼吸的水母
InteractiveInteractive VideoInteractive Installation
巨人系列新作上线 00:32
巨人系列新作上线
创意短片数字影像影像
【Fullvideo】Halo Dog Mapping 01:58
【Fullvideo】Halo Dog Mapping
MAPPINGPublic ArtInstallationInteraction
DNT x 萨顶顶 | 新媒体舞台秀《悟空》 04:34
DNT x 萨顶顶 | 新媒体舞台秀《悟空》
Space DesignArt VideoInstallationInteraction
上海之巅观光厅——“巅峰632” 01:12
上海之巅观光厅——“巅峰632”
Light ShowInteractive ExhibitionInteractive MappingInteractive VideoInteractive Installation
URBAN SUN 02:35
URBAN SUN
LightLight ShowLight Installation
Download MANA APP