ODE dynamics for Lightwave