A hierarchical layer based animation library for HTML5 Canvas. Provides anchoring, point-to-bounding box collision,pixel buffers, affine transform and a simple API, among other things.
Features
- Hierarchical layers
- Context switching (move a layer to a different canvas)
- Free anchoring and anchor switching (not just 9-point)
- Pixel buffers (automatically create a hidden canvas and render to it)
- Point-to-bounding box, bounding box and convex polygon collision and restitution
- Transform matrix tools (invert, compose, transform 2D point)
- Intuitive affine transforms
- Utilities for easy handling of clicks and drags
- Easily add your own graphic objects (simply overwrite the draw method)
- Provided drawable objects: node (a text box), circle, image, path, arrow and an example drawable to use as a template
Follow OCE.js
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of OCE.js!