reanimate/examples/bug_play1.hs
David Himmelstrup 8817f255a5 Fix bug in 'play'.
Former-commit-id: 5aa506a6c5db207e3731ba0eb19c8c38e462051a
2020-02-12 20:04:17 +08:00

12 lines
304 B
Haskell
Executable file

#!/usr/bin/env stack
-- stack runghc --package reanimate
module Main(main) where
import Reanimate
import Reanimate.Scene
-- This should give circle.
main :: IO ()
main = reanimate $ signalA (constantS 0) $ sceneAnimation $ do
play $ animate $ const $ mkCircle 1
play $ animate $ const $ mkRect 1 1