3D engine that AI agents drive
Remove unreferenced docs, preview images, render sidecars and Codex metadata
Nguyen Xuan An1d5c284767ec
diff --git a/docs/film-storyboard.md b/docs/film-storyboard.mddeleted file mode 100644index 9cdc9da8..00000000--- a/docs/film-storyboard.md+++ /dev/null@@ -1,96 +0,0 @@-# Oppenheimer: a 67js trailer study--This 187-second procedural reconstruction follows the visual structure of [Universal Pictures’ Oppenheimer New Trailer](https://www.youtube.com/watch?v=uYPbbksJxIg).-The study uses 33 authored cuts across 13 sets, rendered through the actual 67js WebGL engine.-All geometry, camera moves and motion come from the scene code.-The output contains no source footage, dialogue or soundtrack.--## Visual direction--The visual language combines dark mechanical closeups, window silhouettes, desert scale and a final night test.-Figures use continuous head and coat meshes with adult proportions, presented as graphic silhouettes.-They do not reproduce the actors’ faces.-The terrain has a contoured surface, broken mountain ridges, scattered shale and dry sage stems.-The shared terrain shader adds restrained surface detail.--The Gadget uses curved individual leads, connector sockets, labels, bolts and a moving suspension assembly.-The laboratory uses narrow valve filaments and grid hoops instead of glowing solid tubes.-The jeep has separate tires, hubs, fasteners, fenders, seats and a steering assembly.-Night work lights keep the tower readable before the detonation.--## Shot timeline--| Seconds | Set | Composition and action |-| --- | --- | --- |-| 0 to 7 | `apparatus` | A slow move across the machined iris and its illuminated rim. |-| 7 to 13 | `control` | Meter needles and pilot lights establish the control circuit. |-| 13 to 20 | `apparatus` | The wider pressure chamber reveals collars, bolts and copper feedthroughs. |-| 20 to 29 | `office` | A fedora silhouette stands against the slatted office windows. |-| 29 to 34 | `sparks` | Heated particles travel outward through a dark volume. |-| 34 to 39 | `laboratory` | A low laboratory move reveals valve grids and thin glowing filaments. |-| 39 to 45 | `desert` | The test tower sits small against the mountain horizon. |-| 45 to 56 | `settlement` | A forward move follows the research town street. |-| 56 to 64 | `settlement` | A low camera tracks the moving jeep and its suspension vibration. |-| 64 to 73 | `settlement` | Two distant silhouettes place the machinery at human scale. |-| 73 to 85 | `office` | A monochrome office angle returns to the isolated figure. |-| 85 to 91 | `waves` | Metallic ripple crests spread across a dark reflecting pool. |-| 91 to 98 | `atom` | Rotating filaments cross a field of luminous dust. |-| 98 to 105 | `gadget` | The suspended Gadget reveals its terminals, taped labels and curved cables. |-| 105 to 110 | `office` | A monochrome silhouette interrupts the mechanical sequence. |-| 110 to 118 | `desert` | A rising tower angle approaches the suspended vessel. |-| 118 to 126 | `gadget` | A closer lateral move follows the Gadget wiring and its slow pendulum motion. |-| 126 to 133 | `laboratory` | The laboratory returns through a second camera angle. |-| 133 to 140 | `control` | Meter needles and signal lamps tighten the countdown. |-| 140 to 145 | `desert` | A low tower view emphasizes the steel structure above the desert. |-| 145 to 154 | `portrait` | A figure watches the distant tower from the foreground. |-| 154 to 161 | `night` | The night tower appears through its practical work lights and ground signals. |-| 161 to 165 | `portrait` | The fedora silhouette fills the foreground before the final cuts. |-| 165 to 168 | `control` | The camera approaches the firing control. |-| 168 to 170 | `gadget` | An extreme Gadget detail holds on the wiring. |-| 170 to 172 | `sparks` | Accelerating particles interrupt the countdown. |-| 172 to 174 | `night` | A short night insert approaches the tower platform. |-| 174 to 176 | `office` | The monochrome figure returns for one final interruption. |-| 176 to 178 | `control` | The controls complete the mechanical countdown. |-| 178 to 179.5 | `sparks` | A brief particle burst leads into darkness. |-| 179.5 to 181 | `night` | The wide night tower holds before ignition. |-| 181 to 184 | `ignition` | The volumetric fireball expands before the title begins at 183.3 seconds. |-| 184 to 187 | `ignition` | The title holds over the fireball before the terminal fade. |--## Deterministic playback--`FILM_DURATION` remains 187.-`FILM_SHOTS` owns the camera endpoints and cut boundaries.-`createFilmScenes()` constructs shared meshes and retained part identities.-`sampleFilm(seconds)` returns the camera, set, local time, grade, fade, flash, explosion progress and title state.--Each animated set resets its retained matrices from fixed bases before sampling its motion.-Backward seeking therefore produces the same geometry state as forward playback.-Motion includes the Gadget suspension, meter needles, pilot lights, jeep travel, ripple crests, rotating filaments and particles.-Only the active set owns GPU resources.--Ignition begins at 181 seconds and reaches full volume by 182.7 seconds.-The title begins at 183.3 seconds, after the fireball has an unobstructed moment.-The final frame is black at 187 seconds.--## Render evidence--The final keyframe captures use hardware WebGL on an RTX 3060, HDR and four MSAA samples at 1280 × 720.-The eight standard samples cover the office, town, jeep, Gadget, tower, silhouette, night test and ignition.-Eight supplemental samples cover the iris, controls, sparks, laboratory, ripples, atomic filaments, close silhouette and title.-The reports record no browser errors or WebGL errors.--The measured set maximum is 1,347 parts and 390,128 submitted triangles.-The highest shared geometry count is 11.-The renderer allocation estimate stays below 85 MiB at these capture settings, within the configured 384 MiB target budget.-This estimate does not measure total driver or browser memory.--The local evidence is in `artifacts/astra-trailer/final/contact.png`, `details-contact.png` and the adjacent JSON reports.-The six film tests cover cuts, finite camera samples, camera continuity, geometry budgets, deterministic motion and outward coat surfaces.--## Reproduction--1. Run `node --test tests/film.test.js`.-2. Run `node scripts/render-media.mjs --kind stills --scene film --backend gpu --preset balanced --output artifacts/film-review/frame.png`.--This is an unofficial stylized reconstruction study.-The figures, architecture and materials remain procedural, without photorealistic character assets or recorded performances.diff --git a/docs/site-verification.md b/docs/site-verification.mddeleted file mode 100644index 009cdbe0..00000000--- a/docs/site-verification.md+++ /dev/null@@ -1,26 +0,0 @@-# Website and showcase verification--## 0.3.1--The site uses CodePawl's neutral light/dark surfaces, focus colors and rounded panels. The 67js mark is a transparent outline block. Navigation icons are local SVGs.--The documentation interface reads `docs/guide.md`. Release preparation copies that source into the plain-text download. The site also serves `llms.txt` for models and agents. The package includes the guide and both scene/media skills.--Measured checks:--- 64 Node tests passed, including scene bounds, geometry winding, animation and render budget checks.-- The site check exercised nine routes at 1440, 390 and 320 pixels. No horizontal page overflow remained.-- Mobile object and nature controls stayed below their canvases. Titles stayed above the canvases.-- Documentation search, empty results and topic anchors worked.-- Object compositions, lighting, PNG export and assembly playback worked. Reduced motion used a static assembly toggle.-- Motion looks, portrait framing, deterministic seeking and PNG export worked.-- Nature lighting presets worked. Existing wind, viewpoints, detail, water ripples and keyboard controls passed regression checks.-- The object regression covered layer switching, exploded exports, resource reuse, context restoration and keyboard orbit.-- Landscape and portrait H.264 films each contain 288 frames over 12 seconds at 24fps. Export kept one pending frame.-- Seven gallery WebP previews total 297880 bytes. Their source PNGs remain available separately.--Interface review covered the changed homepage, documentation, object and nature studios, and the shared navigation in the motion studio. Generated bundles and binary media were excluded from source review. Rendered review found wrapping navigation, a swatch override and controls overlapping mobile content. These causes were corrected and checked again.--Layout and native keyboard/control semantics were checked. Screen-reader operation, RTL, 200% browser zoom and formal contrast measurement were not verified. Typography, writing and color were checked only within the edited sources and rendered states. This is not a full accessibility certification.--The motion film used hardware WebGL and NVENC on an RTX 3060. Reported graphics allocations are estimates. They do not measure total browser RSS or driver VRAM.diff --git a/docs/wall-e-exploded.png b/docs/wall-e-exploded.pngdeleted file mode 100644index 54e70882..00000000Binary files a/docs/wall-e-exploded.png and /dev/null differdiff --git a/public/media/clockwork-portrait.mp4.json b/public/media/clockwork-portrait.mp4.jsondeleted file mode 100644index f84b2262..00000000--- a/public/media/clockwork-portrait.mp4.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "motion",- "kind": "video",- "backend": "gpu",- "preset": "preview",- "aspect": "portrait",- "start": 0,- "encoder": "gpu",- "assembly": null,- "width": 540,- "height": 960,- "actualRenderSize": {- "width": 540,- "height": 960,- "reduced": false- },- "fps": 24,- "duration": 12,- "memoryBudgetMiB": 256,- "peakEstimatedRenderBytes": 43872640,- "peakNodeBytes": 213807104,- "peakBrowserHeap": 7253352,- "maximumPendingFrames": 1,- "firstFrameBytes": 485536,- "elapsedSeconds": 53.407319199999996,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 2,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 2,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "clockwork-portrait.mp4",- "errors": []-}\ No newline at end of filediff --git a/public/media/clockwork.mp4.json b/public/media/clockwork.mp4.jsondeleted file mode 100644index 794f0f54..00000000--- a/public/media/clockwork.mp4.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "motion",- "kind": "video",- "backend": "gpu",- "preset": "preview",- "aspect": "landscape",- "start": 0,- "encoder": "gpu",- "assembly": null,- "width": 960,- "height": 540,- "actualRenderSize": {- "width": 960,- "height": 540,- "reduced": false- },- "fps": 24,- "duration": 12,- "memoryBudgetMiB": 256,- "peakEstimatedRenderBytes": 43872640,- "peakNodeBytes": 209313792,- "peakBrowserHeap": 7255300,- "maximumPendingFrames": 1,- "firstFrameBytes": 488960,- "elapsedSeconds": 53.7601426,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 2,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 2,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "clockwork.mp4",- "errors": []-}\ No newline at end of filediff --git a/public/previews/assets.png b/public/previews/assets.pngdeleted file mode 100644index 9b386967..00000000Binary files a/public/previews/assets.png and /dev/null differdiff --git a/public/previews/assets.png.json b/public/previews/assets.png.jsondeleted file mode 100644index 0724fc92..00000000--- a/public/previews/assets.png.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "assets",- "kind": "image",- "backend": "gpu",- "preset": "high",- "aspect": "landscape",- "start": 0,- "encoder": null,- "assembly": null,- "width": 1920,- "height": 1080,- "actualRenderSize": {- "width": 1920,- "height": 1080,- "reduced": false- },- "fps": 24,- "duration": null,- "memoryBudgetMiB": 512,- "peakEstimatedRenderBytes": 174509440,- "peakNodeBytes": 141959168,- "peakBrowserHeap": 0,- "maximumPendingFrames": 0,- "firstFrameBytes": 163485,- "elapsedSeconds": 1.6140099,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 4,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 4,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "assets.png",- "errors": []-}\ No newline at end of filediff --git a/public/previews/film-contact.png b/public/previews/film-contact.pngdeleted file mode 100644index 3a208cbb..00000000Binary files a/public/previews/film-contact.png and /dev/null differdiff --git a/public/previews/motion.png b/public/previews/motion.pngdeleted file mode 100644index 2f083e90..00000000Binary files a/public/previews/motion.png and /dev/null differdiff --git a/public/previews/motion.png.json b/public/previews/motion.png.jsondeleted file mode 100644index 86a987ee..00000000--- a/public/previews/motion.png.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "motion",- "kind": "image",- "backend": "gpu",- "preset": "high",- "aspect": "landscape",- "start": 0,- "encoder": null,- "assembly": null,- "width": 1920,- "height": 1080,- "actualRenderSize": {- "width": 1920,- "height": 1080,- "reduced": false- },- "fps": 24,- "duration": null,- "memoryBudgetMiB": 512,- "peakEstimatedRenderBytes": 174509440,- "peakNodeBytes": 123269120,- "peakBrowserHeap": 0,- "maximumPendingFrames": 0,- "firstFrameBytes": 1875851,- "elapsedSeconds": 2.7473774000000004,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 4,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 4,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "motion.png",- "errors": []-}\ No newline at end of filediff --git a/public/previews/motion.webp b/public/previews/motion.webpdeleted file mode 100644index b35056e8..00000000Binary files a/public/previews/motion.webp and /dev/null differdiff --git a/public/previews/nature.png b/public/previews/nature.pngdeleted file mode 100644index 7c346953..00000000Binary files a/public/previews/nature.png and /dev/null differdiff --git a/public/previews/nature.png.json b/public/previews/nature.png.jsondeleted file mode 100644index 955f3c59..00000000--- a/public/previews/nature.png.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "nature",- "kind": "image",- "backend": "gpu",- "preset": "high",- "aspect": "landscape",- "start": 0,- "encoder": null,- "assembly": null,- "width": 1920,- "height": 1080,- "actualRenderSize": {- "width": 1920,- "height": 1080,- "reduced": false- },- "fps": 24,- "duration": null,- "memoryBudgetMiB": 512,- "peakEstimatedRenderBytes": 176127760,- "peakNodeBytes": 123863040,- "peakBrowserHeap": 0,- "maximumPendingFrames": 0,- "firstFrameBytes": 1530328,- "elapsedSeconds": 2.2022288,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 4,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 4,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "nature.png",- "errors": []-}\ No newline at end of filediff --git a/public/previews/view2d.png b/public/previews/view2d.pngdeleted file mode 100644index 75b67e5c..00000000Binary files a/public/previews/view2d.png and /dev/null differdiff --git a/public/previews/view2d.png.json b/public/previews/view2d.png.jsondeleted file mode 100644index f3ede389..00000000--- a/public/previews/view2d.png.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "view2d",- "kind": "image",- "backend": "gpu",- "preset": "high",- "aspect": "landscape",- "start": 0,- "encoder": null,- "assembly": null,- "width": 1920,- "height": 1080,- "actualRenderSize": {- "width": 1920,- "height": 1080,- "reduced": false- },- "fps": 24,- "duration": null,- "memoryBudgetMiB": 512,- "peakEstimatedRenderBytes": 128792320,- "peakNodeBytes": 144084992,- "peakBrowserHeap": 0,- "maximumPendingFrames": 0,- "firstFrameBytes": 99412,- "elapsedSeconds": 1.5712955000000002,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 4,- "capabilities": {- "hdr": false,- "hdrRequested": false,- "hdrFallbackReason": null,- "samples": 4,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "view2d.png",- "errors": []-}\ No newline at end of filediff --git a/public/previews/wall-e-exploded.png b/public/previews/wall-e-exploded.pngdeleted file mode 100644index 53ce4e8c..00000000Binary files a/public/previews/wall-e-exploded.png and /dev/null differdiff --git a/public/previews/wall-e-exploded.png.json b/public/previews/wall-e-exploded.png.jsondeleted file mode 100644index a4496a03..00000000--- a/public/previews/wall-e-exploded.png.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "object",- "kind": "image",- "backend": "gpu",- "preset": "high",- "aspect": "landscape",- "start": 0,- "encoder": null,- "assembly": 1,- "width": 1920,- "height": 1080,- "actualRenderSize": {- "width": 1920,- "height": 1080,- "reduced": false- },- "fps": 24,- "duration": null,- "memoryBudgetMiB": 512,- "peakEstimatedRenderBytes": 174964416,- "peakNodeBytes": 131231744,- "peakBrowserHeap": 0,- "maximumPendingFrames": 0,- "firstFrameBytes": 370215,- "elapsedSeconds": 1.8863638,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 4,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 4,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "wall-e-exploded.png",- "errors": []-}\ No newline at end of filediff --git a/public/previews/wall-e.png.json b/public/previews/wall-e.png.jsondeleted file mode 100644index da6752f8..00000000--- a/public/previews/wall-e.png.json+++ /dev/null@@ -1,40 +0,0 @@-{- "scene": "object",- "kind": "image",- "backend": "gpu",- "preset": "high",- "aspect": "landscape",- "start": 0,- "encoder": null,- "assembly": 0,- "width": 1920,- "height": 1080,- "actualRenderSize": {- "width": 1920,- "height": 1080,- "reduced": false- },- "fps": 24,- "duration": null,- "memoryBudgetMiB": 512,- "peakEstimatedRenderBytes": 174964416,- "peakNodeBytes": 123981824,- "peakBrowserHeap": 0,- "maximumPendingFrames": 0,- "firstFrameBytes": 408843,- "elapsedSeconds": 1.8482094999999998,- "graphics": {- "gpu": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 (0x00002487) Direct3D11 vs_5_0 ps_5_0, D3D11)",- "samples": 4,- "capabilities": {- "hdr": true,- "hdrRequested": true,- "hdrFallbackReason": null,- "samples": 4,- "maximumTextureSize": 16384- },- "glError": 0- },- "output": "wall-e.png",- "errors": []-}\ No newline at end of filediff --git a/skills/build-67js-scene/agents/openai.yaml b/skills/build-67js-scene/agents/openai.yamldeleted file mode 100644index f4a2688c..00000000--- a/skills/build-67js-scene/agents/openai.yaml+++ /dev/null@@ -1,4 +0,0 @@-interface:- display_name: "Dựng cảnh 3D bằng 67js"- short_description: "Dựng model, cảnh thiên nhiên và phim bằng 67js"- default_prompt: "Use $build-67js-scene to implement and inspect this 67js scene."diff --git a/skills/render-67js-media/agents/openai.yaml b/skills/render-67js-media/agents/openai.yamldeleted file mode 100644index ec73a5db..00000000--- a/skills/render-67js-media/agents/openai.yaml+++ /dev/null@@ -1,4 +0,0 @@-interface:- display_name: "Xuất ảnh và video 67js"- short_description: "Render ảnh, video bằng GPU hoặc CPU có giới hạn nhớ"- default_prompt: "Use $render-67js-media to export this scene and verify its quality and memory report."