procedural-terrain-art
БесплатноЗапускает вложенные скриптыНе проверенTurn any real mountain, volcano, range, canyon or island on Earth into high-resolution procedural art from actual elevation data, in six print styles…
от dogum★ 26 звёзд на GitHubОб этом скилле
Procedural terrain art
This skill draws a real place, not an invented one. It downloads real elevation data, looks at the mountain from a real viewpoint, hides the lines that would be behind other terrain, and renders the result in a chosen print style. Everything is code, so any output can be re-rendered at any size, angle, light or palette.
Requirements: Python 3 with numpy, scipy, matplotlib, pillow and contourpy; network access to AWS Terrain Tiles; ffmpeg for video (optional).
Work in a writable folder (for example the session's outputs folder) and call the scripts by path. The skill folder itself may be read-only once installed, so nothing should be written there. In the commands below, SK is this skill's folder (the one containing this file). Images, DEM caches and video frames go next to --out, relative to the current folder.
If the user wants a photographic look (atmosphere, lake reflections, forests, a city at blue hour) or a painted one (oil, watercolour, ink), that is the procedural-realism skill.
What you can make
| Output | Tool | Typical time |
|---|---|---|
| Still image, one style (PNG/JPG, any size) | $SK/scripts/render.py --style <name> |
5–15 s at 3000×1000 |
| All six styles + contact sheet | $SK/scripts/render.py --style all |
~40–60 s |
| Looping orbit video (MP4) | $SK/scripts/animate.py |
1–4 s per frame at 1500×500 |
| Interactive web studio (sliders, six styles, orbit, PNG export) | $SK/scripts/build_studio.py |
~5 s to build |
Styles: survey (engraved ridgelines on parchment, sun in the saddle), topo (true contour lines from a high camera, triangulation network), nocturne (moonlit lines, stars, crescent), stipple (pointillist dots), riso (two spot inks, halftone, misregistration), woodcut (solid ink mass with carved lines that widen in the light).
Workflow
- Pin down the place. You need the summit's lat/lon and a viewpoint: the town or spot the famous view is from, passed as
--from lat,lon(or--facing <bearing>if there's no obvious viewpoint). The viewpoint decides which side of the mountain faces the camera and which peak sits on the left or right. Look coordinates up with web search if you're not certain; don't guess. If the user shows an image, identify the mountain from its silhouette and work out the viewpoint from which peak is on which side. - Draft fast. Run with
--quality 0.5(and a smaller--sizeif you like) and look at the output (view a downscaled copy; the full file is too big to inspect well). The first run fetches elevation tiles and caches them next to the output asdem_<lat>_<lon>.npz. Later runs into the same folder (render, animate and the studio) reuse it if it covers the area they need, and fetch a larger one if it doesn't;--demreuses a file from anywhere. - Frame it. Framing is automatic for the landform (see below). Adjust with the knobs in the table, one or two at a time, looking at each result.
- Render final at
--quality 1and the target size. Deliver the PNG plus a JPG if the PNG is over the platform's upload limit. - Offer the next step: the other styles as a contact sheet, an orbit video, or the web studio.
SK=/path/to/procedural-terrain-art # this skill's folder; run from a writable folder
# Ararat from Yerevan (two labelled peaks, Armenian names)
python $SK/scripts/render.py --peak 39.7019,44.2986 --from 40.1792,44.4991 --style survey \
--label "ՄԱՍԻՍ|5137 m" --label "ՍԻՍ|3896 [email protected],44.4011" --out out/ararat.png
# Fuji from Lake Kawaguchi, every style + contact_sheet.jpg
python $SK/scripts/render.py --peak 35.3606,138.7274 --from 35.5100,138.7550 --style all \
--label "富士山|3776 m" --title "富士山" --out out/fuji/
# A horn: the Matterhorn from Riffelsee (all framing automatic)
python $SK/scripts/render.py --peak 45.97639,7.65861 --from 45.98333,7.76222 --style nocturne \
--label "Matterhorn|4478 m" --out out/matterhorn.png
# A canyon: Brahma Temple from Mather Point
python $SK/scripts/render.py --peak 36.1304634,-112.0387030 --from 36.0616497,-112.1079463 --style riso \
--label "Brahma Temple|2302 m" --label "Zoroaster Temple|2171 [email protected],-112.0452" \
--title "Grand Canyon" --out out/canyon.png
# An island volcano seen from the coast is a quiet dome; this manual framing gives it shape
python $SK/scripts/render.py --peak 19.82056,-155.46806 --from 19.70556,-155.08583 --style topo \
--yaw 40 --relief 1.3 --spacing 0.5 --pan-y -90 --label "Mauna Kea|4207 m" --out out/mauna_kea.png
Labels: "Name|subtitle" labels the main summit; add @lat,lon for other peaks. --title is the big word in riso and woodcut, usually the name in the local script. --footnote replaces the coordinates line. The script ends with a JSON line: the summit it found, peak and base elevations, extent, the detected kind and the shape scores. Check the peak elevation against the real one: a large mismatch means the coordinates are off. (Tiles smooth sharp s
Установить procedural-terrain-art в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл procedural-terrain-art?
Turn any real mountain, volcano, range, canyon or island on Earth into high-resolution procedural art from actual elevation data, in six print styles (engraved ridgelines, topographic contours, moonlit nocturne, stipple, risograph, woodcut), plus looping orbit videos and a self-contained interactive web studio. Framing adapts to the landform, so cones, horns like the Matterhorn, massifs, ranges, canyons and islands all work. Use this whenever someone wants a mountain or landscape drawn with code, a profile header or banner (X/Twitter, LinkedIn, YouTube), poster, wallpaper or print of a real place, Unknown Pleasures-style ridgeline art of a real mountain, topographic or contour-line art, or asks to recreate an AI-generated landscape with code, even if they never say "terrain" or "elevation". Not for copying the album cover itself, GIS work (hillshade, viewshed, QGIS maps), 3D-print models or logos. For photographic renders, lakes, night cities or painted looks, use procedural-realism.
Как установить скилл procedural-terrain-art?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл procedural-terrain-art запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic