OrganicJS Code Sample
OrganicJS is a super light framework for reusable JS+HTML+SVG components (135 lines of code including comments)
OrganicJS supports reusable JS+HTML+SVG componentsJS+HTML+SVG components with chainable properties and methods, dynamic setters/getters, reusable HTML/SVG markup and safe sharing of mutable state among components.
- Click on Ball to see it bounce inside rectangle.
- Change the slider position to change ball properties
- Resize browser window and see everything resizing (courtesy of SVG liquid layout)