anim-slides gallery

photosynth-respiration

Photosynthesis and cellular respiration side by side; as each respiration row enters, its direction badge flips to the opposite of photosynthesis.

Photosynthesis in the chloroplast Cellular respiration mainly in the mitochondria glucose + O₂ CO₂ + H₂O taken in 6 CO₂ from the air given off 6 CO₂, breathed out taken in 6 H₂O, split by light given off 6 H₂O, as a product captured light, stored in glucose released as ATP, plus heat made glucose, built from CO₂ broken down glucose is the fuel given off 6 O₂, from the split water taken in 6 O₂ from the air CO₂ H₂O Energy C₆H₁₂O₆ O₂ 6 CO₂ + 6 H₂O + light → C₆H₁₂O₆ + 6 O₂ C₆H₁₂O₆ + 6 O₂ → 6 CO₂ + 6 H₂O + energy (ATP) Same molecules, opposite direction: energy stored as glucose is released as ATP

Swipe sideways to see the whole figure.

Download playable demo
Verb
switch
Archetype
compare
Domain
biology
viewBox
1680 × 600
Control
once: plays one pass, then rests on the finished state
Pass
10 s
Technique
opposites compare with direction badges that flip per row
Tags
biology, photosynthesis, cellular-respiration, opposites, molecules, textbook
Files
photosynth-respiration.html (fragment) · photosynth-respiration-demo.html (playable page) · spec.yaml · thumb.png
Source
pool/photosynth-respiration/

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 (photosynth-respiration) when you adapt it so it stays unique in your deck.

spec.yaml

# Photosynthesis and cellular respiration as opposites: the same five substances in aligned rows,
# with a badge per row in the gutter whose arrow flips to the opposite direction as each
# respiration row enters (down = taken in, up = given off). Glucose + O2 travel from the
# chloroplast to the mitochondrion, CO2 + H2O travel back. Scaffold with:
#   python3 scripts/scaffold_from_spec.py pool/photosynth-respiration/spec.yaml -o /tmp/anim/photosynth-respiration/photosynth-respiration.html
# The pool fragment was hand-built (gutter badges with flipping arrows, organelle glyphs,
# molecule packets on arcs, equation captions); re-scaffolding gives the row skeleton only.
name: photosynth-respiration
archetype: compare
verb: switch
domain: biology
size: [1680, 600]
control: once
cycle: 10
nodes:
  - { id: l-co2,  side: left,  group: photo, label: "CO₂ taken in",      sub: "6 CO₂ from the air" }
  - { id: l-h2o,  side: left,  group: photo, label: "H₂O taken in",      sub: "6 H₂O, split by light" }
  - { id: l-nrg,  side: left,  group: photo, label: "Light captured",    sub: "stored in glucose" }
  - { id: l-glu,  side: left,  group: photo, label: "Glucose made",      sub: "built from CO₂" }
  - { id: l-o2,   side: left,  group: photo, label: "O₂ given off",      sub: "from the split water" }
  - { id: r-co2,  side: right, group: resp,  label: "CO₂ given off",     sub: "breathed out" }
  - { id: r-h2o,  side: right, group: resp,  label: "H₂O given off",     sub: "as a product" }
  - { id: r-nrg,  side: right, group: resp,  label: "Energy released",   sub: "as ATP, plus heat" }
  - { id: r-glu,  side: right, group: resp,  label: "Glucose broken down", sub: "the fuel" }
  - { id: r-o2,   side: right, group: resp,  label: "O₂ taken in",       sub: "from the air" }
groups:
  - { id: photo, label: "Photosynthesis" }
  - { id: resp,  label: "Cellular respiration" }
phases:
  - { t: 0,   label: setup, show: [photo, resp] }
  - { t: 0.7, label: photosynthesis, show: [l-co2, l-h2o, l-nrg, l-glu, l-o2], note: "6 CO₂ + 6 H₂O + light → C₆H₁₂O₆ + 6 O₂" }
  - { t: 2.9, label: co2,  show: [r-co2], active: [l-co2, r-co2], note: "C₆H₁₂O₆ + 6 O₂ → 6 CO₂ + 6 H₂O + energy (ATP)" }
  - { t: 3.7, label: h2o,  show: [r-h2o], active: [l-h2o, r-h2o] }
  - { t: 4.6, label: energy, show: [r-nrg], active: [l-nrg, r-nrg] }
  - { t: 5.5, label: glucose, show: [r-glu], active: [l-glu, r-glu] }
  - { t: 6.4, label: oxygen, show: [r-o2], active: [l-o2, r-o2] }
  - { t: 8.6, label: verdict, note: "Same molecules, opposite direction: energy stored as glucose is released as ATP" }
  - { t: 9.2, label: hold }