Skip to content

Commit

Permalink
shooting a 0
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Jul 24, 2024
1 parent 18fc731 commit 4b1e63f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/examples/src/CheesyCanvas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ function SayCheese({ pauseAt = 0 }) {
console.log(`😬 Say cheeese (shooting photo in ${pauseAt}ms)`);

function shoot() {
console.log("📸 Shooting", clock.elapsedTime);
// const secs = clock.elapsedTime;
const secs = 0;
console.log("📸 Shooting", secs);

setFrameloop("never");
const secs = clock.elapsedTime;
advance(secs);
advance(secs); // not exactly sure why, but needed 🤷‍♂️

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4b1e63f

Please sign in to comment.