mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
Fix some hlint warnings, and more consistency in examples (#167)
* Remove redundant brackets * Various hlint fixes * Remove unused language pragrams and other fixes * Use addStatic more consistently in examples * Rename remaining usages of sceneAnimation to scene
This commit is contained in:
parent
37aa90378e
commit
0aca2333e2
63 changed files with 240 additions and 275 deletions
|
|
@ -33,7 +33,7 @@ starAnimation = mkAnimation 10 $ \t ->
|
|||
in withStrokeWidth 0 $ rotate (t * 360) $ mkGroup
|
||||
[ translate (x / newZ) (y / newZ) $ dot (1 - newZ)
|
||||
| (x, y, z) <-
|
||||
reverse $ take nStars $ dropWhile (\(_, _, z) -> z < camZ) $ allStars
|
||||
reverse $ take nStars $ dropWhile (\(_, _, z) -> z < camZ) allStars
|
||||
, let newZ = z - camZ
|
||||
]
|
||||
where
|
||||
|
|
|
|||
Loading…
Reference in a new issue