# 복셀 아트 뉴욕 디오라마: 프롬프트 하나, 에이전트 둘

블루 아워의 떠 있는 섬 위 복셀 아트 뉴욕 디오라마: 두 AI 에이전트가 같은 프롬프트로 만든 three.js 파일 하나와 12초 루프 영상.

Canonical URL: https://www.subclip.app/ko/agent-skills/community/examples/new-york-voxel-diorama

## 무엇을 만드나요

이 프롬프트는 독립 실행되는 three.js 페이지 하나를 요구합니다: 해 질 녘 직후 떠 있는 섬 위의 뉴욕시 복셀 디오라마를 항구에서 바라본 모습입니다. 자유의 여신상, 로어 맨해튼, 브루클린 브리지, 불 켜진 엠파이어 스테이트 빌딩이 또렷하게 보여야 하고, 층층이 쌓인 암석 지층, 섬 가장자리로 떨어지는 폭포, 움직이는 차량, 물결을 남기는 페리, 천천히 도는 카메라 궤도가 있어야 합니다. 모든 것을 코드로 생성하며, `renderAt(t)` 훅이 어느 순간이든 정확히 렌더링해야 페이지를 1080x1080의 이음매 없는 12초 루프로 캡처할 수 있습니다.

Rez는 GPU 하나에서 동시에 두 번 실행했습니다: 한 번은 Devin에서 claude-opus-5-5 모델을 요청해(Opus 5.5로 표기), 한 번은 Claude Code에서 claude-sonnet-5-5 모델을 요청해(Rez는 Sonnet 5.6 (next)로 표기) 돌렸습니다. 둘 다 작동하는 페이지, 루프 영상, 스틸 네 장을 내놓았습니다.

## 프롬프트 (prompt.md)

저장소의 prompt.md를 한 글자도 바꾸지 않고 그대로 실었습니다. 저장소의 모든 모델이 이 프롬프트를 똑같이 받았습니다. {{FOLDER}} 자리표시자가 있으면 보내기 전에 빈 출력 폴더로 바꾸세요.

