Skip to content

A list of links to useful code snippets for manim

License

Notifications You must be signed in to change notification settings

abul4fia/Manim-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Abulafia's manim utils and tricks

These are links to my public gists providing my solutions to common problems I faced using manim. Some of them are in response to other users requests too.

Generic tricks

Beyond AnimationGroup

Helpers to deal with text and code objects

  • Finding shapes in TeX mobjects. Generic set of functions to find a particular sequence of glyphs (symbols) in a tex mobject, which can be used to change their appearance, or as part of transforms.

  • Latex items environment. Latex template to use latex items, instead of manim's BulletedList

  • Code utilities. Functions to locate a substring inside a Code mobject, useful to highlight it, for example.

Custom mobjects

  • Landscape barchart for manim. Provides LandscapeBarChart class to create and animate horizontal bar charts.

  • Text box for manim. Provides create_textbox() function to create a text box that automatically adjust the size of the text to the size of the box, with severl options to customize it.

  • Orthogonal connections. Create connections between mobjects that are composed only of horizontal and vertical lines. Through a custom syntax you can specify where the corners may happen.

  • New LatexTip for latex-style arrows. New arrow tip shape.

Fixes and silly things

About

A list of links to useful code snippets for manim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published