<aside> ๐บ๐ป Interactive button triggered by hands
Challenge 1
Challenge 2
hint: to quickly generate an array of random images, use the unsplash API:
let images = [];
function preload() {
for (let i=0; i<5; i++) {
images.push(loadImage(`https://source.unsplash.com/random?sig=${floor(random(100))}`));
}
}
</aside>
<aside> ๐บ๐ป Lofi Hands
</aside>
<aside> ๐บ๐ป p5 transformations
Time-based animations
Basic p5.js animated fish:
Using transformations to move and interact with the fish:
</aside>
<aside> ๐บ๐ป **p5 play: generating sprites with hands**
</aside>
<aside> ๐ Dragging stuff with hands
https://editor.p5js.org/clement.zheng/sketches/Q0y1vLRWA
</aside>