buuing/lucky-canvas
buuing/lucky-canvas has 8,784 GitHub stars and 1,032 forks. GitHot measured +1 stars in 24 hours and +3 in 7 days. Last checked 2026-11-08 15:59 UTC. Last push 2026-07-30.
🎖🎖🎖 A lottery plugin for 【spin wheels / nine-grid grids / slot machines】 built with TS + Canvas. 🌈 One codebase supports multiple platforms and frameworks, including JS / Vue / React / Taro / UniApp / WeChat Mini Programs. 🎨 Prizes / text / images / colors / buttons are all configurable. Supports synchronous / asynchronous lotteries, 🎯 with probabilities controllable on the frontend / backend. 🚀 Automatically adjusts sharpness based on dpr for mobile devices.
Measured star growth
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original| 适配框架 | npm包 | 最新版本 | npm下载量 |
|---|---|---|---|
JS / JQ |
lucky-canvas | ||
Vue |
@lucky-canvas/vue | ||
React |
@lucky-canvas/react | ||
UniApp |
@lucky-canvas/uni | ||
Taro3.x |
@lucky-canvas/taro | ||
微信小程序 |
@lucky-canvas/mini |
官方文档 & Demo演示
English:If anyone can help translate the document, please contact me
[email protected]
贡献者
🤖 🛰 📚 |
🦄 |
🛰 |
🛰 |
🛰 |
🛰 |
🛠 🎨 |
🛠 |
🛠 |
🛠 |
🛠 |
🛠 |
🛠 |
🛠 |
📚 |
📚 |
🎨 |
🎨 |
🎨 |
🎨 |
🎨 |
🛰 |
🙏🙏🙏 点个Star
如果您觉得这个项目还不错, 可以在 Github 上面帮我点个star, 支持一下作者 ☜(゚ヮ゚☜)
问题反馈

- Bug 反馈请直接去 Github 上面提 Issues,我会实时收到邮件提醒前去查看
- 如果是小白需要技术指导的话, 左边是我的赞赏码, 备注好你的微信号, 我看到后会主动加你
- 但如果是因为我文档没写清楚,或者是插件本身的bug,导致你无法正常使用的话,赞赏全额返还
注好你的微信号!微信看不到赞赏人信息所以你必须在备注里写上
友情链接
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,770 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,357 starsreact/react
The library for web and native user interfaces.
252,423 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,632 stars