Shape a wave with y = a·sin(b(x − c)) + d: a = amplitude, period = 2π/b, c = phase shift, d = midline. The equation updates live.
- - midline y = d - - max / min (d ± |a|)
Try: shrink the period — the wave squeezes (b = 2π/P grows). Then slide c and watch the whole wave slide right by exactly c.