• Stars
    star
    1,964
  • Rank 23,609 (Top 0.5 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 12 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

BonsaiJS is a graphics library and renderer

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.

More Repositories

1

embedjs

Mobile cross-platform JavaScript framework
JavaScript
168
star
2

jasmine-matchers

A set of jasmine matchers that allow for more explicit test writing and better error reporting.
JavaScript
50
star
3

confusion

Simple obfuscator for JavaScript source code
CoffeeScript
31
star
4

react-components-asserts

Asserts for react.js components using the shallow renderer.
JavaScript
19
star
5

kommando

A functional / acceptance test runner (using Webdriver)
JavaScript
15
star
6

jsCodeRetreat

JavaScript Code Retreat
HTML
14
star
7

delegate

DOM-agnostic event handling library for objects
JavaScript
9
star
8

mocha-sinon-traceur-example

A simple example project using mocha, sinon and ES6 (by using traceur).
JavaScript
9
star
9

uxebu.com

Uxebu.com website
PHP
8
star
10

webdrvr

NPM wrapper for Selenium Webdriver including Chromedriver / IEDriver / Ghostdriver
JavaScript
8
star
11

fluxebu

An approach to flux that works for server-side (stateless) and client-side (stateful) component rendering.
JavaScript
7
star
12

learnjs

A very simple Vimeo / Twitter Q&A video platform
JavaScript
6
star
13

depository

A GitHub managed NPM registry with fallback to registry.npmjs.org
JavaScript
5
star
14

automustache

Tries to detect faces and add mustaches
JavaScript
4
star
15

bonsai-demos

JavaScript
4
star
16

bonsai-docs

Bonsai documentation
HTML
3
star
17

EventNinja

HTML5 App which lists web dev events
3
star
18

tddbin-frontend

TDDbin frontend
3
star
19

embedjs-tools

The build tool that knows how to create just the JavaScript code you need.
JavaScript
3
star
20

webpack-amd-demo

A simple webpack example with amd
JavaScript
3
star
21

syncem

Synchronizes multiple async calls, to return one callback when all are done
3
star
22

jsconfeu2011

JSConf EU 2011 Slides
JavaScript
2
star
23

prfl

A JavaScript profiling tool.
JavaScript
2
star
24

curvedesaster

The classic is back
JavaScript
2
star
25

flash8-swfparser

A SWF parser for all versions including Flash 8 and Flash MX 2004. Flash 9 and actionscript 3 is not supported.
Java
2
star
26

arduinojs

Arduino will run JavaScript one day
2
star
27

amd-to-closure

Testing compilation of AMD modules to closure-optimized code
JavaScript
2
star
28

node-quickcheck

Node.js port of the QuickCheck unit test framework
JavaScript
2
star
29

ace-with-plugins

Ace editor with additional plugins
JavaScript
2
star
30

word-clock-kata

An implementation of the word clock, which translates e.g. 9:30 to "it's half past nine"
JavaScript
2
star
31

webpack-amd-commonJs-demo

A simple webpack example with amd and CommonJs
JavaScript
2
star
32

uecbuild

Depoy Ubuntu UEC images to KVM/LVM based infrastructures
Python
2
star
33

orbit.bonsaijs.org

Online-Editor for Bonsai
JavaScript
1
star
34

octobertest

JavaScript
1
star
35

www.uxebu.com

The uxebu.com as static site
HTML
1
star
36

UserAgentParser

Project that "understands" a User Agent, takes it apart and makes what it understands useable.
JavaScript
1
star
37

mock-or-not-article

See link for the blog article discussing it
JavaScript
1
star
38

es6-cheatsheet

1
star
39

orion-with-plugins

Orion editor with additional plugins
JavaScript
1
star
40

cdn.pixelplant.com

CDN of Pixelplant
JavaScript
1
star
41

node-arduino

Control your Arduino with Node
JavaScript
1
star
42

apparat

Mobile cross-platform packaging
1
star
43

uxebu-tools

Various tools that make our work easier
Shell
1
star
44

bonsai-server

A socket.io-based server for bonsai movies
JavaScript
1
star
45

doctor

The ultimate doc tool collection for JavaScript geeks
Python
1
star
46

universe-microservice

A Β΅Service that renders the uxebu.com universe
JavaScript
1
star
47

dojo-components

Collection of Dojo components/plugins we use at uxebu
1
star
48

jsconfus2011

Demo
JavaScript
1
star