collection

This commit is contained in:
gauthiier 2023-01-18 16:08:26 +01:00
parent 6d4b077d6e
commit de06ae0897

14
collection/sketch-1.0.js Normal file
View File

@ -0,0 +1,14 @@
// Sketch 1.0: Key Events!
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
if(keyIsPressed) {
print("Hello World"); // see the console below ↓
}
}
// Reference: https://p5js.org/reference/