Painter

Constructor

var painter = new Jsonic.Painter();

Property

CanvasListObjectThe canvases will be rendered
DataReceiverListObjectThe objects offer the data
IfRenderBooleanWhether the painter is running

Method

.attach()

Match canvas and source

canvasDomCanvas
analyserObjectweb audio analyserNode
renderObjObjectrender config
painter.attach(canvas,analyserNode,{'FF':{func:'wave'}});

.start()

start rendering canvases

objsObject | nullIf null, only the object will start.
painter.start();

.stop()

stop rendering canvases

objsObject | nullIf null, only the object will stop.
painter.stop();