module Graphics.Gloss.Interface.Pure.Animate
( module Graphics.Gloss.Data.Display
, module Graphics.Gloss.Data.Picture
, module Graphics.Gloss.Data.Color
, animate)
where
import Graphics.Gloss.Data.Display
import Graphics.Gloss.Data.Picture
import Graphics.Gloss.Data.Color
import Graphics.Gloss.Internals.Interface.Animate
import Graphics.Gloss.Internals.Interface.Backend
animate :: Display
-> Color
-> (Float -> Picture)
-> IO ()
animate display backColor frameFun
= animateWithBackendIO
defaultBackendState
True
display backColor
(return . frameFun)