]> git.lizzy.rs Git - badapple.git/blob - play.js
Initial commit
[badapple.git] / play.js
1 const badapple = require("./badapple.json")
2
3 const iv = setInterval(_ => {
4         const frame = badapple.frames.shift()
5
6         if (frame) {
7                 console.clear()
8                 console.log(frame)
9         } else
10                 clearInterval(iv)
11         
12 }, 1000 / badapple.fps)