UNPKG

led-canvas

Version:

Lightweight led board implemented with canvas

12 lines (9 loc) 204 B
"use strict"; var animationFrame = require("./frame"); function loop(board) { animationFrame(function (stamp) { board.render(board.context, stamp); loop(board); }); } module.exports = loop;