A Danmaku Render Library
Include dist/danmakubox.min.js, add a <canvas id="renderer">
element in document , and do this:
let renderer = new DanmakuBox.DanmakuRenderer("renderer");
renderer.play()
renderer.startAutoRender()
setInterval(()=>{renderer.send(["nya","nyanyanyanyanyanya~~"][parseInt(Math.random()*1.5)])},200)
Please see the scource code, doc is under construction.