Procedural corrosion · paint, seams, rivets, runs

Rusty metal generator

Steel does not rust evenly. It starts at pinholes, scratches and seams where water sits, spreads outward, and darkens as it ages. This page keeps one map of when each point starts to rust and sweeps an age slider through it; paint, plates, rivets and running water all act on that map.

–age
–rusted
–parameters
–preview px

Why it starts in spots

Rusting is electrochemical: iron dissolves at one place and oxygen is consumed at another, with water carrying the current between them. A pinhole in a coating, a scratch, or a crevice that stays wet becomes the place where iron dissolves, so rust begins as specks and lines and spreads from there.

Why the colours change

The first product is orange and powdery, mostly hydrated iron oxides such as lepidocrocite. With time and cycles of wetting and drying it turns into browner goethite and red hematite, and the layer next to the metal, short of oxygen, is black magnetite. A patch is therefore youngest and most orange at its edge.

Why paint blisters and runs

Rust takes up several times the volume of the iron it replaces. Growing under a paint film it lifts the paint into blisters and then flakes it off. Rain dissolves and carries a little iron downhill, where it dries as an orange-brown run below every seam and chip.

What comes from the real thing, and what this page chose

From the real thing

  • Rust starts at defects, seams, fasteners and scratches, and spreads outward from them.
  • Young rust is orange; older rust is red-brown, then dark. Edges of a patch are younger than its middle.
  • Rust is bulkier than the iron it came from, so it swells, lifts in layers and blisters paint.
  • Runs follow gravity from wherever rust is exposed.

Chosen by this page

  • Nothing is simulated chemically. “When each point starts to rust” is a fractal noise with head starts added along seams, rivets and scratches.
  • Age is one global slider. Real sheets rust at rates set by wetness, salt and alloy, which are not modelled.
  • Runs are the rust mask smeared straight down and broken up by noise. Water does not flow round rivets or pool on seams here.
  • Pits, grain and flake terraces are separate noises laid on top, not the result of metal loss.
  • The light is a single direction with a simple highlight. It is a texture preview, not a physically based render.
  • The stencil and the scratches do not repeat at the tile edge the way everything else does; scratches wrap, a stencil is placed once.