Skip to Content
✨ SPARK
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
Folder: Learning
Back
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Login Account

Random Color Grid

  • All,

🔗 Code Example: Random Color Grid

🔗 Timestamps:

  • 0:43 Drawing a square grid using a nested loop

  • 2:14 Creating a 2d array to store color data

  • 6:14 Using a random function to generate color data

🔗 References:

  • Nested Loop - Creative Coding with p5.js

  • 2D Array - Creative Coding with p5.js

Previous

Circular Grid Graphics

Next

2D Grid w Nested Loop

You Might Also Like

Related Embedded Video Item Thumbnail Interactive Truchet Tiles
Related Embedded Video Item Thumbnail Lava Lamp (Metaballs / Marching Squares)
Related Embedded Video Item Thumbnail Interactive Bridge with Bouncing Balls (matter.js + ml5.js)
Related Embedded Video Item Thumbnail Interactive Fridge Magnets (with ml5.js)
Related Embedded Video Item Thumbnail Slime Molds (Physarum)
I recently visited a botanical garden, saw this very sign, and really wanted to share.

🌸 ‘To Plant a Garden is to Believe in Tomorrow’ beautifully resonates with the creative coding work I do. Just as planting a seed is a simple act wit
“It’s much easier to determine what is working after you have already done some things than to predict what will work before you have done anything.” — James Clear

I made it through year ONE of making consistent content on th
Follow @pattvira