```
Create a single self-contained HTML file using three.js that renders an ultra-detailed voxel diorama of New York City on a floating island at blue hour. The first frame looks in from New York Harbor. The Statue of Liberty leads the eye toward Lower Manhattan, the Brooklyn Bridge cuts across the East River, and the lit Empire State Building anchors Midtown farther back. Build enough depth between these silhouettes that all four read clearly as the camera moves.

## Island and composition

- Shape Manhattan into a long, tapered peninsula with a recognizable southern tip. Run the Hudson along its western shore and the East River along its eastern shore. Let them meet in a broad wedge of harbor in the foreground. Put a compact Brooklyn waterfront on the far side of the East River and Liberty Island out in the harbor. Compress distances while preserving those relationships.
- Cut the island into layered voxel strata of grey schist, weathered brown soil, and pale fractured stone. Add stepped ledges, slivers of roots below Central Park, dark pier pilings below the streets, and a jagged underside. Let the harbor spill over the front in broad ribbons, with thinner falls along the sides and mist beneath the lip. Keep the channels wide enough for moving boats and their wakes.
- Let the density change from the tight streets and piers of Lower Manhattan to Midtown's taller street grid, then open into Central Park. Scatter water towers, fire escapes, rooftop vents and lit windows across the surrounding mid-rise blocks. Leave gaps and lower roofs around the landmark silhouettes.

## Landmarks

- **Empire State Building and Chrysler Building.** Model the Empire State Building with a limestone shaft, vertical window bands, stepped Art Deco shoulders, a lit crown, and a slim mast. Give the Chrysler Building enough separation to show its silver crown, stacked triangular windows, and narrow spire.
- **One World Trade Center.** Use a square base, tapered triangular glass faces, and a slender antenna. Give it room above the clustered Financial District towers so its silhouette stays legible.
- **Brooklyn Bridge.** Build two stone towers with paired, open Gothic arches, a roadway and raised promenade, looping suspension cables, vertical hangers, and diagonal stays. Show the deck and cables against the open water. On the Brooklyn bank, put brick warehouses, a cobbled DUMBO street, and a waterfront park at the bridge approach.
- **Statue of Liberty.** Render the oxidized copper figure in stepped voxels with a seven-ray crown, sculpted robe, tablet, and a raised torch. Set it on a stone pedestal within Fort Wood's star-shaped walls. Angle the figure and camera so the face, torch arm, and tablet are readable at island scale.
- **Times Square and Central Park.** Carve out Broadway's diagonal through the grid with the red steps, colored billboard panels, a pedestrian plaza, and yellow taxis at its edges. Give Central Park an elongated footprint, layered fall foliage, curving paths, a lake, and the pale arch of Bow Bridge.

## Street and harbor life

- Move yellow cabs and city buses along the avenues, stop and release traffic at signals, and animate tiny pedestrians on the Brooklyn Bridge promenade, in Times Square, and along park paths. Add rooftop steam, gently changing billboard graphics, and enough movement on side streets to feel like a lived-in city.
- Run an orange Staten Island Ferry past Liberty Island and a smaller water taxi below the Brooklyn Bridge. Give each a bow wave, a V-shaped wake, and warm cabin lights reflected on the water. Move gulls above the piers and animate chop, waterfall spray, and mist. Hide route resets behind piers, buildings, or the edge of the primary view.

## Camera and lighting

- Set the scene just after sunset. Use a deep blue sky with a band of peach at the horizon, cool stone and water, warm apartment windows, and amber bridge lights. Let colored reflections break up across the harbor. Use soft shadows, ambient occlusion, ACES tone mapping, restrained bloom, and clean antialiasing. Preserve detail in the dark cliff faces and the bridge's stonework.
- Make a seamless 12-second loop at 30 fps with visible movement from frame one. Use a slow raised orbit that sweeps across roughly 40 degrees total and returns with a subtle push-in and pullback. Keep the Statue of Liberty, tallest spires, East River span, and rock underside comfortably inside the square frame throughout. Match camera position and velocity across the seam and keep traffic, ferries, and effects moving continuously through it.

## Delivery

Work only inside `{{FOLDER}}` (create it if missing), apart from tool installs and caches. If you need a local HTTP server, use a random high port (4xxxx).

1. `new-york.html` is the single self-contained file. The only external dependency allowed is three.js (core plus `examples/jsm` addons) from an exact pinned version on jsDelivr or unpkg via an import map. Generate all models, textures, lighting and lettering in code. Opened normally, the page plays the loop live. With `?render=1`, expose `window.renderAt(t)` with time in seconds. It must pose the whole scene and render exactly one frame independent of the wall clock or previously rendered frames. `renderAt(12)` must produce the same image as `renderAt(0)`.
2. `new-york.mp4` is rendered from that same file at 1080x1080, 30 fps, and exactly 12.0 seconds (360 frames). Encode H.264 High, yuv420p, CRF 18 or lower, and `-movflags +faststart`. The video is silent and contains no added titles, overlays, or UI.
   - Capture frames at `t = frame / 30` for frame indices 0 through 359. Drive the machine's Chrome or Edge with locally installed `playwright-core` or `puppeteer-core`, call `renderAt` for each frame, and pipe the frames into ffmpeg.
   - Verify the WebGL renderer uses the real GPU with `WEBGL_debug_renderer_info`. If Chrome falls back to SwiftShader on Windows, try `--use-angle=d3d11 --enable-gpu --ignore-gpu-blocklist` or run headed.
   - Capture at a higher resolution and downscale for crisp edges. Verify the output with `ffprobe`.
3. `stills/` contains 3-4 PNG frames extracted from the finished video.
4. `NOTES.md` records what you built, key techniques, the exact render command, and total build time.

Inspect renders during the build. Check that the Brooklyn Bridge arches and cables read against the water, Liberty's torch stays clear of the skyline, and the Midtown crowns remain distinct through the orbit. Fix visible z-fighting, clipping, aliasing and motion discontinuities. Verify that seeking to a time twice gives the same image and that the endpoint matches the opening frame. Watch the encoded loop across its seam and review frames from the start, every three seconds and the end.

In your final reply, provide the absolute paths to `new-york.html` and `new-york.mp4`, the `ffprobe` resolution, fps, frame count, duration and file size, and a 3-5 line summary.
```

