Skip to content
Projects

About

万物工牌|AI 角色、人物特别篇与自定义 3D 工牌,支持拖拽翻面和透明 PNG 下载。微信公众号:风花AI实验室。

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+3
in 15 days
+6
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.en.md

Original

Anything Pass · 万物工牌

简体中文 · English

Swinging passes for AI characters, fictional specials, and your own creations.

Get your crew pass · 中文体验 · Licensing and credits

Project preview

A bilingual creative pass playground: choose an AI character or fictional special, customize a portrait and text, drag the lanyard, flip the card, and download it. Built and shared by 风花AI实验室 / Fenghua AI Lab.

Doubao chibi preview

Doubao chibi crew pass page

Follow Fenghua AI Lab

For AI projects, practical tools, fun experiments, and build notes, follow the WeChat public account 风花AI实验室 (Fenghua AI Lab).

QR code for the Fenghua AI Lab WeChat public account

Scan with WeChat, or save the QR code and open it in WeChat to follow.

Features

  • Nine AI coworkers: DeepSeek, ChatGPT, GLM, Qwen, Gemini, Claude, Kimi, Grok, and Doubao.
  • Special edition: the Jensen Huang AMD reunion pass is fictional fan art, not a real job announcement. The portrait is AI-generated.
  • Switch all nine characters between their original and chibi portraits. The display and downloads update together, and the selection is saved in this browser.
  • 3D lanyard physics, dragging, swinging, and card flipping based on the official React Bits Lanyard component, with matching ShinyText background accents.
  • High-priority front texture preload in HTML. Front, back, and lanyard textures render independently. Display textures use WebP at the original resolution, with lossless backs; PNG downloads retain their original quality. Adjacent characters are prefetched during idle time after the current front appears, and menu targets are prefetched on hover or touch. Prefetching is skipped on data-saving and 2G connections.
  • Chinese and English interfaces, an avatar character menu, previous/next controls, and layouts for mobile touchscreens and short viewports.
  • Edit mode: replace text on either side, or choose the built-in Tangbao or Nailong samples or upload a local image and drag/zoom it within a fixed 1:1 crop to replace the portrait (local images up to 20 MB and 40 million pixels). The finished artwork is shared by the 3D pass, static fallback, download previews, PNGs, and ZIP. You can switch back to or restore the original portrait.
  • Custom images and text are saved in this browser per employee and language; images are processed locally and are not uploaded to a server. Shared links do not include local edits, and clearing site data removes saved edits.
  • Transparent front/back PNG downloads, individually or as a ZIP. Original downloads use static files; edited passes are generated in the browser.
  • A flippable static preview when WebGL is unavailable. Crew pass downloads remain available with JavaScript disabled.
  • Recorded foley for flips, metal contacts on release, and character switching (Freesound, CC0), enabled by default after the first interaction. A mute toggle remembers your preference. Samples are hosted locally with the project; no background music. See audio credits.

Card catchphrases are selected fan jokes, not claims about product capabilities. All character portrayals are unofficial fan creations.

Run locally

Requires Node.js 22.12+.

npm install --no-package-lock
npm run dev -- --host 127.0.0.1
npm run build

Customize and deploy

  • Characters, colors, and assets: src/data/characters.ts.
  • Interface translations: src/data/i18n.ts; catchphrases: src/data/memes.ts.
  • Shared page: src/components/BadgeExperience.astro.
  • After changing card faces, keep the development server running and run python -X utf8 scripts/export-badge-faces.py, followed by python -X utf8 scripts/export-downloads.py to update downloads.
  • After changing chibi cards or portraits, run python -X utf8 scripts/export-chibi-faces.py with the development server running to update the Chinese and English display textures and downloads.
  • Pushing to main runs GitHub Actions; a branch can also be selected for a manual deployment. The workflow uses this repository's configured Pages URL and preserves the artwork needed by the editor, so forks can use their own domains. Manual builds without GITHUB_PAGES_URL continue to fall back to public/CNAME or GITHUB_REPOSITORY.

Visit counter

The footer displays site-wide page views (PV) via Busuanzi, loaded only on badge.fhysy.com. Local development and preview hosts do not send counter requests. Refreshes and character/language navigation count as page views, not unique visitors. Visits before integration are not backfilled. If the third-party service is blocked or unavailable, the footer shows that views are temporarily unavailable; a late response from the current request still reveals the actual number. The site and downloads remain usable.

Verification

Requires Python with Playwright, Chromium, and Pillow.

python -X utf8 scripts/verify-single-screen.py
python -X utf8 scripts/verify-downloads.py
python -X utf8 scripts/verify-reference-edits.py
python -X utf8 scripts/verify-optimizations.py
python -X utf8 scripts/verify-texture-loading.py
python -X utf8 scripts/verify-edit-mode.py
python -X utf8 scripts/verify-chibi-mode.py
python -X utf8 scripts/verify-custom-portrait.py
python -X utf8 scripts/verify-example-portrait.py

Earlier gallery and custom physics tests are retained as historical records and do not apply to the current single-screen version.

Licensing and credits

The source is public, but each part retains its own license. The entire collection of code and assets is not uniformly MIT-licensed.

Component Source and license
New project code and original Hanging Pass code MIT, retaining attribution to xu-yaoting/hanging-pass
Lanyard and ShinyText React Bits, MIT + Commons Clause; not an unconditional license for commercial redistribution
Geist fonts SIL OFL 1.1
Character artwork, derived card faces, downloadable images, and the built-in sample Subject to their individual asset notices; not automatically covered by the code's MIT license, and provided for noncommercial fan display only

Original DeepSeek character: 上善无形. Eight AI character designs: ZipZipPipe. Doubao is a transparent anime-style fan character generated for this project. Sources, original dimensions, hashes, and adaptation records are documented in the Chinese asset notice, English credits, Doubao creation notes, sample image notice, and third-party notices.

Characters, trademarks, and brands belong to their respective rights holders. This project is not affiliated with or officially endorsed by the AI companies depicted. Review the applicable licenses separately before reuse or commercial use.

Explore related projects

Loading…