bonsai

BonsaiJS is a graphics library and renderer

  • Owner: uxebu/bonsai
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Bonsai

(previously known as bikeshedjs)

The art of bonsai tells a story through living illusion. A bonsai artist searches for ways to express his personal creativity by mixing form and thought in a miniature world. *[source]*

Introduction

Bonsai is a JavaScript graphics library. For the finer details, see the documentation (currently in construction).

Bonsai's main features include:

  • Architecturally separated runner and renderer
  • iFrame, Worker and Node running contexts
  • Shapes
  • Paths
  • Assets (Videos, Images, Fonts, SubMovies)
  • Keyframe and regular animation (easing functions too)
  • Shape/path morphing
  • and much more...

An example

Draw a 100x200 rectangle to the stage at {0,0}:

var r = new Rect(0, 0, 100, 200).addTo(stage);

Fill it:

r.fill('red');

Change your mind... make it darker:

r.fill( color('red').darker() );

Animate it:

r.animate('400ms', {
  x: 50,
  y: 50,
  width: 200
});

See more here: Bonsai Documentation/Overviews or
join the IRC channel #bonsaijs on freenode and ask for help.

Main metrics

Overview
Name With Owneruxebu/bonsai
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 4)
Platform
License:Other
所有者活动
Created At2012-06-27 13:35:13
Pushed At2017-12-18 22:54:13
Last Commit At2014-08-28 14:18:18
Release Count17
Last Release Namev0.4.5 (Posted on 2014-02-06 22:20:21)
First Release Namev0.2.0 (Posted on 2012-07-09 12:56:36)
用户参与
Stargazers Count2k
Watchers Count96
Fork Count188
Commits Count807
Has Issues Enabled
Issues Count169
Issue Open Count92
Pull Requests Count66
Pull Requests Open Count1
Pull Requests Close Count6
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private