Ross ROSS = Recommend OSS · open-source software intelligence for agents

buuing/lucky-canvas

🎖🎖🎖 基于 TS + Canvas 开发的【大转盘 / 九宫格 / 老虎机】抽奖插件,🌈 一套源码适配多端框架 JS / Vue / React / Taro / UniApp / 微信小程序等,🎨 奖品 / 文字 / 图片 / 颜色 / 按钮均可配置,支持同步 / 异步抽奖,🎯 概率前 / 后端可控,🚀 自动根据 dpr 调整清晰度适配移动端 observed · 2026-08-28

github.com/buuing/lucky-canvas · homepage · TypeScript · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 95
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2641
  • days_rel: n/a
  • days_push: 34
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

8750 stars · 1032 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A TypeScript + Canvas-based lucky draw plugin offering prize wheel, 9-grid, and slot machine components. One codebase adapts to JS, Vue, React, Taro, UniApp, and WeChat Mini Programs with configurable prizes, text, images, colors, and buttons.

Use cases

  • add a spinning prize wheel to a marketing page
  • build a 9-grid lucky draw for a WeChat mini program
  • implement a slot machine lottery game in React
  • create a raffle widget with frontend or backend controlled winning probability
  • make a responsive lucky draw component for mobile web
  • run async prize draws where results come from an API

When to choose

  • you need a polished lottery/lucky-draw UI across multiple frameworks from one codebase
  • you target WeChat mini programs or uni-app/Taro alongside web
  • you want configurable prizes, images, fonts, and probability control
  • you need responsive canvas rendering with dpr-aware sharpness

When to avoid

  • you need a general-purpose canvas animation or game engine
  • you require server-side draw logic only with no UI component
  • your project does not use any of the supported frameworks and plain canvas is fine

Facets

library · maturity stable

ui-components animation graphics web-development frontend gaming-tools cross-platform browser cross-platform lucky-draw canvas prize-wheel slot-machine vue react taro uni-app wechat-miniprogram lottery web-server javascript

6 sources

Member repositories

RepositoryRoleHealth v2
buuing/lucky-canvasmain75

For agents

markdown · JSON · MCP: product_card(name="buuing/lucky-canvas")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem