{"id":"chrome-swan","version":"1.0.0","title":"The Silver Swan","summary":"A heavy silver droplet draws itself into a long-necked swan above a black mirror, then pulls back into a drop. Liquid chrome with real reflections. Loops.","kind":"background","target":"three","collections":["impossible-worlds","chrome-glass","hypnotic-loops"],"tags":["chrome","swan","liquid metal","silver","droplet","mirror","reflection","luxury","surreal","bird","animal","black water","loop","portrait film"],"loopable":true,"motion":"procedural","durationSeconds":8,"status":"published","media":{"poster":"https://aipixelwizard.com/media/chrome-swan/1.0.0/poster.webp","preview":"https://aipixelwizard.com/media/chrome-swan/1.0.0/preview.mp4","sample":"https://aipixelwizard.com/media/chrome-swan/1.0.0/sample.mp4","sampleBytes":446884,"sampleNote":"Pre-rendered with the default settings. Customised settings must be exported locally (npm run render)."},"urls":{"page":"https://aipixelwizard.com/visuals/chrome-swan","manifest":"https://aipixelwizard.com/api/v1/visuals/chrome-swan/versions/1.0.0","agentMd":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/agent.md","files":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/","demo":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/index.html"},"description":"A single heavy droplet of liquid silver hangs above a rippling black mirror. It stretches and folds into a long-necked swan with folded wings, tooled feathers and one tiny ruby eye, with white architectural reflections running down its neck and a mirrored twin in the black water below. The swan holds, then pulls back into the droplet, so the film ends where it began and loops. The film has no settings.","role":"Shader film (three.js): Liquid chrome luxury surrealism, a finished 8-second portrait film with no settings.","useCases":["A jewellery, perfume or fashion brand teaser","A luxury dark-mode title backdrop","A looping background for a premium product page"],"synonyms":["silver swan animation","liquid metal swan","chrome droplet","mercury swan","liquid chrome animation","metal bird"],"digest":"edd13341a6d271a29c034522e002ed1a4875347e5dfbf22ae4e9285a7c0b1447","implementation":{"target":"three","runtime":"browser","language":"javascript","module":"esm","entry":"src/chrome-swan.js","exports":[{"name":"createChromeSwan","signature":"createChromeSwan() => { scene, camera, setSize(width, height), update(time), dispose() }","description":"The film as one full-screen shader; render its scene with its camera straight to the canvas."}],"reusable":["src/chrome-swan.js"],"demo":"demo.js","harness":"index.html"},"dependencies":[{"id":"three","version":"0.185.1","scope":"source","reason":"Renderer and a full-screen shader material."},{"id":"apw-runtime","version":"1.0.0","scope":"demo","reason":"Demo harness."}],"uses":[],"usedBy":[],"params":[],"presets":[],"output":{"width":1080,"height":1350,"fps":30,"durationSeconds":8,"posterSeconds":5.5,"alpha":false,"motion":"procedural","loop":{"seamless":true,"cycleSeconds":8,"method":"Every part of the film is a function of the time modulo its length, and every motion completes whole cycles, so the last frame meets the first."},"seed":null},"composition":{"inputs":"The time in seconds, 0 to 8. The film has no other settings.","outputs":"An opaque full-frame picture, already in display colours: render it straight to the canvas.","coordinates":"Composed for a 4:5 portrait frame and measured by the frame height: in a wider frame the picture stays centred at full height and its background fills the sides; in a narrower one, such as 9:16, the sides are cropped.","lighting":"A dark studio: soft white strip reflections on the chrome and a black mirror floor that reflects the swan.","timing":"A droplet draws itself into a swan, the swan holds and the wings fold, then it pulls back into the droplet.","compatibleWith":[],"notes":["The reflection in the black water is drawn from the same geometry, so it moves with the swan.","The metal is one continuous, smoothly blended surface, not separate parts.","Every pixel is a function of the time alone, so frames can be rendered in any order."]},"reuse":["Luxury teaser: loop it behind a logo; the swan stands fully formed through the middle of the film.","Seamless loop: it ends on the droplet it started from, so it can repeat for any length.","Beauty and fashion reels: the dark frame leaves room for a title above the swan."],"integration":{"newProject":"Create a WebGLRenderer on a canvas (no antialiasing), call createChromeSwan() once and film.setSize(width, height); then for each frame call film.update(timeInSeconds) and renderer.render(film.scene, film.camera).","existingProject":"Copy src/chrome-swan.js, which needs only three. Render film.scene with film.camera into your own canvas or render target; the output is opaque and already in display colours, so use no tone mapping or colour conversion."},"performance":{"notes":"One full-screen fragment shader. About 9 ms a frame at 1080 by 1350 on an integrated Intel GPU (Iris Xe), and about 1 s a frame with software WebGL.","limits":"Plays at 30 frames a second at full size on an integrated GPU."},"limitations":["The film is finished: it has no settings. To change colours or timing, edit the shader.","It is composed for a 4:5 portrait frame.","Its length is fixed at 8 seconds; repeat the loop to fill a longer clip."],"license":{"spdx":"MIT","notice":"Copyright (c) 2026 AI Pixel Wizard. Released under the MIT License. See LICENSE in this folder.","thirdParty":[]},"rights":{"approvedForPublicRelease":true},"provenance":"From the owner's collection Twenty Impossible Worlds: the original GLSL ES 3.00 shader of the film “The Silver Swan”, created with ChatGPT / Codex and used as published, wrapped for AI Pixel Wizard as a three.js full-screen shader in October 2026. The collection's synthesised soundtrack is not part of this ingredient.","changelog":[{"version":"1.0.0","date":"2026-10-10","notes":"Initial release."}],"verification":{"testedOn":"2026-10-10","inputs":{"chrome-swan@1.0.0":"edd13341a6d271a29c034522e002ed1a4875347e5dfbf22ae4e9285a7c0b1447","three@0.185.1":"664ca387e5fab46ff2daaa6895e1d015426850891af5ea5082cbbcc3985b068c","apw-runtime@1.0.0":"5be859cdac74823ba0bcc32c6daf06688a871104d24db5d4ceaffffd84d7c40d"},"environment":"Chrome 154.0.8037.97 headless on Linux 7.0.0-38-generic (x64), Node 22.14.0","renderer":"WebGL 2 via SwiftShader (software)","width":1080,"height":1350,"fps":30,"frames":240,"renderSeconds":769.6,"loopCheck":{"checked":true,"seamless":true,"maxDifference":0,"note":"Frame 0 vs end state (progress 1): mean |Δ| 0.0000, max |Δ| 0 of 255."},"determinism":{"checked":true,"identical":true},"errors":[],"media":{"poster":"/media/chrome-swan/1.0.0/poster.webp","preview":"/media/chrome-swan/1.0.0/preview.mp4","sample":"/media/chrome-swan/1.0.0/sample.mp4","sampleBytes":446884}},"files":[{"path":"LICENSE","size":1072,"sha256":"8a5f3a96f07e11522ec4bdd0a583356f99bad1245920f9709cee09b995a45153","contentType":"text/plain; charset=utf-8","url":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/LICENSE"},{"path":"asset.json","size":5861,"sha256":"d94f2d00f0c9f5b27b2b60760cb09459b61272d1145bb31ef0481ca6deb843a0","contentType":"application/json; charset=utf-8","url":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/asset.json"},{"path":"demo.js","size":663,"sha256":"d0c2da5a6ef51106b426159f0bb3c5f831204a2d3c2088ffed80efe777ed53a2","contentType":"text/javascript; charset=utf-8","url":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/demo.js"},{"path":"index.html","size":529,"sha256":"73c8d796a5bafbb81c23eda66f5258c3813f57e1293e804b7f69bff1a2080964","contentType":"text/html; charset=utf-8","url":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/index.html"},{"path":"src/chrome-swan.js","size":6980,"sha256":"357c62a1ea7a9a51b87596aad8925b594ddcd96b02750c89a66e7e9b558ccbc0","contentType":"text/javascript; charset=utf-8","url":"https://aipixelwizard.com/registry/chrome-swan/1.0.0/src/chrome-swan.js"}],"warnings":[]}