About
An interactive canvas topographic map where dragging the cursor carves a river channel into a live contour heightfield, with the terrain healing itself back over a few seconds and ambient ripples and sediment drifting even at rest.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Terrain Erosion Carve to your project and fits it to your theme.
Code
How Terrain Erosion Carve is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ErosionTrail from "@/components/ui/terrain-erosion-carve";
export default function TerrainErosionCarveDemo() {
return (
<div className="w-full h-screen">
<ErosionTrail className="h-full" />
</div>
);
}
















