Choose how a curve's bend κ and twist τ change along it and watch the Frenet–Serret equations build the curve in 3D, frame and all: constant κ and τ always give a helix, τ = 0 a flat curve, and an integrator check shows RK4 holding the frame square while Euler lets it drift.
Differential Geometry