Мой профиль
← p5.jsINTRO LESSON

Meet p5.js

Read the example

Follow each line, then choose an answer. You can try again. Your result stays in this browser.

function setup() {
  createCanvas(400, 400);
}
function draw() {
  background(20);
  circle(mouseX, mouseY, 40);
}

Where does the circle appear?

Back to course map