2D Array - Creative Coding with p5.js

preview_player
Показать описание
🚀 Creative coding content for beginners! Come along for the ride! 🚀

Timestamps:
0:00 Intro
0:29 What is a 2D Array?
1:00 How to access data within a 2D Array
3:37 2D Array and its power to store tabular data
4:33 How to create and use a 2D Array
Рекомендации по теме
Комментарии
Автор

Very good tutorial, thank you.

Question: in the code shown at 4:50, I understand everything other than why the spacing requires * to be used instead of + when drawing the ellipses. I realise by using + the program doesn't work as intended, I just don't understand why that is. Any help would be appreciated. Thanks.

Jack.Morgan
Автор

I'm trying to fill in random color for each circle. but i can only do the grayscale since I only put one number in each 2D array. Is there any way i can put random color for each one of circle?

dreampop
welcome to shbcf.ru