2 What are the setup and draw functions - p5.js?

preview_player
Показать описание
Learn what the setup and draw functions do in p5 and how the order of commands affects what is shown on the canvas.

Timestamps:
00:00 Introduction
00:18 What is a function?
00:36 What does the setup function do?
00:42 What does the draw function do?
01:04 What does the createCanvas(#, #) command do?
01:30 What does the background(#) do?
01:56 What happens when you change the order of commands?

Resources:
Рекомендации по теме