<!doctype html>
Paste this whole HTML into a WordPress Custom HTML block (or into a page template). Use the controls to set initial conditions, run the simulation, and generate a Poincaré section (records when θ₂ crosses the chosen section angle).
Plot: θ₁ (wrapped to -π..π) vs ω₁ at each crossing of θ₂ = section angle.