## 생성 결과

### Opus 5.5 (devin)

요청한 모델: claude-opus-5-5-medium. 하네스: Devin. 추론 강도: xhigh. 제작 시간: 84분. GPU: NVIDIA GeForce RTX 4070 Ti. 렌더러: three.js 0.170.0. 영상: 1080x1080, 12 s.

영상: https://subclipweb.subclip.app/agent-skills/community/examples/new-york-voxel-diorama/opus-5.5-devin.mp4?v=3

Devin에서 약 84분 동안 만들었습니다(Rez는 Opus 5.5로 표기, claude-opus-5-5-medium을 xhigh 강도로 요청). 에이전트는 계단식 암석 띠, 뒤집힌 능선형 밑면, 폭포 리본 다섯 개를 가진 노이즈 초타원으로 섬을 깎은 뒤, 실제 도로 계획에서 가져온 필지 위에 절차적 건물 약 750채를 배치했고, 랜드마크는 더 촘촘한 복셀 격자로 만들었습니다(자유의 여신상은 부호 거리 도형으로 조각). 차량 약 1,160대와 보행자 780명이 12초마다 반복되는 타일형 컨베이어와 신호 주기를 따라 움직이고, 노선마다 똑같은 페리 두 척이 이음매에서 자리를 바꿉니다. 창문은 패치한 표준 재질 안에서 절차적으로 그리고, 항구는 파도가 정확히 반복되는 평면 반사를 씁니다. 점검: 실제 GPU 확인, `renderAt(0)`과 `renderAt(12)`의 해시 일치, 이음매 전후 카메라 속도 일치, 이음매 구간의 변화량이 다른 프레임 간격과 같음. 노트에는 스트레스 테스트에서 한 픽셀이 1/255 차이 난 것 말고는 약점이 적혀 있지 않습니다.

원본 파일: https://github.com/RezAIT00/agent-demos/tree/main/prompts/new-york/generations/opus-5.5-devin. Subclip 사본: https://github.com/subclip-app/agent-demos/tree/main/prompts/new-york/generations/opus-5.5-devin

### Sonnet 5.6 (next)

요청한 모델: claude-sonnet-5-5. 하네스: Claude Code. 추론 강도: xhigh. 제작 시간: 82분. GPU: NVIDIA GeForce RTX 4070 Ti. 렌더러: three.js 0.170.0. 영상: 1080x1080, 12 s.

영상: https://subclipweb.subclip.app/agent-skills/community/examples/new-york-voxel-diorama/sonnet-5.6-next.mp4?v=3

Claude Code에서 만들었고, Rez의 측정으로 약 82분, 에이전트 측정으로 76분이 걸렸습니다(Rez는 Sonnet 5.6 (next)로 표기, claude-sonnet-5-5를 xhigh 강도로 요청). 모서리 앰비언트 오클루전이 있는 그리디 복셀 메셔, 미리 구운 가로등과 광고판 빛 스플랫 약 730개를 담은 3D 조명 볼륨, 그리고 번진 반사와 배마다 경로를 따라 그린 물결이 있는 물 셰이더를 씁니다. 차량은 로드 시 Intelligent Driver Model을 한 번 돌리고 안정된 패턴을 12초마다 재생하며, 차들은 지붕 덮인 도로 입구 안에서 출발하고 끝납니다. 점검 과정에서 차량끼리 겹치는 문제, 다리 앵커리지를 관통하는 도로, 배 반사가 반대편으로 튀는 문제를 찾아 고쳤고, 최종적으로 겹침 0, 동일한 탐색 결과, 매끄러운 이음매를 얻었습니다. 스스로 밝힌 약점: 궤도 회전 중 원 월드 트레이드 센터가 타임스스퀘어 일부를 가로지르고, 충돌 검사가 작은 소품을 건너뛰며, 간판 글자가 설치된 폰트를 쓰고, 움직임은 사람이 보고 확인한 것이 아니라 수치로만 확인했습니다.

