Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Byzantine Mosaic

Sheet-driven wall-mosaic films — a flat motif cartoon is laid in hand-cut tesserae along every contour (andamento), with mortar grout, bevelled tile edges, a lime setting bed with sinopia underdrawing, glinting gold smalti, and a raking light pass. One JSON sheet drives the film.

範例 · 2

線上執行

免費

在 SandBase sandbox 中執行 Byzantine Mosaic 的範例,並在此立即查看結果。

運作方式

  1. 01

    Write the sheet

    Write a JSON sheet with 1 to 40 motifs placed in wall space: a haloed figure, a medallion or panel with a bird, fish, tree or ship, an uppercase Latin inscription, a column or stars. Add camera keyframes with time, position and zoom, a palette (gold or dusk), a ground colour, the laying duration and the total film length of 6 to 120 seconds.

  2. 02

    Build the page

    Run npm install, then node scripts/build.mjs my-sheet.json --out build/my-sheet. The engine paints the motifs flat into a label map and lays tesserae along every contour itself, with mortar grout, bevelled edges, a lime setting bed and red-ochre sinopia underdrawing. The Skill calls no model and needs no API key.

  3. 03

    Check stills and render

    node scripts/stills.mjs writes a contact sheet to check the laying order: figure, robe, halo, letters, the gold ground, then the border. node scripts/render.mjs --build build/my-sheet --out film.mp4 renders an H.264 film with a report, adding a synthesized AAC track when audio is synthetic. The bundled films are 24-second 1920×1080 renders at 30 fps.

常見問題

What does Byzantine Mosaic render?

Byzantine Mosaic renders a short film of a Byzantine wall mosaic being laid. It opens on a bare lime bed with red-ochre underdrawing, then thousands of hand-cut tesserae are set row by row along every contour, gold smalti flash under raking light, and the last beat pulls back to show the finished panel.

Which motifs can Byzantine Mosaic draw?

Byzantine Mosaic has six built-in motif painters: a frontal haloed figure, a medallion with a bird, fish, tree or ship, a framed narrative panel, an uppercase Latin inscription, a processional column and eight-point stars. A sheet places 1 to 40 of them; free drawing beyond these painters is not supported.

Is Byzantine Mosaic based on photographs?

No. Byzantine Mosaic draws every tessera procedurally from the sheet's motifs; it uses no mosaic photography. The engine runs the andamento tessellation itself, setting tiles in rows that echo each contour. The output is a fixed film, not an interactive wall builder.

Does Byzantine Mosaic have sound?

Byzantine Mosaic adds a synthesized, loudness-normalized soundtrack when the sheet's audio is synthetic, which is the default, and the MP4 then carries an AAC track. Set audio to silent for a picture-only film. The two bundled films are silent, and no recorded audio is included.

Can Byzantine Mosaic write Chinese inscriptions?

No. In Byzantine Mosaic the inscription motif takes uppercase Latin text only, like a stone inscription, and draws no Chinese characters. The sheet's lang field changes the page typeface, and a Chinese example ships as river-shrine-zh.json with Chinese titles around a Latin-lettered wall.

How do I control the camera in Byzantine Mosaic?

In Byzantine Mosaic the camera is a list of keyframes with time, x, y and zoom in wall units, and the engine eases between them. Zoom 1 fits the wall to the frame. The focus point sets the halo centre, and the gold sweep radiates outward from it. The wall itself defaults to 1280 by 720 units.