mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-10 23:52:22 +00:00
14 lines
383 B
Haskell
Executable file
14 lines
383 B
Haskell
Executable file
#!/usr/bin/env stack
|
|
-- stack runghc --package reanimate
|
|
{-# LANGUAGE OverloadedStrings #-}
|
|
module Main(main) where
|
|
|
|
import Reanimate
|
|
import Reanimate.Builtin.Documentation
|
|
import Reanimate.Math.Balloon
|
|
import Graphics.SvgTree
|
|
|
|
main :: IO ()
|
|
main = reanimate $ docEnv $ pauseAtEnd 1 $ mkAnimation 5 $ \t ->
|
|
withStrokeLineJoin JoinRound $
|
|
balloon (scale 8 $ center $ latex "X") t
|