Previous animation sketch now working in P3D.