diff --git a/examples/animation.geo b/examples/animation.geo index 27cfc101b83f21ca9a721ab3de2be78fdbd01b3b..5e63801fb9fff8e38795c0ed6e663e2658e8b804 100644 --- a/examples/animation.geo +++ b/examples/animation.geo @@ -2,16 +2,23 @@ General.Trackball = 0; General.Rotation0 = 0 ; +General.Color.Background = White ; +General.Color.ForeGround = Red ; + +Post.View[0].IntervalsType = 2 ; +Post.View[0].Raise = {0,0,0.1} ; For(1:300) - General.Rotation0 ++ ; + General.Rotation0 += 10 ; General.Rotation1 = General.Rotation0 / 3 ; Post.View[0].TimeStep += (Post.View[0].TimeStep < Post.View[0].NbTimeStep-1) ? 1 : 0 ; - Sleep 0.3; + Post.View[0].Raise -= {0,0,0.01} ; + + Sleep 0.1; Draw; EndFor