Adding w2.2

This commit is contained in:
Andrea Bianchi
2026-03-10 18:18:44 +09:00
parent 0a5ccf9c68
commit 65d3eee837
2 changed files with 25 additions and 0 deletions

16
w2_2_p5js/index.html Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<script src='https://cdnjs.cloudflare.com/ajax/libs/p5.js/2.0.5/p5.min.js'
integrity='sha512-jOTg6ikYiHx1LvbSOucnvZi4shXbaovZ91+rfViIiUFLgAJK+k1oQtGEaLvDB8rsZwEfUksTgmhrxdvEDykuzQ=='
crossorigin='anonymous'></script>
<meta charset="utf-8" />
</head>
<script defer src="sketch.js"></script>
<body></body>
</html>

9
w2_2_p5js/sketch.js Normal file
View File

@@ -0,0 +1,9 @@
// Single-sketch example
function setup() {
createCanvas(800, 600);
}
function draw() {
background(120);
}