Use gifs to improve documentation. (#21)

Former-commit-id: 40e5ccedcf5d1ca8f0d5cc373ba3b3c4cc2d6c6a
This commit is contained in:
David Himmelstrup 2019-09-28 21:35:42 +08:00 committed by GitHub
commit dfd52961ae
50 changed files with 512 additions and 129 deletions

View file

@ -10,8 +10,8 @@ main :: IO ()
main = reanimate bbox
bbox :: Animation
bbox = bg `sim`
mapA (translate (-screenWidth/4) 0) bbox1 `sim`
bbox = bg `parA`
mapA (translate (-screenWidth/4) 0) bbox1 `parA`
mapA (translate (screenWidth/4) 0) bbox2
where
bg = animate $ const $ mkBackground "black"