premiumpacks

BonsaiJS – A Graphics Library

Bonsai is a JavaScript graphics library. It’s at the heart of pixelplant.com and it’s what makes it tick. Draw a 100×200 rectangle to the stage at {0,0}: var r = new Rect(0, 0, 100, 200).addTo(stage); Fill it: r.fill(‘blue’); Change your mind… Make it darker: r.fill(color(‘green’).darker()); Animate it: r.animate(‘400ms’, { x: 50, y: 50, width: 200 }); Go and give B…

Featured Deals


Related Posts


Related Lists