원본 파일: https://github.com/RezAIT00/agent-demos/tree/main/prompts/new-york/generations/sonnet-5.6-next. Subclip 사본: https://github.com/subclip-app/agent-demos/tree/main/prompts/new-york/generations/sonnet-5.6-next

## Subclip에서 만들기

1. **에이전트 연결.** Subclip AI Editor를 열고 Subclip MCP로 Claude Code나 Codex를 연결한 뒤 1080x1080, 30fps 정사각형 프로젝트를 만드세요. 프롬프트를 붙여 넣되 Delivery 섹션은 "열린 프로젝트 안에 디오라마를 런타임 레이어 하나로 만들고, 별도 페이지와 캡처 스크립트는 만들지 마라"로 바꾸세요.
2. **런타임 레이어로 만들기.** 에이전트는 `add_runtime_layer`로 장면을 추가하고, 업데이트할 때마다 `validate_runtime_layer_source`로 코드를 확인합니다. 레이어 규칙은 [three.js 3D 장면](https://www.subclip.app/ko/agent-skills/community/threejs-3d-scenes)과 [HyperFrames 모션 레이어](https://www.subclip.app/ko/agent-skills/community/hyperframes-motion-layers) 스킬에 있습니다. 카메라 궤도가 어긋나지 않도록 섬, 랜드마크, 차량을 한 레이어에 두세요.
3. **모든 프레임을 시간의 함수로.** 원본의 `renderAt(t)` 규칙은 타임라인에 그대로 대응합니다: 카메라, 배, 신호등, 폭포는 주기가 12초를 나누어떨어지게 하는 닫힌 형태의 시간 함수여야 합니다. 그래야 타임라인이 어느 프레임으로든 이동할 수 있고 루프 이음매가 맞습니다. 프레임 사이에 상태를 넘기지 말고, 실제 시계도 쓰지 마세요.
4. **렌더러부터 확인.** 렌더러에 대해서는 솔직히 말씀드립니다: Subclip 레이어 렌더러와 내보내기 경로에서 WebGPU와 무거운 WebGL2 지원은 아직 검증되지 않았습니다. 먼저 5초짜리 테스트 레이어를 만들어 미리보기와 내보낸 MP4에서 확인하고, 둘 중 하나라도 빈 화면이 나오거나 느리면 쓸 Canvas2D나 일반 WebGL 대안을 준비해 두세요. 이 디오라마는 그림자, 평면 반사, 블룸이 들어간 무거운 three.js 장면이므로 도시를 더하기 전에 섬과 랜드마크 하나부터 시작하세요.
5. **검토, 루프, 내보내기.** 구간 하나가 끝날 때마다 에이전트에게 `get_timeline_contact_sheet`를 요청하고, 중요한 순간(첫 프레임, 큰 변환마다, 마지막 프레임)은 `view_frame`으로 보게 하세요. 스틸만으로는 움직임 문제가 보이지 않으니 승인 전에 꼭 미리보기에서 재생해 보세요. 첫 프레임과 마지막 프레임을 비교해 이음매를 확인한 뒤 `export_video`로 정사각형 MP4를 내보내세요. 프롬프트는 무음 루프를 요구하므로 오디오 트랙은 비워 두거나, `search_public_audio`에서 찾은 잔잔한 도시 배경음을 오디오 아이템으로 넣으세요.

## 관련 커뮤니티 스킬

- https://www.subclip.app/ko/agent-skills/community/threejs-3d-scenes
- https://www.subclip.app/ko/agent-skills/community/hyperframes-motion-layers
- https://www.subclip.app/ko/agent-skills/community/motion-polish

## 출처와 크레딧

프롬프트와 생성 결과: **Rez** ([@RezAIT00](https://x.com/RezAIT00)), 출처 [github.com/RezAIT00/agent-demos](https://github.com/RezAIT00/agent-demos). Subclip이 보관한 저장소 사본: [github.com/subclip-app/agent-demos](https://github.com/subclip-app/agent-demos).

원본 프롬프트 폴더: https://github.com/RezAIT00/agent-demos/tree/main/prompts/new-york. Subclip 사본: https://github.com/subclip-app/agent-demos/tree/main/prompts/new-york

[모든 예제](https://www.subclip.app/ko/agent-skills/community/examples)