jakubfiala/atrament
A small JS library for beautiful drawing and handwriting on the HTML Canvas. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 74
- Release rhythm 37
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 72
- age_days: 3805
- days_rel: 341
- days_push: 157
- n_releases_24m: 4
Adoption not part of the score
1785 stars · 123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Atrament is a small JavaScript library for natural-feeling drawing and handwriting on the HTML Canvas, with adaptive smoothing, draw/fill/erase modes, and stroke events. It draws directly onto the canvas bitmap rather than storing stroke paths.
Use cases
- add a signature pad to a web form
- build a browser-based sketch or drawing app
- implement handwriting input on a canvas
- create a whiteboard with undo via stroke events
- add pressure-sensitive ink drawing to a web page
When to choose
- you want smooth, natural-feeling freehand drawing on an HTML canvas with minimal setup
- you need draw/fill/erase modes with adjustable smoothing and line weight
- you want stroke events to implement undo/replay yourself
When to avoid
- you need to store, edit, or export vector stroke paths - Atrament only paints the canvas bitmap
- you must support legacy browsers (use Atrament v3 instead)
- you need a full-featured drawing application with layers or shape tools
Facets
library · maturity active
graphics ui-components web-development frontend graphics browser canvas drawing handwriting ink-smoothing sketchpad javascript nodejs
3 sources
- readme: https://github.com/jakubfiala/atrament · fetched 2026-08-28 · af1f5dd963b2
- homepage: http://fiala.space/atrament/demo · fetched 2026-08-29 · 28b37e8d532e
- registry_npm: https://registry.npmjs.org/atrament · fetched 2026-08-29 · 6ebe508222cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jakubfiala/atrament | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="jakubfiala/atrament")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem