-- | Display mode is for drawing a static picture.moduleGraphics.Gloss.Interface.Pure.Animate(moduleGraphics.Gloss.Data.Display,moduleGraphics.Gloss.Data.Picture,moduleGraphics.Gloss.Data.Color,animate)whereimportGraphics.Gloss.Data.DisplayimportGraphics.Gloss.Data.PictureimportGraphics.Gloss.Data.ColorimportGraphics.Gloss.Internals.Interface.AnimateimportGraphics.Gloss.Internals.Interface.Backend-- | Open a new window and display the given animation.---- Once the window is open you can use the same commands as with @display@.--animate::Display-- ^ Display mode.->Color-- ^ Background color.->(Float->Picture)-- ^ Function to produce the next frame of animation. -- It is passed the time in seconds since the program started.->IO()animatedisplaybackColorframeFun=animateWithBackendIOdefaultBackendStateTrue-- pannabledisplaybackColor(return.frameFun)