reanimate/examples/doc_withViewBox.hs
David Himmelstrup 84ba78c890 Add documentation for 'withViewBox'.
Former-commit-id: 2797121d09679950ac35b1bd08e9c6bfbedc5267
2020-05-14 10:07:05 +08:00

10 lines
245 B
Haskell
Executable file

#!/usr/bin/env stack
-- stack runghc --package reanimate
{-# LANGUAGE OverloadedStrings #-}
module Main (main) where
import Reanimate
main :: IO ()
main = reanimate $ animate $ const $
withViewBox (0,0,1,1) $ mkBackground "yellow"