BonsaiJS – A Graphics Library | Bypeople

BonsaiJS – A Graphics Library

Bonsai is a JavaScript graphics library.
It’s at the heart of 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:
Change your mind… Make it darker:
Animate it:
r.animate(‘400ms’, {
x: 50,
y: 50,
width: 200

Go and give B…

Related Deals

Related Posts