Doop
Doop: 오픈소스 멀티플레이어 디자인 캔버스 및 AI 에이전트용 MCP
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Design CSS shadows with direct light manipulation.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Design CSS card shadows by moving a light, not by pushing sliders. The shadow is
worked out from the light's position, height, size and colour temperature, then
exported as stacked box-shadow layers in plain values.
npm install
npm run dev # http://localhost:5173
npm test
npm run build # → dist/
| Action | What it does | Control |
|---|---|---|
| Move a light | Take hold of a light and drag it | Drag a light |
| Light distance | Slides the light along its line to the card | ⇧ Drag a light |
| Light size | Bigger lights cast softer shadows | ⌃ ⇧ Drag a light |
| Card elevation | Lifts the card off the page, or lowers it | ⇧ Drag the card |
| Edit a light | Opens its panel: drag a value left or right, or click to type | Click a light or its button |
Add up to three lights with + in the toolbar; remove them from their panel.
Keys: C CSS · S save a sample · L show or hide the lights and geometry
(they keep lighting the scene) · F full screen ·
H hide the interface · ? controls.
World units are CSS pixels. The card floats at height e above the page and
each light is a sphere of radius R at (x, y, z), no more than 820 px from the
card.
k = z / (z − e). The offset is −(x, y)·(k − 1), the spread is
the growth in size, and the blur is the penumbra, R·e / (z − e).(1 − x / √(x² + e²)) / 2, to within 0.001.:hover lifts the card and :active presses it down to 1 px above
the page, however high it was. The light stays put, and every state has the same layer list, so the browser can transition
between them.The physics lives in src/lib/physics.js. The CSS export
is built in src/lib/css.js.