// the find
yanhaijing/Painter
Drawing program based on HTML5 Canvas.
A Canvas-based drawing app built circa 2013 as what looks like a student project or demo. It covers the basic MS Paint feature set — pen, shapes, fill, eyedropper, text — and runs in-browser with no server required. This is not a library you embed; it's a standalone app.
The MVC-style separation between model, controller, and shape layers is cleaner than most Canvas demos of its era. The shape hierarchy is reasonably thought-out — stroke vs fill variants as separate classes rather than a single flag. It ships with YUIDoc-generated API docs (in js/out/) which is more than most hobby Canvas projects bother with. No build step, no npm, just open index.html.
Last commit is from 2024 but the code is essentially frozen since 2013 — that 2024 push was almost certainly a README or metadata touch, not active development. No undo/redo, which is the first thing anyone wants from a drawing tool. The repo vendors jQuery 1.7, 1.8, and 1.9 simultaneously alongside Bootstrap 2, which is a 12-year-old dependency pile. Mobile and touch support is absent, so it's a desktop-only proposition in 2025.