Skip to content

Instantly share code, notes, and snippets.

@abul4fia
Last active June 27, 2024 20:16
Show Gist options
  • Save abul4fia/a18ee1f701ba960c56ac6ed6f6246a55 to your computer and use it in GitHub Desktop.
Save abul4fia/a18ee1f701ba960c56ac6ed6f6246a55 to your computer and use it in GitHub Desktop.
Manim's transforms
Transform(a,b) ReplacementTransform(a,b) TransformFromCopy(a,b)
a initial shape a a a
a final shape b b a (never changed)
b initial shape b b a (temporarly)
b final shape b (never changed) b (never changed) b
In scene during transform a (morphing into b) a (morphing into b) b (morphing from a's shape)
In scene after transform a (in the shape of b) b b

See illustrative video here -> https://gist.github.com/assets/44573666/71b711f1-88ab-4065-8aa9-a8c333ffaa29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment