# bobiscool/wxDraw

A lightweight canvas library which providing 2d draw for weapp  微信小程序2d动画库 😎  🐼

Repository: https://github.com/bobiscool/wxDraw
Canonical: https://ross.abutalabs.com/products/wxdraw
Homepage: https://bobiscool.github.io/wxDrawDocs/#/
Language: JavaScript
License: MIT
License Family: permissive
Topics: weapp, canvas, html5, javascript, wechat-app, webapp
Last push: 2025-01-06T05:47:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3268, "days_push": 604, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1723, forks 287 (observed 2026-08-28T04:05:27.899474+00:00)

## What it is
wxDraw is a lightweight 2D canvas drawing and animation library built specifically for WeChat Mini Programs (weapp). It provides a jQuery-like API for creating shapes, chaining easing animations, and handling touch events on canvas, which the standard mini-program canvas API does not support well.

## Use cases
- draw shapes like rects, circles, polygons and ellipses on a weapp canvas
- add chained easing animations to canvas graphics in a WeChat mini program
- handle touch and interaction events on canvas shapes in weapp
- create custom polygon and line graphics with gradients in a mini program
- render text and images on a WeChat mini program canvas
- build animated canvas-based UI without knowing raw canvas APIs

## When to choose
- you are building a WeChat Mini Program and need higher-level canvas drawing, animation, and event support
- you want a jQuery-style API for canvas shapes instead of the low-level mini-program canvas API
- you need easing animations with chained calls inside weapp

## When to avoid
- you are targeting standard web browsers or H5 pages rather than WeChat Mini Programs
- you need WebGL, 3D, or high-performance game rendering
- you need a library with frequent updates or broad community maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: animation, graphics, ui-components
- domain: web-development, frontend, graphics, cross-platform
- platform: browser
- tags: canvas, weapp, wechat-miniprogram, 2d-graphics, easing, shape-drawing, event-handling, wechat, javascript

## Member repositories
- bobiscool/wxDraw (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:27.899474+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:33:56.956825+00:00, confidence not recorded.
  - readme: https://github.com/bobiscool/wxDraw (fetched 2026-08-28T04:05:27.899474+00:00, sha 979a6f3a58b7)
  - homepage: https://bobiscool.github.io/wxDrawDocs/#/ (fetched 2026-08-29T11:09:47.038384+00:00, sha 0758cdf6f4e6)
  - registry_npm: https://registry.npmjs.org/wxdraw (fetched 2026-08-29T11:09:47.047308+00:00, sha 7230e5993ad4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
