From 8557b728c3df00bb0552940668e693d8857fdc73 Mon Sep 17 00:00:00 2001 From: David Himmelstrup Date: Mon, 2 Dec 2019 15:32:25 +0800 Subject: [PATCH] Doc update. Former-commit-id: def59778e637347c54eefe04a73ae57400517dcb --- docs/glue_tut.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/glue_tut.md b/docs/glue_tut.md index 4936c12..3a6430b 100644 --- a/docs/glue_tut.md +++ b/docs/glue_tut.md @@ -4,12 +4,18 @@ 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. - +Reanimate aims at being a batteries-included way of gluing together different technologies: SVG as a universal image format, LaTeX for typesetting, ffmpeg for video encoding, inkscape/imagemagick for rasterization, potrace for vectorization, blender/povray for 3D graphics, and Haskell for scripting. ## Scalable Vector Graphics -SVG images are the primitive building blocks in Reanimate. They are the universal -image format used to glue together animations. +Movies consists of a sequence of frames and, in reanimate, these frames are SVG images. SVGs can easily reference raster images, includes a set of drawing primitives, and offers image advanced manipulation through filter effects. +Since SVGs are plain-text documents, tools can be written to analyse and modify images. For example, reanimate includes code for applying 2D physics to shapes in SVG images. + +SVG features, as demonstrated in the below animation: + + * Drawing primitives: Circles, rectangles, lines, external images, paths, text. + * Drawing attributes: Rotation, position, color, line-width. + * Filter effects: Blur and blob. TODO: Add advanced SVG features: blurs, blobs, etc.