UNPKG

led-canvas

Version:

Lightweight led board implemented with canvas

11 lines (8 loc) 183 B
var animationFrame = require('./frame'); function loop(board) { animationFrame(function(stamp) { board.render(board.context, stamp); loop(board); }); } module.exports = loop;