reanimate/docs/glue_tut.md
David Himmelstrup 01a3f6d368 Add glue tut.
Former-commit-id: 42dbd09b2d3e20e0e1373dc0f6c1b45d4f79de93
2019-12-01 15:11:26 +08:00

1.7 KiB

Gluing together animations

Reanimate is a library for programmatically generating animations with a twist towards mathematics / vector drawings. A lot of inspiration was drawn from 3b1b's manim library.

Scalable Vector Graphics

SVG images are the primitive building blocks in Reanimate. They are the universal image format used to glue together animations.

TODO: Add advanced SVG features: blurs, blobs, etc.

Toggle source code.

  {!examples/tut_glue_svg.hs!}
  

Animation = Time 🡢 SVG

Toggle source code.

  {!examples/tut_glue_animate.hs!}
  

Pillar I: Haskell

TODO: Write about fourier drawings. About how advanced math is doable with Haskell.

Pillar II: Libraries

TODO: Write about how lots of libraries are available for Haskell. Use chiphunk as an example. Show SVG primitives with 2D physics.

Pillar III: LaTeX

TODO: Show that LaTeX is a provider of SVG graphics. It has the type 'latex :: Text -> SVG'. Caching is automatic and it plays well with other SVG functions (partialSvg, center, etc).

Pillar IV: potrace

Pillar V: Povray

Pillar VI: Blender