diff --git a/docs/glue_tut.md b/docs/glue_tut.md new file mode 100644 index 0000000..4936c12 --- /dev/null +++ b/docs/glue_tut.md @@ -0,0 +1,61 @@ +# 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