product-viz
/product-viz
Buduje interaktywną wizualizację 3D prawdziwego produktu jako plik HTML i wideo 60 fps z wygenerowaną ścieżką dźwiękową.
- Autor
- Vedmeena21 ↗
- Repozytorium
- 3D-product-visualization ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 03.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 42
- Skrypty
- 26
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 03.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 26 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: engine/audio/__init__.py, engine/audio/mix.py, engine/audio/music.py, engine/audio/run.py, engine/audio/synth.py, engine/build.mjs, engine/capture.mjs, engine/lib/config.mjs
Co robi i kiedy
Buduje interaktywną wizualizację 3D prawdziwego produktu jako plik HTML i wideo 60 fps z wygenerowaną ścieżką dźwiękową.
Wyzwalacze z opisu
Oryginalny opis (EN)
Build an interactive 3D visualization of a real product, as one offline HTML page plus a 60 fps video with a generated score. Use when the user wants a product taken apart in 3D, an exploded view, a cutaway, a teardown video, a 3D model or demo page of a physical product, or a product video made with Claude, even if they don't say "skill" or "teardown".
Jak działa
- Steps
- Rules
- Before you hand it over
Podgląd SKILL.md
--- name: product-viz description: Build an interactive 3D visualization of a real product, as one offline HTML page plus a 60 fps video with a generated score. Use when the user wants a product taken apart in 3D, an exploded view, a cutaway, a teardown video, a 3D model or demo page of a physical product, or a product video made with Claude, even if they don't say "skill" or "teardown". --- # 3D product visualization Builds a product as one offline HTML page you can drive, plus a frame-by-frame video and a generated score. The worked example is `examples/m1pro/`; copy it, don't start from nothing. ## Steps 1. **Research first.** Collect real dimensions, parts and specs. Mark anything assumed; it is labelled on screen. 2. **Copy the example** to `examples/<product>/` (`<product>-shared`, `-live`, `-video`). 3. **Model the parts** in millimetres, grouped by layer so the exploded view can stagger them. 4. **Describe motion as data** (`model.js`): what moves, how far, when. The picture is a pure function of time: `render(t)` takes one number and keeps no state. That is what lets the same scene run live and be captured frame by frame. 5. **Write the edit** (`video.js` `SCRIPT`): cuts on the music's bars, one idea per shot, slow only the moment that matters. 6. **Build and look.** `node engine/build.mjs <product>-video`, then `node engine/capture.mjs <product>-video --headed --at 5,12,30 --out-dir out/stills` and view the stills. Fix, repeat. 7. **Sound and video.** `node examples/<product>/tools/timeline.mjs`, then `python3 engine/audio/run.py examples/<product>/<product>-shared/score.py`, then `node engine/capture.mjs <product>-video --headed --out out/video.mp4`. Mux the audio with ffmpeg. ## Rules - Pale studio, one accent colour. No text over busy areas, so the product stays the subject. - Page under 1 MB, so it loads instantly and works offline. - Every number on screen is real or labelled as assumed, so nobody mistakes a guess for a spec. - Keep installs local to the project (`engine/node_modules`), so nothing global changes. - Pass `--headed` to every capture on a Mac or any machine with a GPU; headless Chromium there fails with "Error creating WebGL context". - No GPU at all (a sandbox, CI): drop `--headed` and prefix captures with `PLAYWRIGHT_BROWSERS_PATH=0 node --import ./examples/m1pro/tools/swgl.mjs`. It renders in software at about 1 s per frame. Details: `docs/how-it-works.md`, `docs/make-your-own.md`. ## Before you hand it over - Stills checked at every cut, in the live page and in the video, not only the first frame. - Every number on screen is sourced or labelled as assumed. - `timeline.json` regenerated after the last edit, so the score matches the cuts. - Live page under 1 MB; score at −14 LUFS with peaks under −2 dBFS. - Nothing installed outside the project folder.
Pliki w paczce (42)
- .gitignore 1 KB
- LICENSE 1 KB
- README.md 9 KB
- SKILL.md 3 KB
- package.json 1 KB
- docs/how-it-works.md 2 KB
- docs/make-your-own.md 1 KB
- docs/sound.md 2 KB
- engine/README.md 2 KB
- engine/build.mjs 3 KB
- engine/capture.mjs 4 KB
- engine/package-lock.json 17 KB
- engine/package.json 1 KB
- engine/requirements.txt 1 KB
- engine/audio/__init__.py 1 KB
- engine/audio/mix.py 3 KB
- engine/audio/music.py 3 KB
- engine/audio/run.py 1 KB
- engine/audio/synth.py 4 KB
- engine/lib/config.mjs 1 KB
- engine/web/base.css 1 KB
- engine/web/rng.js 1 KB
- engine/web/video.js 2 KB
- engine/web/warm.js 1 KB
- examples/README.md 1 KB
- examples/hello-cube/main.js 1 KB
- examples/m1pro/m1pro-live/main.js 1 KB
- examples/m1pro/m1pro-shared/console.js 43 KB
- examples/m1pro/m1pro-shared/dims.js 9 KB
- examples/m1pro/m1pro-shared/live.js 13 KB
- examples/m1pro/m1pro-shared/model.js 8 KB
- examples/m1pro/m1pro-shared/mouse.js 47 KB
- examples/m1pro/m1pro-shared/score.py 6 KB
- examples/m1pro/m1pro-shared/skin.js 16 KB
- examples/m1pro/m1pro-shared/stage.js 12 KB
- examples/m1pro/m1pro-shared/video.js 23 KB
- examples/m1pro/m1pro-video/main.js 1 KB
- examples/m1pro/m1pro-video/timeline.json 2 KB
- examples/m1pro/m1pro-video-lite/main.js 1 KB
- examples/m1pro/tools/q-medium.json 1 KB
- examples/m1pro/tools/swgl.mjs 1 KB
- examples/m1pro/tools/timeline.mjs 5 KB
Wersje
W bazie nie ma innych skilli o nazwie product-viz.
Migawka bazy z 13.11.2026 · wersja paczki 26dc22e5e3b7 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 95teardown
Buduje interaktywny symulator 3D maszyny do rozłożenia na części, z panelami i nagraniem wideo 60 klatek na sekundę. - 100teardown
Buduje interaktywny symulator 3D maszyny lub mechanizmu do rozbierania na części, jako jedną stronę HTML z panelami i nagraniem wideo 60 fps. - 100threejs-procedural-teardown
Buduje interaktywną stronę 3D z rozkładem obiektu na części, np. samolotu, silnika lub maszyny, jako samodzielny plik HTML. - 95cutaway
Buduje w three.js robotyczny rozbiór obiektu z jednego zdjęcia, a film powstaje po zatwierdzeniu przez użytkownika. - 100cutaway
Buduje w kodzie robotyczny przekrój obiektu na podstawie zdjęcia: scenę three.js z przyciskiem dla każdej części i film. - 100blueprint-teardown
Tworzy rozrysowane ilustracje techniczne urządzeń i pakietów chipów, z widokami złożonym i rozłożonym, opisami części i eksportem SVG, PNG, PDF.