mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-10 23:52:22 +00:00
Add glue tut.
Former-commit-id: 42dbd09b2d3e20e0e1373dc0f6c1b45d4f79de93
This commit is contained in:
parent
bf890cd9af
commit
01a3f6d368
1 changed files with 61 additions and 0 deletions
61
docs/glue_tut.md
Normal file
61
docs/glue_tut.md
Normal file
|
|
@ -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.
|
||||
|
||||
<details>
|
||||
<summary>Toggle source code.</summary>
|
||||
<pre><code class="haskell">
|
||||
{!examples/tut_glue_svg.hs!}
|
||||
</code></pre>
|
||||
</details>
|
||||
<br/>
|
||||
<video width="640" height="360" autoplay loop>
|
||||
<source src="https://github.com/Lemmih/reanimate/raw/master/docs/rendered/tut_glue_svg.mp4">
|
||||
<source src="../rendered/tut_glue_svg.mp4">
|
||||
</video>
|
||||
|
||||
## Animation = Time 🡢 SVG
|
||||
|
||||
<details>
|
||||
<summary>Toggle source code.</summary>
|
||||
<pre><code class="haskell">
|
||||
{!examples/tut_glue_animate.hs!}
|
||||
</code></pre>
|
||||
</details>
|
||||
<br/>
|
||||
<video width="640" height="360" autoplay loop>
|
||||
<source src="https://github.com/Lemmih/reanimate/raw/master/docs/rendered/tut_glue_animate.mp4">
|
||||
<source src="../rendered/tut_glue_animate.mp4">
|
||||
</video>
|
||||
|
||||
## 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
|
||||
Loading…
Reference in a new issue