Online time integration of two-dimensional wave