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

Project Activity

See All Activity >

Follow OCE.js

OCE.js Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OCE.js!

Additional Project Details

Registered

2011-11-26