mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-11 16:12:20 +00:00
Make the raster example run for longer.
This commit is contained in:
parent
e9cd3002eb
commit
792dba89ef
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env stack
|
||||
-- stack --resolver lts-11.14 runghc --package reanimate
|
||||
-- stack --resolver lts-13.14 runghc --package reanimate
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Main (main) where
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ import Reanimate.Raster
|
|||
import Codec.Picture
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ mkAnimation 2 $ do
|
||||
main = reanimate $ repeatAnimation 6 $ mkAnimation 5 $ do
|
||||
s <- getSignal signalLinear
|
||||
emit $ mkGroup
|
||||
[ mkBackground "black"
|
||||
|
|
@ -23,4 +23,3 @@ main = reanimate $ mkAnimation 2 $ do
|
|||
where
|
||||
img = generateImage pixelRenderer 255 255
|
||||
pixelRenderer x y = PixelRGB8 (fromIntegral x) (fromIntegral y) 128
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue