Lunchboxjs
Declarative ThreeJS via web components
Install / Use
/learn @breakfast-studio/LunchboxjsREADME
Lunchbox 2 lets you write ThreeJS scenes using web components. You can use it in any (or no) framework.
<three-lunchbox>
<three-mesh position-z="-5">
<torus-knot-geometry></torus-knot-geometry>
<mesh-normal-material></mesh-normal-material>
</three-mesh>
</three-lunchbox>
Docs
About
Lunchbox started as a Vue + ThreeJS custom renderer, but from version 2 on is focused on web components built into browsers.
Local Dev
npm install, then npm run dev to run dev server. From there, edit source code in the LunchboxJS package's /src/... and examples in /index.html/... to build and test features.
With the dev server still running and accessible via localhost:5173, run npm run test to run headless tests, npm run cy:open to open Cypress test suites.
npm run docs:dev to run docs locally.
Publishing
npm run test to make sure all tests pass, then npm run publish.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
