---
title: "Procedural mountain sheds rain into streams and lakes"
description: "A procedural mountain scene where rain falls and flows into streams and lakes."
canonical: "https://potto.ai/zh/videos/procedural-mountain-sheds-rain-into-streams-and-lakes"
language: "zh-CN"
datePublished: "2026-09-24"
---

# Procedural mountain sheds rain into streams and lakes

A procedural mountain scene where rain falls and flows into streams and lakes.

A procedural mountain landscape rendered in three.js, with shader work and physics driving the rain and water. Rain falls across the terrain and drains into streams and lakes. The explainer runs about 30 seconds.

- [讲解](https://potto.ai/zh/videos/explainer.md)
- 由 StephanFerraro
- 时长与比例: 0:30 · 16:9
- 制作工具: three.js, Shader, Physics
- 发布于 2026年9月24日
- 查看原片: https://x.com/StephanFerraro/status/2103020274107224281

## 提示词

```text
Your working directory for this task is `<PATH>` — an empty, freshly
initialized git repository. Do ALL work inside that directory only. Do not
modify anything outside it.

Complete the following task:

Build an interactive 3D water simulation in this empty repository.

Generate a procedural mountain landscape from a deterministic seed. Water must flow downhill according to the local terrain gradient, collect in depressions, and form visible streams and lakes.

Use TypeScript, Vite, and Three.js. Do not use a prebuilt physics engine or external 3D assets.

IMPORTANT — the application must be a FULLY AUTONOMOUS demo with NO user interaction and NO visible UI controls at all. Purpose: recording showcase videos for social media. Concretely:
- No visible control elements whatsoever (no buttons, sliders, panels, seed input, click-to-place-water). The screen shows only the 3D scene.
- On page load the simulation starts automatically: rainfall begins on its own and/or water springs emerge near mountain peaks, so water visibly flows downhill, forms streams, and collects into lakes without anyone touching anything.
- Add a slow, smooth automatic camera movement (e.g. gentle orbit around the terrain) so a recorded video looks good.
- Configuration (seed, rain intensity, simulation speed) may only exist via URL query parameters or code constants — never as on-screen UI.
- The scene background must NOT be black — use an attractive sky blue (e.g. around #87CEEB, ideally a soft gradient sky) with matching fog color so the horizon blends naturally. Also make sure the page body background is sky blue, not dark, so there is no dark flash before the canvas paints.

Keep the simulation, rendering, and user-interface/bootstrap code cleanly separated. Add meaningful automated tests for deterministic terrain generation, approximate conservation of water mass, and downhill flow direction.

Also add an executable `start.sh` in the repository root so that people who clone the repo can start the demo with a single command. It should: check that Node.js and npm are available and print a helpful message if not; run `npm install` if node_modules is missing; then start the app (dev server, plus a `--preview` mode for the production build) and print the local URL. chmod +x it and mention it in the README ("Quick start: ./start.sh").

Install the required dependencies, run the tests and production build, and independently fix any errors you encounter. Finally, document the architecture, the simulation model, how to run the application, and all known limitations in the README.

When you are finished, report: the final test results (pass/fail counts), the production build result, a short summary of the architecture, and any known limitations.
```

## Procedural mountain sheds rain into streams and lakes 常见问题

Procedural mountain sheds rain into streams and lakes 的制作方式、提示词内容，以及如何用 Potto 做出同类的 讲解 视频。

### Procedural mountain sheds rain into streams and lakes 是什么？

Procedural mountain sheds rain into streams and lakes 是 StephanFerraro 制作的 讲解 动态图形视频。 A procedural mountain scene where rain falls and flows into streams and lakes.

### Procedural mountain sheds rain into streams and lakes 是怎么制作的？

Procedural mountain sheds rain into streams and lakes 使用 three.js、Shader和Physics 制作，属于 Potto 上 讲解 分类的 AI 动画视频。

### 可以查看 Procedural mountain sheds rain into streams and lakes 的提示词吗？

可以。本页有 Procedural mountain sheds rain into streams and lakes 的完整提示词。你可以复制，或点击「使用此提示词」，在 Potto 工作台中打开。

### Procedural mountain sheds rain into streams and lakes 有多长，画面比例是多少？

Procedural mountain sheds rain into streams and lakes 时长为 0:30，画幅为 16:9。

### 我能用 Potto 做出像 Procedural mountain sheds rain into streams and lakes 这样的 讲解 视频吗？

可以。点击「使用此提示词」，把 Procedural mountain sheds rain into streams and lakes 的提示词载入 Potto 工作台。Potto 会渲染自己的版本，导出前你可以修改文字和风格。

### 在哪里观看 Procedural mountain sheds rain into streams and lakes 的原片？

Procedural mountain sheds rain into streams and lakes 最初由创作者发布。点击「查看原片」，即可在新标签页打开该帖。

### 在哪里可以找到更多像 Procedural mountain sheds rain into streams and lakes 这样的 讲解 视频？

在 Potto 上浏览 讲解 合集：264 支视频，每支都附有提示词、规格和来源。
