Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Pixel Iso City

Turn a real city block into an isometric pixel-art city: OpenStreetMap buildings at their mapped heights, labelled landmarks, traffic and water, pan, zoom and turn it from day into night.

Ví dụ

Pixel Iso City interactive demo
Mở trong tab mới

Pixel Iso City interactive demo

Ví dụ chạy trong khung được sandbox hóa, không có quyền truy cập vào trang này.

Chạy trực tuyến

Chạy trong sandbox của SandBase và xem kết quả trong Lab.

Mở trong Lab ↗

Bạn nhận được gì

Bring a box on a city map and the landmarks to pin. The Skill returns a downloadable Skill (area bake, meta prompt, lessons, verification), a runnable scene and a 60-second film.

Cách hoạt động

  1. 01

    Bake a city box

    Pixel Iso City bakes a bounding box from OpenStreetMap, for example node scripts/bake-area.mjs --bbox "52.3640,4.8790,52.3760,4.8960" --out my-city/src/city/area.json --title "Canal Ring" --pin "Westerkerk" --pin "Munttoren". The bake makes one request to a public Overpass server, caches the answer beside the output and refuses boxes over 3.5 km on a side. Set PIXEL_CITY_USER_AGENT first.

  2. 02

    Style the pixel city

    src/city/area.json holds baked footprints and building parts with heights, roads, railways, water, coastline, parks and pinned landmarks; it is never hand-drawn. src/city/style.json sets the bilingual place name, ground colours, facade and roof palettes per building type, cars, driving side, landmark notes and the film. The shared renderer in src/iso/ traces the ground from a 2 m grid.

  3. 03

    Verify and record the tour

    npm run build:single writes one offline HTML file, npm run shoot checks it in Chrome and npm run record writes film/film.mp4 and film/poster.jpg with FFmpeg. The Harbour Grid sample of Central, Hong Kong is a 60 second, 1920 by 1080, 30 fps silent film with 1406 buildings and parts and 8 landmarks. Release 0.1.2 passed seven interactions plus the compact embed.

Câu hỏi thường gặp

What does Pixel Iso City make?

Pixel Iso City turns a real city block into an isometric pixel-art city. Buildings stand as prisms on their mapped footprints at mapped or typical heights, towers get floor bands and windows, cars drive the main roads, water ripples and the light runs from day through sunset to lit windows and street lamps at night.

Is Pixel Iso City a photo or 3D model of the city?

No. Pixel Iso City takes footprints, heights and names from OpenStreetMap and draws colours, windows and textures in code from the building type and style.json. The ground is flat, so the city follows the street plan but not hills.

Why is a landmark missing or short in Pixel Iso City?

Pixel Iso City depends on OpenStreetMap coverage. Towers mapped as building parts take their tallest part, and unmapped heights come from the building type. Pin the exact mapped name with --pin, and add --english for English names.

Does Pixel Iso City need a key or cost money?

No. Pixel Iso City needs no keys and calls no model; the only network use is one bake request to a public Overpass server, and the finished page makes no requests at all, so nothing is billed. If every Overpass replica answers empty while resyncing, the bake asks you to run it again later.

What licence covers Pixel Iso City maps?

Pixel Iso City uses map data from OpenStreetMap contributors under the ODbL. A baked area.json is a derived database, so share it under the ODbL and keep the credits line visible wherever the city is shown. The pictures themselves are drawn by code.

What are the Pixel Iso City controls?

Pixel Iso City plays or pauses its tour with Space, pans by dragging or with arrow keys, zooms with scroll, pinch or plus and minus, and turns a quarter with Q and E. A light slider runs day to night, N jumps to the next landmark and L toggles labels. ?lang=zh-CN switches to Simplified Chinese.

Lab Skill · Interactive scenes

Resin Diorama

Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

Lab Skill · Interactive scenes

3D Vehicle Worlds

Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

Lab Skill · Interactive scenes

3D Firefly Terrariums

Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Lab Skill · Interactive scenes

Jelly Candy: Fruit Bears

Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

Lab Skill · Interactive scenes

WebGPU Soft-Body Gummy Bears

Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Lab Skill · Interactive scenes

Stone Stars: 3D Miniature Landmark City

Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.