Gemini 4 Carbon is unreal 🤯
Is all of this code…?
A Kyoto moss garden made in Godot without any 3D model assets.
Draw one line and the stones bounce into place to form a bridge.
If you pass this post as-is to an AI Agent such as Claude Code or Codex, it should be able to reproduce the same behavior.
Here are the technical notes for the AI Agent 👇
■ Environment
Godot 4.7.2 (Forward+), rendering in real time at 1080p on my Mac. The terrain, stone bridge, buildings, and plants are all meshes generated by scripts, with no external 3D models.
■ 1. The “chemical reaction” from a single stroke
• The input is one Catmull–Rom spline. Resample it every 0.24 m and evaluate the river’s SDF at each point.
• If a stretch over water (SDF ≤ 0.48) runs for at least 1.2 m, extend it by 0.55 m at each end and replace it with an arch bridge. On land, use a three-course irregular stone wall.
• The arch follows the parabola 1−u². Generate the arch stones, keystone, paving stones, railings, and ornamental finials procedurally.
• When the second line (stepping stones) reaches the vicinity of a stone lantern, the lantern lights up.
■ 2. Stones that wobble on landing
• Each stone uses a second-order damped spring (damping ratio ζ = 0.43, ω = 23.5 rad/s, about 22% overshoot).
• Volume-preserving squash and stretch, plus a slight wobble.
• Inject ripples into the water as soon as a stone hits it. Register the bridge piers as obstacles so V-shaped wakes form downstream.
■ 3. Fluffy moss
• Use 20 layers of shell textures (MultiMesh). Use noise-driven alpha clipping to shape the tips, with dark humus tones at the base and translucent yellow-green tips when backlit.
• Starting 0.3 seconds after the stones stop wobbling, the moss grows up the joints over 1.45 seconds.
■ 4. Water
• A GLSL compute shader via RenderingDevice runs a 256 × 256 (rgba16f) shallow-water wave simulation. A nine-point stencil Laplacian…