Sea surface (traveling wave) Buoy heave (RK4 time-stepped) PTO power flow
Analytic resonance curve — avg. power vs. wave period

Wave Energy Converter: Time-Domain Heave & Resonance Curve (2D)

This 2D companion to the 3D oscillating-buoy simulator models the same heaving point-absorber physics — a spring-mass-damper system driven by an incident wave — but computes it two independent ways at once. A side-view canvas integrates the buoy's equation of motion forward in time with a fourth-order Runge-Kutta stepper, exactly like a real wave-tank measurement would be read off a position sensor. Underneath it, a second panel sweeps the same equation's closed-form steady-state solution across every wave period from 4 to 16 seconds, drawing the buoy's full resonance (RAO) curve in one shot — something no amount of watching the time-domain animation alone could show. As you tune the buoy's natural period and PTO damping, a marker tracks where the time-stepped engine's own converged power sits on that analytic curve, so you can watch the two independently computed answers agree in real time.