mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
Use gifs to improve documentation. (#21)
Former-commit-id: 40e5ccedcf5d1ca8f0d5cc373ba3b3c4cc2d6c6a
This commit is contained in:
parent
c2af9fbac0
commit
dfd52961ae
50 changed files with 512 additions and 129 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue