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

Playing issue

0 0

Embed:

Copy

Processing快乐编程034 使用嵌套 while 循环创建对象网格 Original

AlanHou 2021-07-16 587

Creators

We have seen in previous episodes how to create many objects at once using a while loop. This time we use a while loop inside a while loop to create a grid of objects. The result is a collection of objects (rectangles or circles in our example) distributed in the screen in a pattern similar to the white and black rectangles in a chess game.
Using a loop inside a loop is something very common in programming, and we will see more examples in coming episodes.

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
Ocean Child 06:40
Ocean Child
LightProjectionAudition & Performance
The Lightwaves 01:50
The Lightwaves
Public ArtProjectionInteractive InstallationInstallationInteraction
奥雅设计大筒仓THE SILØS概念先导片 01:48
奥雅设计大筒仓THE SILØS概念先导片
MetaverseCGGameAudition & PerformanceInteractive Video
黑弓作品 { 全域行浸剧场「元」邀君共鉴 01:11
黑弓作品 { 全域行浸剧场「元」邀君共鉴
全域行浸剧场ProjectionAudition & PerformanceVideo
Download MANA APP