water-cycle
Over a sea-and-mountain landscape the sun evaporates water, wind carries the cloud inland, rain falls and a river returns it to the sea.
Swipe sideways to see the whole figure.
- Verb
- cycle
- Archetype
- pipeline
- Domain
- earth-science
- viewBox
- 1680 × 600
- Control
- once: plays one pass, then rests on the finished state
- Pass
- 10 s
- Technique
- closed loop without reset; the packet changes type (vapour, droplet, stream) with a legend
- Tags
- water-cycle, closed-loop, earth-science, landscape, packet-transform, seamless
- Files
- water-cycle.html (fragment) · water-cycle-demo.html (playable page) · spec.yaml · thumb.png
- Source
- pool/water-cycle/
Paste the fragment into any HTML deck; it plays while an ancestor has the
class visible (one pass for once, then it holds the finished state) and
otherwise shows its resting frame. Rename the prefix
(water-cycle) when you adapt it so it stays unique in your deck.
spec.yaml
# The water cycle as a pipeline folded into a closed loop: evaporation, condensation,
# precipitation and runoff, with the last step flowing back into the first. Hand-built; the spec
# records structure and timing. The shipped water-cycle.html draws a landscape instead of boxes
# (sun, sea, a cloud over the sea, a rain cloud over a mountain, a river back to the sea) and one
# dashed loop guide through every step. The packet changes type on the way: vapour dots rise,
# a droplet rides the wind and falls as rain, a stream runs down the river into the sea. A small
# legend names the three packet kinds. Plays once: the pass is one full circuit, each step lights
# in turn and stays lit, the water ends back in the sea, and one packet of each kind settles on its
# leg. The resting frame (= end of the pass) shows all four steps and the river lit and one packet
# of each kind on the loop.
name: water-cycle
archetype: pipeline
verb: cycle
traveller: { name: water }
domain: earth science
size: [1680, 600]
control: once
cycle: 10
nodes:
- { id: evap, label: Evaporation, sub: "the sun warms the sea surface" }
- { id: cond, label: Condensation, sub: "vapour cools into cloud, wind carries it inland" }
- { id: precip, label: Precipitation, sub: "rain falls on high ground" }
- { id: collect, label: Runoff and collection, sub: "rivers carry it back to the sea" }
edges:
- { from: evap, to: cond, label: vapour }
- { from: cond, to: precip, label: droplet }
- { from: precip, to: collect, label: droplet }
- { from: collect, to: evap, label: water, kind: flow }
phases:
- { t: 0, label: evaporate, active: [evap], flow: ["evap>cond"] }
- { t: 2.08, label: condense, active: [cond], flow: ["cond>precip"] }
- { t: 4.32, label: rain, active: [precip], flow: ["precip>collect"] }
- { t: 5.28, label: runoff, active: [collect], flow: ["collect>evap"] }
- { t: 8.64, label: hold, active: [collect] }