You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,27 +10,26 @@ Manim is an animation engine for explanatory math videos. It's used to create pr
10
10
11
11
> NOTE: This repository is maintained by the Manim Community, and is not associated with Grant Sanderson or 3Blue1Brown in any way (though we are definitely indebted to him for providing his work to the world). If you want to study how Grant makes his videos, head over to his repository (3b1b/manim). This is a more frequently updated repository than that one, and is recommended if you want to use Manim for your own projects.
12
12
13
-
14
13
## Table of Contents:
14
+
15
15
-[Installation](#installation)
16
16
-[Usage](#usage)
17
17
-[Documentation](#documentation)
18
18
-[Help with Manim](#help-with-manim)
19
19
-[Contributing](#contributing)
20
20
-[License](#license)
21
21
22
-
23
22
## Installation
24
23
25
24
Manim has a few dependencies that need to be installed before it. Please visit
Visit the [official gallery](https://manimce.readthedocs.io/en/latest/examples.html) for more advanced examples.
60
60
61
-
62
61
## Command line arguments
63
62
64
63
The general usage of manim is as follows:
@@ -68,33 +67,33 @@ The general usage of manim is as follows:
68
67
The `-p` flag in the command above is for previewing, meaning the video file will automatically open when it is done rendering. The `-l` flag is for a faster rendering at a lower quality.
69
68
70
69
Some other useful flags include:
71
-
*`-s` to skip to the end and just show the final frame.
72
-
*`-n <number>` to skip ahead to the `n`'th animation of a scene.
73
-
*`-f` show the file in the file browser.
70
+
71
+
-`-s` to skip to the end and just show the final frame.
72
+
-`-n <number>` to skip ahead to the `n`'th animation of a scene.
73
+
-`-f` show the file in the file browser.
74
74
75
75
For a thorough list of command line arguments, visit the
#. Implement logging with the :code:`rich` library and a :code:`logger` object instead of plain ol` prints
45
+
#. Implement logging with the :code:`rich` library and a :code:`logger` object instead of plain ol' prints
24
46
#. Added a flag :code:`--dry_run`, which doesn’t write any media
25
47
#. Allow for running manim with :code:`python3 -m manim`
26
48
#. Refactored Tex Template management. You can now use custom templates with command line args using :code:`--tex_template`!
@@ -42,6 +64,16 @@ Config system
42
64
#. Implement a :code:`manim.cfg` config file system, that consolidates the global configuration, the command line argument parsing, and some of the constants defined in :code:`constants.py`
43
65
#. Added utilities for manipulating Manim’s :code:`.cfg` files.
44
66
#. Added a subcommand structure for easier use of utilities managing :code:`.cfg` files
67
+
#. Also some variables have been moved from ``constants.py`` to the new config system:
68
+
69
+
#. ``FRAME_HEIGHT`` to ``config["frame_width"]``
70
+
#. ``TOP`` to ``config["frame_height"] / 2 * UP``
71
+
#. ``BOTTOM`` to ``config["frame_height"] / 2 * DOWN``
72
+
#. ``LEFT_SIDE`` to ``config["frame_width"] / 2 * LEFT``
73
+
#. ``RIGHT_SIDE`` to ``config["frame_width"] / 2 * RIGHT``
74
+
#. ``self.camera.frame_rate`` to ``config["frame_rate"]``
75
+
76
+
45
77
46
78
47
79
Mobjects, Scenes, and Animations
@@ -50,6 +82,7 @@ Mobjects, Scenes, and Animations
50
82
#. Add customizable left and right bracket for :code:`Matrix` mobject and :code:`set_row_colors` method for matrix mobject
51
83
#. Add :code:`AddTeXLetterByLetter` animation
52
84
#. Enhanced GraphScene
85
+
53
86
#. You can now add arrow tips to axes
54
87
#. extend axes a bit at the start and/or end
55
88
#. have invisible axes
@@ -64,6 +97,7 @@ Mobjects, Scenes, and Animations
64
97
#. Add a :code:`Variable` class for displaying text that continuously updates to reflect the value of a python variable.
65
98
#. The ``Tex`` and ``MathTex`` objects allow you to specify a custom TexTemplate using the ``template`` keyword argument.
66
99
#. :code:`VGroup` now supports printing the class names of contained mobjects and :code:`VDict` supports printing the internal dict of mobjects
100
+
#. Add all the standard easing functions
67
101
#. :code:`Scene` now renders when :code:`Scene.render()` is called rather than upon instantiation.
68
102
#. :code:`ValueTracker` now supports increment using the `+=` operator (in addition to the already existing `increment_value` method)
69
103
#. Add :class:`PangoText` for rendering texts using Pango.
@@ -106,3 +140,6 @@ Other Changes
106
140
#. Rename package from manimlib to manim
107
141
#. Move all imports to :code:`__init__`, so :code:`from manim import *` replaces :code:`from manimlib.imports import *`
108
142
#. Global dir variable handling has been removed. Instead :code:`initialize_directories`, if needed, overrides the values from the cfg files at runtime.
0 commit comments