Sunlight warms the surface. The surface gives the heat back as infrared, and CO₂ molecules catch some of it and send it in all directions, including back down. More CO₂ means a warmer surface until the heat leaving matches the sunlight arriving.
Doubled CO₂ is the wow preset: watch the temperature curve bend toward the purple equilibrium line. Switch Feedbacks off to see the warming from CO₂ alone, then on again. Drag CO₂ while it runs: the equilibrium line moves and the surface follows. Remove clouds to see how much cooling they provide. Export the CO₂ sweep to get warming against CO₂ as a CSV, with the forcing formula in the method. One-layer energy balance (Earth as a surface under one infrared-absorbing layer; textbook form, e.g. Hartmann, Global Physical Climatology). Absorbed sunlight is (S/4)(1 − albedo) with S = 1361 W/m²; outgoing infrared is (1 − ε/2)σT⁴ with ε the layer's infrared absorptivity. With no atmosphere T = (S(1 − α)/4σ)^¼ = 255 K; ε = 0.78 gives 288 K. CO₂ raises ε so the forcing matches ΔF = 5.35 ln(C/C0) W/m², C0 = 280 ppm (Myhre et al. 1998, GRL 25). With feedbacks on, warming adds water-vapour and lapse-rate feedback 1.3 W/m² per K and cloud feedback 0.42 (IPCC AR6 WG1 ch. 7, table 7.10) plus ice-albedo feedback 0.35 W/m² per K, so a doubling gives about 3 K at equilibrium (AR6 likely range 2.5 to 4 K) and 1.1 K without feedbacks. Cloud cover shifts albedo by 0.14 per unit cover and infrared absorption by 28 W/m² (about 20 W/m² net cooling, as in satellite budgets); ice cover shifts albedo by 0.1 per unit. Temperature follows C dT/dt = absorbed − outgoing with C = 8 W yr m⁻² K⁻¹ for the upper ocean and land, explicit Euler. Simplified: global mean only, one layer, no deep-ocean uptake (real warming is slower and equilibrium takes centuries), no aerosols, no carbon cycle. The photons are a drawing of the idea, not part of the calculation. The sweep varies CO₂ from 180 to 1200 ppm and records the temperature after the chart span, the equilibrium warming and the CO₂ forcing.