Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 781 Bytes

File metadata and controls

24 lines (17 loc) · 781 Bytes
sidebar_position slug
2
/nodes

import AnimationPlayer from '@site/src/components/AnimationPlayer'; import CodeBlock from '@theme/CodeBlock'; import texSource from '!!raw-loader!@motion-canvas/examples/src/scenes/tex';

LaTeX

{texSource}

A note on tweening LaTeX

Because we use a canvas renderer, we're rendering the LaTeX to an image instead of using a full graphics backend to render the TeX. This means that for all intents and purposes, LaTeX should be treated as if it were an image rather than more flexible TeX rendering like you may see in other software.

In other words, opacity, position, size, etc. should be fine to tween, but we do not recommend tweening the tex signal.