Skip to content

Commit

Permalink
feat: Motion examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Dec 1, 2024
1 parent efddb98 commit 88c5f5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 69 deletions.
20 changes: 0 additions & 20 deletions p5js/animate-in/index.html

This file was deleted.

32 changes: 0 additions & 32 deletions p5js/animate-in/index.js

This file was deleted.

15 changes: 0 additions & 15 deletions p5js/animate-in/style.css

This file was deleted.

6 changes: 4 additions & 2 deletions p5js/frame-animation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ let y = 100;
function preload() {
const img1 = loadImage('./data/cat-1.png');
const img2 = loadImage('./data/cat-2.png');
images.push(img1);
images.push(img2);
// images.push(img1);
// images.push(img2);
images = [img1, img2];
}

function setup() {
const canvas = createCanvas(200, 200);
canvas.parent('sketch');
Expand Down

0 comments on commit 88c5f5f

Please sign in to comment.