bonsai

BonsaiJS is a graphics library and renderer

  • 所有者: uxebu/bonsai
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者uxebu/bonsai
主編程語言JavaScript
編程語言JavaScript (語言數: 4)
平台
許可證Other
所有者活动
創建於2012-06-27 13:35:13
推送於2017-12-18 22:54:13
最后一次提交2014-08-28 14:18:18
發布數17
最新版本名稱v0.4.5 (發布於 2014-02-06 22:20:21)
第一版名稱v0.2.0 (發布於 2012-07-09 12:56:36)
用户参与
星數2k
關注者數96
派生數188
提交數807
已啟用問題?
問題數169
打開的問題數92
拉請求數66
打開的拉請求數1
關閉的拉請求數6
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?