mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 01:22:20 +00:00
Basic LaTeX example.
This commit is contained in:
parent
f180be38e1
commit
6244f76da3
4 changed files with 124 additions and 2 deletions
14
README.md
14
README.md
|
|
@ -157,3 +157,17 @@ scaling = adjustSpeed 2 $ syncAll
|
|||
## Valentine's Day
|
||||
|
||||

|
||||
|
||||
## Basic LaTeX
|
||||
|
||||
```
|
||||
latex_basic :: Ani ()
|
||||
latex_basic = proc () -> do
|
||||
duration 1 -< ()
|
||||
emit -< do
|
||||
rect_ [width_ "100%", height_ "100%", fill_ "black"]
|
||||
g_ [transform_ $ translate 5 50] $
|
||||
g_ [transform_ $ scale 4 4, fill_ "white"] $
|
||||
latex "$\\sum_{k=1}^\\infty {1 \\over k^2} = {\\pi^2 \\over 6}$"
|
||||
```
|
||||

|
||||
|
|
|
|||
Loading…
Reference in a new issue