A JavaScript library which adds an API for handling and manipulating
HTML5 <canvas> elements in the DOM.

Uses the '2d' context with each canvas element.

On starting, Scrawl.js investigates the HTML DOM and automatically
creates controller and wrapper objects for each <canvas> element it finds.

Can also generate visible canvas elements programatically, and add them
to the DOM.

Users create sprite and gradient objects using scrawl factory functions,
set their styling and position, and render them onto the canvas element.
Creation, positioning and styling can all be handled by a single call to
the factory function.

Sprites include: basic rectangles (Block), advanced rectangles capable of
displaying images and sprite animations (Picture), circles (Wheel),
single-line text (Phrase), and complex designs composed of lines, arcs
and curves (Shape).

...

Features

  • Create shapes and animate them
  • Display images
  • Interact with canvas elements
  • Multiple layers for each detected canvas element

Project Samples

Project Activity

See All Activity >

Categories

Internet, Graphics

License

MIT License

Follow Scrawl.js

Scrawl.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 Scrawl.js!

Additional Project Details

Intended Audience

Information Technology, Developers

Programming Language

JavaScript

Related Categories

JavaScript Internet Software, JavaScript Graphics Software

Registered

2013-03-05