mathematical animations with haskell https://reanimate.github.io
  • Haskell 95.8%
  • Elm 3.9%
  • Nix 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-03-01 14:54:41 +01:00
gifs Add function for modifying glyphs. 2019-02-19 17:07:48 +01:00
server Remove thread from active list when it has finished. 2019-03-01 11:31:31 +01:00
src/Reanimate Remove broken latex package. 2019-03-01 10:01:19 +01:00
web Update valentine animation. 2019-03-01 14:54:41 +01:00
ChangeLog.md First stab at reanimate. 2019-02-13 21:08:49 +01:00
README.md Example source code has rotted. Remove it all. 2019-02-28 10:53:48 +01:00
reanimate.cabal Better exception handling in the websocket server. 2019-03-01 10:56:17 +01:00
Setup.hs First stab at reanimate. 2019-02-13 21:08:49 +01:00
stack.yaml Work on a high-level API. Rewrite examples. 2019-02-18 22:37:54 +01:00

reanimate

Reanimate is a reactive framework for creating non-interactive animations from SVG images. This package consists of a set of arrow combinators, a renderer (using ffmpeg), and a web-based previewer. Inline latex code is supported when 'latex' and 'dvisvgm' are installed.

Nothing about the API is stable at this point.

Live coding playground: https://lemmih.github.io/reanimate/

TODO

  • website for live coding
  • bounding boxes
  • Improve bounding box approximations
  • Select desired FPS in web previewer
  • Download rendered animations in web previewer
  • alignment and positioning combinators
  • Use svg-tree instead of lucid-svg

Examples

The example gifs are displayed at 25 fps. The source code for many of these examples are available on the live coding playground.

Drawing LaTeX equations Bounding boxes Colorful LaTeX Bezier curves Sine wave Morphing wave Morphing wave to circle Speed modification Highlight Clipping Scaling Valentine's Day Basic LaTeX