Deploying to gh-pages from @ fe85d4e02f 🚀

This commit is contained in:
TonyCrane 2021-01-31 14:35:44 +00:00
parent 633e24dfd5
commit acea667740
36 changed files with 838 additions and 1046 deletions

View file

@ -1,4 +1,4 @@
# Sphinx build info version 1 # Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a32436d02dd34a153cd120d766704354 config: 8427171e2350e8c0be3fff507b9c34b6
tags: 645f666f9bcd5a90fca523b33c5a78b7 tags: 645f666f9bcd5a90fca523b33c5a78b7

View file

@ -106,61 +106,80 @@ Here are the preview of default colours. (Modified from
.. raw:: html .. raw:: html
<div style="float: left;">
<h3>BLUE</h3> <h3>BLUE</h3>
<div class="colors BLUE_E"><p class="color-text">BLUE_E</p></div> <div class="colors BLUE_E"><p class="color-text">BLUE_E</p></div>
<div class="colors BLUE_D"><p class="color-text">BLUE_D</p></div> <div class="colors BLUE_D"><p class="color-text">BLUE_D</p></div>
<div class="colors BLUE_C"><p class="color-text">BLUE_C</p></div> <div class="colors BLUE_C"><p class="color-text">BLUE_C</p></div>
<div class="colors BLUE_B"><p class="color-text">BLUE_B</p></div> <div class="colors BLUE_B"><p class="color-text">BLUE_B</p></div>
<div class="colors BLUE_A"><p class="color-text">BLUE_A</p></div> <div class="colors BLUE_A"><p class="color-text">BLUE_A</p></div>
<h3 style="margin-top: 6em">TEAL</h3> </div>
<div style="float: left;">
<h3>TEAL</h3>
<div class="colors TEAL_E"><p class="color-text">TEAL_E</p></div> <div class="colors TEAL_E"><p class="color-text">TEAL_E</p></div>
<div class="colors TEAL_D"><p class="color-text">TEAL_D</p></div> <div class="colors TEAL_D"><p class="color-text">TEAL_D</p></div>
<div class="colors TEAL_C"><p class="color-text">TEAL_C</p></div> <div class="colors TEAL_C"><p class="color-text">TEAL_C</p></div>
<div class="colors TEAL_B"><p class="color-text">TEAL_B</p></div> <div class="colors TEAL_B"><p class="color-text">TEAL_B</p></div>
<div class="colors TEAL_A"><p class="color-text">TEAL_A</p></div> <div class="colors TEAL_A"><p class="color-text">TEAL_A</p></div>
<h3 style="margin-top: 6em">GREEN</h3> </div>
<div style="float: left;">
<h3>GREEN</h3>
<div class="colors GREEN_E"><p class="color-text">GREEN_E</p></div> <div class="colors GREEN_E"><p class="color-text">GREEN_E</p></div>
<div class="colors GREEN_D"><p class="color-text">GREEN_D</p></div> <div class="colors GREEN_D"><p class="color-text">GREEN_D</p></div>
<div class="colors GREEN_C"><p class="color-text">GREEN_C</p></div> <div class="colors GREEN_C"><p class="color-text">GREEN_C</p></div>
<div class="colors GREEN_B"><p class="color-text">GREEN_B</p></div> <div class="colors GREEN_B"><p class="color-text">GREEN_B</p></div>
<div class="colors GREEN_A"><p class="color-text">GREEN_A</p></div> <div class="colors GREEN_A"><p class="color-text">GREEN_A</p></div>
<h3 style="margin-top: 6em">YELLOW</h3> </div>
<div style="float: left;">
<h3>YELLOW</h3>
<div class="colors YELLOW_E"><p class="color-text">YELLOW_E</p></div> <div class="colors YELLOW_E"><p class="color-text">YELLOW_E</p></div>
<div class="colors YELLOW_D"><p class="color-text">YELLOW_D</p></div> <div class="colors YELLOW_D"><p class="color-text">YELLOW_D</p></div>
<div class="colors YELLOW_C"><p class="color-text">YELLOW_C</p></div> <div class="colors YELLOW_C"><p class="color-text">YELLOW_C</p></div>
<div class="colors YELLOW_B"><p class="color-text">YELLOW_B</p></div> <div class="colors YELLOW_B"><p class="color-text">YELLOW_B</p></div>
<div class="colors YELLOW_A"><p class="color-text">YELLOW_A</p></div> <div class="colors YELLOW_A"><p class="color-text">YELLOW_A</p></div>
<h3 style="margin-top: 6em">GOLD</h3> </div>
<div style="float: left;">
<h3>GOLD</h3>
<div class="colors GOLD_E"><p class="color-text">GOLD_E</p></div> <div class="colors GOLD_E"><p class="color-text">GOLD_E</p></div>
<div class="colors GOLD_D"><p class="color-text">GOLD_D</p></div> <div class="colors GOLD_D"><p class="color-text">GOLD_D</p></div>
<div class="colors GOLD_C"><p class="color-text">GOLD_C</p></div> <div class="colors GOLD_C"><p class="color-text">GOLD_C</p></div>
<div class="colors GOLD_B"><p class="color-text">GOLD_B</p></div> <div class="colors GOLD_B"><p class="color-text">GOLD_B</p></div>
<div class="colors GOLD_A"><p class="color-text">GOLD_A</p></div> <div class="colors GOLD_A"><p class="color-text">GOLD_A</p></div>
<h3 style="margin-top: 6em">RED</h3> </div>
<div style="float: left;">
<h3>RED</h3>
<div class="colors RED_E"><p class="color-text">RED_E</p></div> <div class="colors RED_E"><p class="color-text">RED_E</p></div>
<div class="colors RED_D"><p class="color-text">RED_D</p></div> <div class="colors RED_D"><p class="color-text">RED_D</p></div>
<div class="colors RED_C"><p class="color-text">RED_C</p></div> <div class="colors RED_C"><p class="color-text">RED_C</p></div>
<div class="colors RED_B"><p class="color-text">RED_B</p></div> <div class="colors RED_B"><p class="color-text">RED_B</p></div>
<div class="colors RED_A"><p class="color-text">RED_A</p></div> <div class="colors RED_A"><p class="color-text">RED_A</p></div>
<h3 style="margin-top: 6em">MAROON</h3> </div>
<div style="float: left;">
<h3>MAROON</h3>
<div class="colors MAROON_E"><p class="color-text">MAROON_E</p></div> <div class="colors MAROON_E"><p class="color-text">MAROON_E</p></div>
<div class="colors MAROON_D"><p class="color-text">MAROON_D</p></div> <div class="colors MAROON_D"><p class="color-text">MAROON_D</p></div>
<div class="colors MAROON_C"><p class="color-text">MAROON_C</p></div> <div class="colors MAROON_C"><p class="color-text">MAROON_C</p></div>
<div class="colors MAROON_B"><p class="color-text">MAROON_B</p></div> <div class="colors MAROON_B"><p class="color-text">MAROON_B</p></div>
<div class="colors MAROON_A"><p class="color-text">MAROON_A</p></div> <div class="colors MAROON_A"><p class="color-text">MAROON_A</p></div>
<h3 style="margin-top: 6em">PURPLE</h3> </div>
<div style="float: left;">
<h3>PURPLE</h3>
<div class="colors PURPLE_E"><p class="color-text">PURPLE_E</p></div> <div class="colors PURPLE_E"><p class="color-text">PURPLE_E</p></div>
<div class="colors PURPLE_D"><p class="color-text">PURPLE_D</p></div> <div class="colors PURPLE_D"><p class="color-text">PURPLE_D</p></div>
<div class="colors PURPLE_C"><p class="color-text">PURPLE_C</p></div> <div class="colors PURPLE_C"><p class="color-text">PURPLE_C</p></div>
<div class="colors PURPLE_B"><p class="color-text">PURPLE_B</p></div> <div class="colors PURPLE_B"><p class="color-text">PURPLE_B</p></div>
<div class="colors PURPLE_A"><p class="color-text">PURPLE_A</p></div> <div class="colors PURPLE_A"><p class="color-text">PURPLE_A</p></div>
<h3 style="margin-top: 6em">GREY</h3> </div>
<div style="float: left;">
<h3>GREY</h3>
<div class="colors GREY_E"><p class="color-text">GREY_E</p></div> <div class="colors GREY_E"><p class="color-text">GREY_E</p></div>
<div class="colors GREY_D"><p class="color-text">GREY_D</p></div> <div class="colors GREY_D"><p class="color-text">GREY_D</p></div>
<div class="colors GREY_C"><p class="color-text">GREY_C</p></div> <div class="colors GREY_C"><p class="color-text">GREY_C</p></div>
<div class="colors GREY_B"><p class="color-text">GREY_B</p></div> <div class="colors GREY_B"><p class="color-text">GREY_B</p></div>
<div class="colors GREY_A"><p class="color-text">GREY_A</p></div> <div class="colors GREY_A"><p class="color-text">GREY_A</p></div>
<h3 style="margin-top: 6em">Others</h3> </div>
<div style="float: left;">
<h3>Others</h3>
<div class="colors WHITE"><p class="color-text" style="color: BLACK">WHITE</p></div> <div class="colors WHITE"><p class="color-text" style="color: BLACK">WHITE</p></div>
<div class="colors BLACK"><p class="color-text">BLACK</p></div> <div class="colors BLACK"><p class="color-text">BLACK</p></div>
<div class="colors GREY_BROWN"><p class="color-text-small">GREY_BROWN</p></div> <div class="colors GREY_BROWN"><p class="color-text-small">GREY_BROWN</p></div>
@ -170,3 +189,4 @@ Here are the preview of default colours. (Modified from
<div class="colors LIGHT_PINK"><p class="color-text-small">LIGHT_PINK</p></div> <div class="colors LIGHT_PINK"><p class="color-text-small">LIGHT_PINK</p></div>
<div class="colors GREEN_SCREEN"><p class="color-text-small">GREEN_SCREEN</p></div> <div class="colors GREEN_SCREEN"><p class="color-text-small">GREEN_SCREEN</p></div>
<div class="colors ORANGE"><p class="color-text">ORANGE</p></div> <div class="colors ORANGE"><p class="color-text">ORANGE</p></div>
</div>

View file

@ -62,6 +62,10 @@ custom_default
The directory for storing vector images to be used in the code (including The directory for storing vector images to be used in the code (including
``.svg`` and ``.xdv``), which will be read by ``SVGMobject``. ``.svg`` and ``.xdv``), which will be read by ``SVGMobject``.
- ``sounds``
The directory for storing sound files to be used in ``Scene.add_sound()`` (
including ``.wav`` and ``.mp3``).
- ``temporary_storage`` - ``temporary_storage``
The directory for storing temporarily generated cache files, including The directory for storing temporarily generated cache files, including
``Tex`` cache, ``Text`` cache and storage of object points. ``Tex`` cache, ``Text`` cache and storage of object points.
@ -104,6 +108,16 @@ The relative position of the playback window on the display (two characters,
the first character means upper(U) / middle(O) / lower(D), the second character the first character means upper(U) / middle(O) / lower(D), the second character
means left(L) / middle(O) / right(R)). means left(L) / middle(O) / right(R)).
``break_into_partial_movies``
-----------------------------
If this is set to ``True``, then many small files will be written corresponding
to each ``Scene.play`` and ``Scene.wait`` call, and these files will then be combined
to form the full scene.
Sometimes video-editing is made easier when working with the broken up scene, which
effectively has cuts at all the places you might want.
``camera_qualities`` ``camera_qualities``
-------------------- --------------------

View file

@ -21,7 +21,9 @@ Some useful flags
- ``-w`` to write the scene to a file. - ``-w`` to write the scene to a file.
- ``-o`` to write the scene to a file and open the result. - ``-o`` to write the scene to a file and open the result.
- ``-s`` to skip to the end and just show the final frame. - ``-s`` to skip to the end and just show the final frame.
- ``-so`` will save the final frame to an image and show it. - ``-so`` will save the final frame to an image and show it.
- ``-n <number>`` to skip ahead to the ``n``\ th animation of a scene. - ``-n <number>`` to skip ahead to the ``n``\ th animation of a scene.
- ``-f`` to make the playback window fullscreen. - ``-f`` to make the playback window fullscreen.

View file

@ -28,22 +28,51 @@ SquareToCircle
This scene is what we wrote in :doc:`quickstart`. This scene is what we wrote in :doc:`quickstart`.
No more explanation here No more explanation here
WarpSquare AnimatingMethods
---------- ----------------
.. manim-example:: WarpSquare .. manim-example:: AnimatingMethods
:media: ../_static/example_scenes/WarpSquare.mp4 :media: ../_static/example_scenes/AnimatingMethods.mp4
class WarpSquare(Scene): class AnimatingMethods(Scene):
def construct(self): def construct(self):
square = Square() grid = Tex(r"\pi").get_grid(10, 10, height=4)
self.play(square.apply_complex_function, np.exp) self.add(grid)
# If you pass in a mobject method to the scene's "play" function,
# it will apply an animation interpolating between the mobject's
# initial state and whatever happens when you apply that method.
# For example, calling grid.shift(2 * LEFT) would shift it two units
# to the left, but the following line animates that motion.
self.play(grid.shift, 2 * LEFT)
# The same applies for any method, including those setting colors.
self.play(grid.set_submobject_colors_by_gradient, BLUE, GREEN)
self.play(grid.set_height, TAU - MED_SMALL_BUFF)
self.wait() self.wait()
The new usage in this scene is ``self.play(square.apply_complex_function, np.exp)``, # The method Mobject.apply_complex_function lets you apply arbitrary
which shows an animation of applying a complex function :math:`f(z)=e^z` to a square. # complex functions, treating the points defining the mobject as
It is equivalent to transforming the original square into the result after # complex numbers.
applying a function. self.play(grid.apply_complex_function, np.exp, run_time=5)
self.wait()
# Even more generally, you could apply Mobject.apply_function,
# which takes in functions form R^3 to R^3
self.play(
grid.apply_function,
lambda p: [
p[0] + 0.5 * math.sin(p[1]),
p[1] + 0.5 * math.sin(p[0]),
p[2]
],
run_time=5,
)
self.wait()
The new usage in this scene is ``.get_grid()`` and ``self.play(mob.method, args)``.
- ``.get_grid()`` method will return a new mobject containing multiple copies of this one arranged in a grid.
- ``self.play(mob.method, args)`` animate the method, and the details are in the comments above.
TextExample TextExample
----------- -----------
@ -289,10 +318,11 @@ UpdatersExample
) )
self.wait(4 * PI) self.wait(4 * PI)
The new classes and usage in this scene are ``DecimalNumber``, ``.to_edge()``, The new classes and usage in this scene are ``always_redraw()``, ``DecimalNumber``, ``.to_edge()``,
``.center()``, ``always_become()``, ``always()``, ``f_always()``, ``.set_y()`` and ``.add_updater()``. ``.center()``, ``always()``, ``f_always()``, ``.set_y()`` and ``.add_updater()``.
- ``DecimalNumber`` is a variable number, speed it up by breaking it into ``Tex`` characters. - ``always_redraw()`` function create a new mobject every frame.
- ``DecimalNumber`` is a variable number, speed it up by breaking it into ``Text`` characters.
- ``.to_edge()`` means to place the object on the edge of the screen. - ``.to_edge()`` means to place the object on the edge of the screen.
- ``.center()`` means to place the object in the center of the screen. - ``.center()`` means to place the object in the center of the screen.
- ``always(f, x)`` means that a certain function (``f(x)``) is executed every frame. - ``always(f, x)`` means that a certain function (``f(x)``) is executed every frame.

View file

@ -6,6 +6,8 @@ Manim's documentation
Manim is an animation engine for explanatory math videos. It's used to create precise animations programmatically, as seen in the videos Manim is an animation engine for explanatory math videos. It's used to create precise animations programmatically, as seen in the videos
at `3Blue1Brown <https://www.3blue1brown.com/>`_. at `3Blue1Brown <https://www.3blue1brown.com/>`_.
And here is a Chinese version of this documentation: https://manim.ml/shaders
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:caption: Getting Started :caption: Getting Started

View file

@ -4,7 +4,7 @@
* *
* Sphinx stylesheet -- basic theme. * Sphinx stylesheet -- basic theme.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -15,12 +15,6 @@ div.clearer {
clear: both; clear: both;
} }
div.section::after {
display: block;
content: '';
clear: left;
}
/* -- relbar ---------------------------------------------------------------- */ /* -- relbar ---------------------------------------------------------------- */
div.related { div.related {
@ -322,27 +316,21 @@ img.align-default, .figure.align-default {
div.sidebar { div.sidebar {
margin: 0 0 0.5em 1em; margin: 0 0 0.5em 1em;
border: 1px solid #ddb; border: 1px solid #ddb;
padding: 7px; padding: 7px 7px 0 7px;
background-color: #ffe; background-color: #ffe;
width: 40%; width: 40%;
float: right; float: right;
clear: right;
overflow-x: auto;
} }
p.sidebar-title { p.sidebar-title {
font-weight: bold; font-weight: bold;
} }
div.admonition, div.topic, blockquote {
clear: left;
}
/* -- topics ---------------------------------------------------------------- */ /* -- topics ---------------------------------------------------------------- */
div.topic { div.topic {
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 7px; padding: 7px 7px 0 7px;
margin: 10px 0 10px 0; margin: 10px 0 10px 0;
} }
@ -364,6 +352,10 @@ div.admonition dt {
font-weight: bold; font-weight: bold;
} }
div.admonition dl {
margin-bottom: 0;
}
p.admonition-title { p.admonition-title {
margin: 0px 10px 5px 0px; margin: 0px 10px 5px 0px;
font-weight: bold; font-weight: bold;
@ -374,28 +366,9 @@ div.body p.centered {
margin-top: 25px; margin-top: 25px;
} }
/* -- content of sidebars/topics/admonitions -------------------------------- */
div.sidebar > :last-child,
div.topic > :last-child,
div.admonition > :last-child {
margin-bottom: 0;
}
div.sidebar::after,
div.topic::after,
div.admonition::after,
blockquote::after {
display: block;
content: '';
clear: both;
}
/* -- tables ---------------------------------------------------------------- */ /* -- tables ---------------------------------------------------------------- */
table.docutils { table.docutils {
margin-top: 10px;
margin-bottom: 10px;
border: 0; border: 0;
border-collapse: collapse; border-collapse: collapse;
} }
@ -443,13 +416,13 @@ table.citation td {
border-bottom: none; border-bottom: none;
} }
th > :first-child, th > p:first-child,
td > :first-child { td > p:first-child {
margin-top: 0px; margin-top: 0px;
} }
th > :last-child, th > p:last-child,
td > :last-child { td > p:last-child {
margin-bottom: 0px; margin-bottom: 0px;
} }
@ -495,10 +468,6 @@ table.field-list td, table.field-list th {
/* -- hlist styles ---------------------------------------------------------- */ /* -- hlist styles ---------------------------------------------------------- */
table.hlist {
margin: 1em 0;
}
table.hlist td { table.hlist td {
vertical-align: top; vertical-align: top;
} }
@ -526,37 +495,17 @@ ol.upperroman {
list-style: upper-roman; list-style: upper-roman;
} }
:not(li) > ol > li:first-child > :first-child, li > p:first-child {
:not(li) > ul > li:first-child > :first-child {
margin-top: 0px; margin-top: 0px;
} }
:not(li) > ol > li:last-child > :last-child, li > p:last-child {
:not(li) > ul > li:last-child > :last-child {
margin-bottom: 0px; margin-bottom: 0px;
} }
ol.simple ol p,
ol.simple ul p,
ul.simple ol p,
ul.simple ul p {
margin-top: 0;
}
ol.simple > li:not(:first-child) > p,
ul.simple > li:not(:first-child) > p {
margin-top: 0;
}
ol.simple p,
ul.simple p {
margin-bottom: 0;
}
dl.footnote > dt, dl.footnote > dt,
dl.citation > dt { dl.citation > dt {
float: left; float: left;
margin-right: 0.5em;
} }
dl.footnote > dd, dl.footnote > dd,
@ -597,7 +546,7 @@ dl {
margin-bottom: 15px; margin-bottom: 15px;
} }
dd > :first-child { dd > p:first-child {
margin-top: 0px; margin-top: 0px;
} }
@ -611,11 +560,6 @@ dd {
margin-left: 30px; margin-left: 30px;
} }
dl > dd:last-child,
dl > dd:last-child > :last-child {
margin-bottom: 0;
}
dt:target, span.highlighted { dt:target, span.highlighted {
background-color: #fbe54e; background-color: #fbe54e;
} }
@ -693,10 +637,6 @@ pre {
overflow-y: hidden; /* fixes display issues on Chrome browsers */ overflow-y: hidden; /* fixes display issues on Chrome browsers */
} }
pre, div[class*="highlight-"] {
clear: both;
}
span.pre { span.pre {
-moz-hyphens: none; -moz-hyphens: none;
-ms-hyphens: none; -ms-hyphens: none;
@ -704,57 +644,22 @@ span.pre {
hyphens: none; hyphens: none;
} }
div[class*="highlight-"] {
margin: 1em 0;
}
td.linenos pre { td.linenos pre {
padding: 5px 0px;
border: 0; border: 0;
background-color: transparent; background-color: transparent;
color: #aaa; color: #aaa;
} }
table.highlighttable { table.highlighttable {
display: block; margin-left: 0.5em;
}
table.highlighttable tbody {
display: block;
}
table.highlighttable tr {
display: flex;
} }
table.highlighttable td { table.highlighttable td {
margin: 0; padding: 0 0.5em 0 0.5em;
padding: 0;
}
table.highlighttable td.linenos {
padding-right: 0.5em;
}
table.highlighttable td.code {
flex: 1;
overflow: hidden;
}
.highlight .hll {
display: block;
}
div.highlight pre,
table.highlighttable pre {
margin: 0;
}
div.code-block-caption + div {
margin-top: 0;
} }
div.code-block-caption { div.code-block-caption {
margin-top: 1em;
padding: 2px 5px; padding: 2px 5px;
font-size: small; font-size: small;
} }
@ -763,8 +668,10 @@ div.code-block-caption code {
background-color: transparent; background-color: transparent;
} }
table.highlighttable td.linenos, div.code-block-caption + div > div.highlight > pre {
span.linenos, margin-top: 0;
}
div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none; user-select: none;
} }
@ -778,7 +685,11 @@ div.code-block-caption span.caption-text {
} }
div.literal-block-wrapper { div.literal-block-wrapper {
margin: 1em 0; padding: 1em 1em 0;
}
div.literal-block-wrapper div.highlight {
margin: 0;
} }
code.descname { code.descname {
@ -829,7 +740,8 @@ span.eqno {
} }
span.eqno a.headerlink { span.eqno a.headerlink {
position: absolute; position: relative;
left: 0px;
z-index: 1; z-index: 1;
} }

View file

@ -4,7 +4,7 @@
* *
* Sphinx JavaScript utilities for all documentation. * Sphinx JavaScript utilities for all documentation.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -285,10 +285,9 @@ var Documentation = {
initOnKeyListeners: function() { initOnKeyListeners: function() {
$(document).keydown(function(event) { $(document).keydown(function(event) {
var activeElementType = document.activeElement.tagName; var activeElementType = document.activeElement.tagName;
// don't navigate when in search box, textarea, dropdown or button // don't navigate when in search box or textarea
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
&& activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey && !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) {
&& !event.shiftKey) {
switch (event.keyCode) { switch (event.keyCode) {
case 37: // left case 37: // left
var prevHref = $('link[rel="prev"]').prop('href'); var prevHref = $('link[rel="prev"]').prop('href');

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 184 KiB

File diff suppressed because it is too large Load diff

4
_static/jquery.js vendored

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
* This script contains the language-specific data used by searchtools.js, * This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter. * namely the list of stopwords, stemmer, scorer and splitter.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */

View file

@ -4,7 +4,7 @@
* *
* Sphinx JavaScript utilities for the full-text search. * Sphinx JavaScript utilities for the full-text search.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -59,10 +59,10 @@ var Search = {
_pulse_status : -1, _pulse_status : -1,
htmlToText : function(htmlString) { htmlToText : function(htmlString) {
var virtualDocument = document.implementation.createHTMLDocument('virtual'); var htmlElement = document.createElement('span');
var htmlElement = $(htmlString, virtualDocument); htmlElement.innerHTML = htmlString;
htmlElement.find('.headerlink').remove(); $(htmlElement).find('.headerlink').remove();
docContent = htmlElement.find('[role=main]')[0]; docContent = $(htmlElement).find('[role=main]')[0];
if(docContent === undefined) { if(docContent === undefined) {
console.warn("Content block not found. Sphinx search tries to obtain it " + console.warn("Content block not found. Sphinx search tries to obtain it " +
"via '[role=main]'. Could you check your theme or template."); "via '[role=main]'. Could you check your theme or template.");
@ -166,7 +166,8 @@ var Search = {
objectterms.push(tmp[i].toLowerCase()); objectterms.push(tmp[i].toLowerCase());
} }
if ($u.indexOf(stopwords, tmp[i].toLowerCase()) != -1 || tmp[i] === "") { if ($u.indexOf(stopwords, tmp[i].toLowerCase()) != -1 || tmp[i].match(/^\d+$/) ||
tmp[i] === "") {
// skip this "word" // skip this "word"
continue; continue;
} }

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="prev" title="Contributing" href="contributing.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="prev" title="Contributing" href="contributing.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>About - manim documentation</title> <title>About - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?4fd3409932f92ca564727de2"> <link rel="stylesheet" href="../_static/styles/default.css?98435ccc2756b1ef26599513">
<link rel="stylesheet" href="../_static/pygments.css?4fd3409932f92ca564727de2"> <link rel="stylesheet" href="../_static/pygments.css?98435ccc2756b1ef26599513">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?98435ccc2756b1ef26599513"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?4fd3409932f92ca564727de2"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Contributing" href="contributing.html" /><link rel="prev" title="custom_default" href="../documentation/custom_default.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Contributing" href="contributing.html" /><link rel="prev" title="custom_default" href="../documentation/custom_default.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Changelog - manim documentation</title> <title>Changelog - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?913d22db8c458f2911766b68"> <link rel="stylesheet" href="../_static/styles/default.css?c78cad2581d02f59801fb92d">
<link rel="stylesheet" href="../_static/pygments.css?913d22db8c458f2911766b68"> <link rel="stylesheet" href="../_static/pygments.css?c78cad2581d02f59801fb92d">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?c78cad2581d02f59801fb92d"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?913d22db8c458f2911766b68"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="About" href="about.html" /><link rel="prev" title="Changelog" href="changelog.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="About" href="about.html" /><link rel="prev" title="Changelog" href="changelog.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Contributing - manim documentation</title> <title>Contributing - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?e36f4cd9ab9b991df3923b22"> <link rel="stylesheet" href="../_static/styles/default.css?229baae92639a015f89946af">
<link rel="stylesheet" href="../_static/pygments.css?e36f4cd9ab9b991df3923b22"> <link rel="stylesheet" href="../_static/pygments.css?229baae92639a015f89946af">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?229baae92639a015f89946af"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?e36f4cd9ab9b991df3923b22"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Animation (TODO) - manim documentation</title> <title>Animation (TODO) - manim documentation</title>
<link rel="stylesheet" href="../../_static/copybutton.css" /> <link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="../../_static/custom.css" /> <link rel="stylesheet" href="../../_static/custom.css" />
<link rel="stylesheet" href="../../_static/colors.css" /> <link rel="stylesheet" href="../../_static/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?6e6df2962354b031ac5618fa"> <link rel="stylesheet" href="../../_static/styles/default.css?d1aaad83841ea158bbd2b64b">
<link rel="stylesheet" href="../../_static/pygments.css?6e6df2962354b031ac5618fa"> <link rel="stylesheet" href="../../_static/pygments.css?d1aaad83841ea158bbd2b64b">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../../_static/doctools.js" defer></script> <script src="../../_static/doctools.js" defer></script>
<script src="../../_static/language_data.js" defer></script>
<script src="../../_static/clipboard.min.js"></script> <script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script> <script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?d1aaad83841ea158bbd2b64b"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../../_static/scripts/main.js?6e6df2962354b031ac5618fa"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Camera (TODO) - manim documentation</title> <title>Camera (TODO) - manim documentation</title>
<link rel="stylesheet" href="../../_static/copybutton.css" /> <link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="../../_static/custom.css" /> <link rel="stylesheet" href="../../_static/custom.css" />
<link rel="stylesheet" href="../../_static/colors.css" /> <link rel="stylesheet" href="../../_static/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?5e19edda2739fcdfeed45018"> <link rel="stylesheet" href="../../_static/styles/default.css?5dfb5a34d026e9f665c69776">
<link rel="stylesheet" href="../../_static/pygments.css?5e19edda2739fcdfeed45018"> <link rel="stylesheet" href="../../_static/pygments.css?5dfb5a34d026e9f665c69776">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../../_static/doctools.js" defer></script> <script src="../../_static/doctools.js" defer></script>
<script src="../../_static/language_data.js" defer></script>
<script src="../../_static/clipboard.min.js"></script> <script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script> <script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?5dfb5a34d026e9f665c69776"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../../_static/scripts/main.js?5e19edda2739fcdfeed45018"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="custom_default" href="custom_default.html" /><link rel="prev" title="Manims structure" href="../getting_started/structure.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="custom_default" href="custom_default.html" /><link rel="prev" title="Manims structure" href="../getting_started/structure.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>constants - manim documentation</title> <title>constants - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?20d1b78c5955d542aaf59a3c"> <link rel="stylesheet" href="../_static/styles/default.css?0b9c7afb6d0e3fe5e5c49dc0">
<link rel="stylesheet" href="../_static/pygments.css?20d1b78c5955d542aaf59a3c"> <link rel="stylesheet" href="../_static/pygments.css?0b9c7afb6d0e3fe5e5c49dc0">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?0b9c7afb6d0e3fe5e5c49dc0"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?20d1b78c5955d542aaf59a3c"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -212,61 +213,80 @@ they are only used inside manim.</p>
<h2>Colours<a class="headerlink" href="#colours" title="Permalink to this headline"></a></h2> <h2>Colours<a class="headerlink" href="#colours" title="Permalink to this headline"></a></h2>
<p>Here are the preview of default colours. (Modified from <p>Here are the preview of default colours. (Modified from
<a class="reference external" href="https://elteoremadebeethoven.github.io/manim_3feb_docs.github.io/html/_static/colors/colors.html">elteoremadebeethoven</a>)</p> <a class="reference external" href="https://elteoremadebeethoven.github.io/manim_3feb_docs.github.io/html/_static/colors/colors.html">elteoremadebeethoven</a>)</p>
<div style="float: left;">
<h3>BLUE</h3> <h3>BLUE</h3>
<div class="colors BLUE_E"><p class="color-text">BLUE_E</p></div> <div class="colors BLUE_E"><p class="color-text">BLUE_E</p></div>
<div class="colors BLUE_D"><p class="color-text">BLUE_D</p></div> <div class="colors BLUE_D"><p class="color-text">BLUE_D</p></div>
<div class="colors BLUE_C"><p class="color-text">BLUE_C</p></div> <div class="colors BLUE_C"><p class="color-text">BLUE_C</p></div>
<div class="colors BLUE_B"><p class="color-text">BLUE_B</p></div> <div class="colors BLUE_B"><p class="color-text">BLUE_B</p></div>
<div class="colors BLUE_A"><p class="color-text">BLUE_A</p></div> <div class="colors BLUE_A"><p class="color-text">BLUE_A</p></div>
<h3 style="margin-top: 6em">TEAL</h3> </div>
<div style="float: left;">
<h3>TEAL</h3>
<div class="colors TEAL_E"><p class="color-text">TEAL_E</p></div> <div class="colors TEAL_E"><p class="color-text">TEAL_E</p></div>
<div class="colors TEAL_D"><p class="color-text">TEAL_D</p></div> <div class="colors TEAL_D"><p class="color-text">TEAL_D</p></div>
<div class="colors TEAL_C"><p class="color-text">TEAL_C</p></div> <div class="colors TEAL_C"><p class="color-text">TEAL_C</p></div>
<div class="colors TEAL_B"><p class="color-text">TEAL_B</p></div> <div class="colors TEAL_B"><p class="color-text">TEAL_B</p></div>
<div class="colors TEAL_A"><p class="color-text">TEAL_A</p></div> <div class="colors TEAL_A"><p class="color-text">TEAL_A</p></div>
<h3 style="margin-top: 6em">GREEN</h3> </div>
<div style="float: left;">
<h3>GREEN</h3>
<div class="colors GREEN_E"><p class="color-text">GREEN_E</p></div> <div class="colors GREEN_E"><p class="color-text">GREEN_E</p></div>
<div class="colors GREEN_D"><p class="color-text">GREEN_D</p></div> <div class="colors GREEN_D"><p class="color-text">GREEN_D</p></div>
<div class="colors GREEN_C"><p class="color-text">GREEN_C</p></div> <div class="colors GREEN_C"><p class="color-text">GREEN_C</p></div>
<div class="colors GREEN_B"><p class="color-text">GREEN_B</p></div> <div class="colors GREEN_B"><p class="color-text">GREEN_B</p></div>
<div class="colors GREEN_A"><p class="color-text">GREEN_A</p></div> <div class="colors GREEN_A"><p class="color-text">GREEN_A</p></div>
<h3 style="margin-top: 6em">YELLOW</h3> </div>
<div style="float: left;">
<h3>YELLOW</h3>
<div class="colors YELLOW_E"><p class="color-text">YELLOW_E</p></div> <div class="colors YELLOW_E"><p class="color-text">YELLOW_E</p></div>
<div class="colors YELLOW_D"><p class="color-text">YELLOW_D</p></div> <div class="colors YELLOW_D"><p class="color-text">YELLOW_D</p></div>
<div class="colors YELLOW_C"><p class="color-text">YELLOW_C</p></div> <div class="colors YELLOW_C"><p class="color-text">YELLOW_C</p></div>
<div class="colors YELLOW_B"><p class="color-text">YELLOW_B</p></div> <div class="colors YELLOW_B"><p class="color-text">YELLOW_B</p></div>
<div class="colors YELLOW_A"><p class="color-text">YELLOW_A</p></div> <div class="colors YELLOW_A"><p class="color-text">YELLOW_A</p></div>
<h3 style="margin-top: 6em">GOLD</h3> </div>
<div style="float: left;">
<h3>GOLD</h3>
<div class="colors GOLD_E"><p class="color-text">GOLD_E</p></div> <div class="colors GOLD_E"><p class="color-text">GOLD_E</p></div>
<div class="colors GOLD_D"><p class="color-text">GOLD_D</p></div> <div class="colors GOLD_D"><p class="color-text">GOLD_D</p></div>
<div class="colors GOLD_C"><p class="color-text">GOLD_C</p></div> <div class="colors GOLD_C"><p class="color-text">GOLD_C</p></div>
<div class="colors GOLD_B"><p class="color-text">GOLD_B</p></div> <div class="colors GOLD_B"><p class="color-text">GOLD_B</p></div>
<div class="colors GOLD_A"><p class="color-text">GOLD_A</p></div> <div class="colors GOLD_A"><p class="color-text">GOLD_A</p></div>
<h3 style="margin-top: 6em">RED</h3> </div>
<div style="float: left;">
<h3>RED</h3>
<div class="colors RED_E"><p class="color-text">RED_E</p></div> <div class="colors RED_E"><p class="color-text">RED_E</p></div>
<div class="colors RED_D"><p class="color-text">RED_D</p></div> <div class="colors RED_D"><p class="color-text">RED_D</p></div>
<div class="colors RED_C"><p class="color-text">RED_C</p></div> <div class="colors RED_C"><p class="color-text">RED_C</p></div>
<div class="colors RED_B"><p class="color-text">RED_B</p></div> <div class="colors RED_B"><p class="color-text">RED_B</p></div>
<div class="colors RED_A"><p class="color-text">RED_A</p></div> <div class="colors RED_A"><p class="color-text">RED_A</p></div>
<h3 style="margin-top: 6em">MAROON</h3> </div>
<div style="float: left;">
<h3>MAROON</h3>
<div class="colors MAROON_E"><p class="color-text">MAROON_E</p></div> <div class="colors MAROON_E"><p class="color-text">MAROON_E</p></div>
<div class="colors MAROON_D"><p class="color-text">MAROON_D</p></div> <div class="colors MAROON_D"><p class="color-text">MAROON_D</p></div>
<div class="colors MAROON_C"><p class="color-text">MAROON_C</p></div> <div class="colors MAROON_C"><p class="color-text">MAROON_C</p></div>
<div class="colors MAROON_B"><p class="color-text">MAROON_B</p></div> <div class="colors MAROON_B"><p class="color-text">MAROON_B</p></div>
<div class="colors MAROON_A"><p class="color-text">MAROON_A</p></div> <div class="colors MAROON_A"><p class="color-text">MAROON_A</p></div>
<h3 style="margin-top: 6em">PURPLE</h3> </div>
<div style="float: left;">
<h3>PURPLE</h3>
<div class="colors PURPLE_E"><p class="color-text">PURPLE_E</p></div> <div class="colors PURPLE_E"><p class="color-text">PURPLE_E</p></div>
<div class="colors PURPLE_D"><p class="color-text">PURPLE_D</p></div> <div class="colors PURPLE_D"><p class="color-text">PURPLE_D</p></div>
<div class="colors PURPLE_C"><p class="color-text">PURPLE_C</p></div> <div class="colors PURPLE_C"><p class="color-text">PURPLE_C</p></div>
<div class="colors PURPLE_B"><p class="color-text">PURPLE_B</p></div> <div class="colors PURPLE_B"><p class="color-text">PURPLE_B</p></div>
<div class="colors PURPLE_A"><p class="color-text">PURPLE_A</p></div> <div class="colors PURPLE_A"><p class="color-text">PURPLE_A</p></div>
<h3 style="margin-top: 6em">GREY</h3> </div>
<div style="float: left;">
<h3>GREY</h3>
<div class="colors GREY_E"><p class="color-text">GREY_E</p></div> <div class="colors GREY_E"><p class="color-text">GREY_E</p></div>
<div class="colors GREY_D"><p class="color-text">GREY_D</p></div> <div class="colors GREY_D"><p class="color-text">GREY_D</p></div>
<div class="colors GREY_C"><p class="color-text">GREY_C</p></div> <div class="colors GREY_C"><p class="color-text">GREY_C</p></div>
<div class="colors GREY_B"><p class="color-text">GREY_B</p></div> <div class="colors GREY_B"><p class="color-text">GREY_B</p></div>
<div class="colors GREY_A"><p class="color-text">GREY_A</p></div> <div class="colors GREY_A"><p class="color-text">GREY_A</p></div>
<h3 style="margin-top: 6em">Others</h3> </div>
<div style="float: left;">
<h3>Others</h3>
<div class="colors WHITE"><p class="color-text" style="color: BLACK">WHITE</p></div> <div class="colors WHITE"><p class="color-text" style="color: BLACK">WHITE</p></div>
<div class="colors BLACK"><p class="color-text">BLACK</p></div> <div class="colors BLACK"><p class="color-text">BLACK</p></div>
<div class="colors GREY_BROWN"><p class="color-text-small">GREY_BROWN</p></div> <div class="colors GREY_BROWN"><p class="color-text-small">GREY_BROWN</p></div>
@ -275,7 +295,8 @@ they are only used inside manim.</p>
<div class="colors PINK"><p class="color-text">PINK</p></div> <div class="colors PINK"><p class="color-text">PINK</p></div>
<div class="colors LIGHT_PINK"><p class="color-text-small">LIGHT_PINK</p></div> <div class="colors LIGHT_PINK"><p class="color-text-small">LIGHT_PINK</p></div>
<div class="colors GREEN_SCREEN"><p class="color-text-small">GREEN_SCREEN</p></div> <div class="colors GREEN_SCREEN"><p class="color-text-small">GREEN_SCREEN</p></div>
<div class="colors ORANGE"><p class="color-text">ORANGE</p></div></div> <div class="colors ORANGE"><p class="color-text">ORANGE</p></div>
</div></div>
</div> </div>
</article> </article>

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Changelog" href="../development/changelog.html" /><link rel="prev" title="constants" href="constants.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Changelog" href="../development/changelog.html" /><link rel="prev" title="constants" href="constants.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>custom_default - manim documentation</title> <title>custom_default - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?d487b8f48ba7bdb05e3f028e"> <link rel="stylesheet" href="../_static/styles/default.css?145fb45fc8f5e5fabee336eb">
<link rel="stylesheet" href="../_static/pygments.css?d487b8f48ba7bdb05e3f028e"> <link rel="stylesheet" href="../_static/pygments.css?145fb45fc8f5e5fabee336eb">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?145fb45fc8f5e5fabee336eb"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?d487b8f48ba7bdb05e3f028e"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -184,6 +185,12 @@ file and saved the last frame, then the final directory structure will be like:<
</dl> </dl>
</li> </li>
<li><dl class="simple"> <li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">sounds</span></code></dt><dd><p>The directory for storing sound files to be used in <code class="docutils literal notranslate"><span class="pre">Scene.add_sound()</span></code> (
including <code class="docutils literal notranslate"><span class="pre">.wav</span></code> and <code class="docutils literal notranslate"><span class="pre">.mp3</span></code>).</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">temporary_storage</span></code></dt><dd><p>The directory for storing temporarily generated cache files, including <dt><code class="docutils literal notranslate"><span class="pre">temporary_storage</span></code></dt><dd><p>The directory for storing temporarily generated cache files, including
<code class="docutils literal notranslate"><span class="pre">Tex</span></code> cache, <code class="docutils literal notranslate"><span class="pre">Text</span></code> cache and storage of object points.</p> <code class="docutils literal notranslate"><span class="pre">Tex</span></code> cache, <code class="docutils literal notranslate"><span class="pre">Text</span></code> cache and storage of object points.</p>
</dd> </dd>
@ -243,6 +250,14 @@ is recommended)</p>
the first character means upper(U) / middle(O) / lower(D), the second character the first character means upper(U) / middle(O) / lower(D), the second character
means left(L) / middle(O) / right(R)).</p> means left(L) / middle(O) / right(R)).</p>
</div> </div>
<div class="section" id="break-into-partial-movies">
<h2><code class="docutils literal notranslate"><span class="pre">break_into_partial_movies</span></code><a class="headerlink" href="#break-into-partial-movies" title="Permalink to this headline"></a></h2>
<p>If this is set to <code class="docutils literal notranslate"><span class="pre">True</span></code>, then many small files will be written corresponding
to each <code class="docutils literal notranslate"><span class="pre">Scene.play</span></code> and <code class="docutils literal notranslate"><span class="pre">Scene.wait</span></code> call, and these files will then be combined
to form the full scene.</p>
<p>Sometimes video-editing is made easier when working with the broken up scene, which
effectively has cuts at all the places you might want.</p>
</div>
<div class="section" id="camera-qualities"> <div class="section" id="camera-qualities">
<h2><code class="docutils literal notranslate"><span class="pre">camera_qualities</span></code><a class="headerlink" href="#camera-qualities" title="Permalink to this headline"></a></h2> <h2><code class="docutils literal notranslate"><span class="pre">camera_qualities</span></code><a class="headerlink" href="#camera-qualities" title="Permalink to this headline"></a></h2>
<p>Export quality</p> <p>Export quality</p>
@ -328,6 +343,7 @@ means left(L) / middle(O) / right(R)).</p>
<li><a class="reference internal" href="#universal-import-line"><code class="docutils literal notranslate"><span class="pre">universal_import_line</span></code></a></li> <li><a class="reference internal" href="#universal-import-line"><code class="docutils literal notranslate"><span class="pre">universal_import_line</span></code></a></li>
<li><a class="reference internal" href="#style"><code class="docutils literal notranslate"><span class="pre">style</span></code></a></li> <li><a class="reference internal" href="#style"><code class="docutils literal notranslate"><span class="pre">style</span></code></a></li>
<li><a class="reference internal" href="#window-position"><code class="docutils literal notranslate"><span class="pre">window_position</span></code></a></li> <li><a class="reference internal" href="#window-position"><code class="docutils literal notranslate"><span class="pre">window_position</span></code></a></li>
<li><a class="reference internal" href="#break-into-partial-movies"><code class="docutils literal notranslate"><span class="pre">break_into_partial_movies</span></code></a></li>
<li><a class="reference internal" href="#camera-qualities"><code class="docutils literal notranslate"><span class="pre">camera_qualities</span></code></a></li> <li><a class="reference internal" href="#camera-qualities"><code class="docutils literal notranslate"><span class="pre">camera_qualities</span></code></a></li>
</ul> </ul>
</li> </li>

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Mobject (TODO) - manim documentation</title> <title>Mobject (TODO) - manim documentation</title>
<link rel="stylesheet" href="../../_static/copybutton.css" /> <link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="../../_static/custom.css" /> <link rel="stylesheet" href="../../_static/custom.css" />
<link rel="stylesheet" href="../../_static/colors.css" /> <link rel="stylesheet" href="../../_static/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?a261c4ffff04f35688922dba"> <link rel="stylesheet" href="../../_static/styles/default.css?935e78eb4f1b92b9c9c30da1">
<link rel="stylesheet" href="../../_static/pygments.css?a261c4ffff04f35688922dba"> <link rel="stylesheet" href="../../_static/pygments.css?935e78eb4f1b92b9c9c30da1">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../../_static/doctools.js" defer></script> <script src="../../_static/doctools.js" defer></script>
<script src="../../_static/language_data.js" defer></script>
<script src="../../_static/clipboard.min.js"></script> <script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script> <script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?935e78eb4f1b92b9c9c30da1"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../../_static/scripts/main.js?a261c4ffff04f35688922dba"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Scene (TODO) - manim documentation</title> <title>Scene (TODO) - manim documentation</title>
<link rel="stylesheet" href="../../_static/copybutton.css" /> <link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="../../_static/custom.css" /> <link rel="stylesheet" href="../../_static/custom.css" />
<link rel="stylesheet" href="../../_static/colors.css" /> <link rel="stylesheet" href="../../_static/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?3611c9663854711a2b416fd2"> <link rel="stylesheet" href="../../_static/styles/default.css?a10be785ba5ba2bf3cea20ef">
<link rel="stylesheet" href="../../_static/pygments.css?3611c9663854711a2b416fd2"> <link rel="stylesheet" href="../../_static/pygments.css?a10be785ba5ba2bf3cea20ef">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../../_static/doctools.js" defer></script> <script src="../../_static/doctools.js" defer></script>
<script src="../../_static/language_data.js" defer></script>
<script src="../../_static/clipboard.min.js"></script> <script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script> <script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?a10be785ba5ba2bf3cea20ef"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../../_static/scripts/main.js?3611c9663854711a2b416fd2"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Shaders (TODO) - manim documentation</title> <title>Shaders (TODO) - manim documentation</title>
<link rel="stylesheet" href="../../_static/copybutton.css" /> <link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="../../_static/custom.css" /> <link rel="stylesheet" href="../../_static/custom.css" />
<link rel="stylesheet" href="../../_static/colors.css" /> <link rel="stylesheet" href="../../_static/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?3e26fde9b53deff80c9e4cb1"> <link rel="stylesheet" href="../../_static/styles/default.css?d43b9bc1328a5847b88aae63">
<link rel="stylesheet" href="../../_static/pygments.css?3e26fde9b53deff80c9e4cb1"> <link rel="stylesheet" href="../../_static/pygments.css?d43b9bc1328a5847b88aae63">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../../_static/doctools.js" defer></script> <script src="../../_static/doctools.js" defer></script>
<script src="../../_static/language_data.js" defer></script>
<script src="../../_static/clipboard.min.js"></script> <script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script> <script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?d43b9bc1328a5847b88aae63"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../../_static/scripts/main.js?3e26fde9b53deff80c9e4cb1"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Utils (TODO) - manim documentation</title> <title>Utils (TODO) - manim documentation</title>
<link rel="stylesheet" href="../../_static/copybutton.css" /> <link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="../../_static/custom.css" /> <link rel="stylesheet" href="../../_static/custom.css" />
<link rel="stylesheet" href="../../_static/colors.css" /> <link rel="stylesheet" href="../../_static/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?ddfa53ea5be18c3f6a03158d"> <link rel="stylesheet" href="../../_static/styles/default.css?7b4cd2f82a0c8f9334018175">
<link rel="stylesheet" href="../../_static/pygments.css?ddfa53ea5be18c3f6a03158d"> <link rel="stylesheet" href="../../_static/pygments.css?7b4cd2f82a0c8f9334018175">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../../_static/doctools.js" defer></script> <script src="../../_static/doctools.js" defer></script>
<script src="../../_static/language_data.js" defer></script>
<script src="../../_static/clipboard.min.js"></script> <script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script> <script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?7b4cd2f82a0c8f9334018175"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../../_static/scripts/main.js?ddfa53ea5be18c3f6a03158d"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />
<link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title> - manim documentation</title> <title> - manim documentation</title>
<link rel="stylesheet" href="_static/copybutton.css" /> <link rel="stylesheet" href="_static/copybutton.css" />
<link rel="stylesheet" href="_static/custom.css" /> <link rel="stylesheet" href="_static/custom.css" />
<link rel="stylesheet" href="_static/colors.css" /> <link rel="stylesheet" href="_static/colors.css" />
<link rel="stylesheet" href="_static/styles/default.css?d87c98376ab7a2416b239c20"> <link rel="stylesheet" href="_static/styles/default.css?dda2e60dd959e1a7f0b7c2a6">
<link rel="stylesheet" href="_static/pygments.css?d87c98376ab7a2416b239c20"> <link rel="stylesheet" href="_static/pygments.css?dda2e60dd959e1a7f0b7c2a6">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="_static/doctools.js" defer></script> <script src="_static/doctools.js" defer></script>
<script src="_static/language_data.js" defer></script>
<script src="_static/clipboard.min.js"></script> <script src="_static/clipboard.min.js"></script>
<script src="_static/copybutton.js"></script> <script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?dda2e60dd959e1a7f0b7c2a6"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="_static/scripts/main.js?d87c98376ab7a2416b239c20"></script></head>
<body dir=""> <body dir="">
</body> </body>

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Manims structure" href="structure.html" /><link rel="prev" title="Example Scenes" href="example_scenes.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Manims structure" href="structure.html" /><link rel="prev" title="Example Scenes" href="example_scenes.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>CONFIG dictionary - manim documentation</title> <title>CONFIG dictionary - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?c693fb0ffbe0630b1f3e4715"> <link rel="stylesheet" href="../_static/styles/default.css?ecec313fef53e6b9c367393b">
<link rel="stylesheet" href="../_static/pygments.css?c693fb0ffbe0630b1f3e4715"> <link rel="stylesheet" href="../_static/pygments.css?ecec313fef53e6b9c367393b">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?ecec313fef53e6b9c367393b"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?c693fb0ffbe0630b1f3e4715"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Example Scenes" href="example_scenes.html" /><link rel="prev" title="Quick Start" href="quickstart.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Example Scenes" href="example_scenes.html" /><link rel="prev" title="Quick Start" href="quickstart.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>CLI flags and configuration - manim documentation</title> <title>CLI flags and configuration - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?9eef43edcf065f508d419b1d"> <link rel="stylesheet" href="../_static/styles/default.css?1109c82bf548662db70107ed">
<link rel="stylesheet" href="../_static/pygments.css?9eef43edcf065f508d419b1d"> <link rel="stylesheet" href="../_static/pygments.css?1109c82bf548662db70107ed">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?1109c82bf548662db70107ed"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?9eef43edcf065f508d419b1d"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -137,12 +138,10 @@ and enter the command in the following format into terminal:</p>
<ul class="simple"> <ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">-w</span></code> to write the scene to a file.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">-w</span></code> to write the scene to a file.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">-o</span></code> to write the scene to a file and open the result.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">-o</span></code> to write the scene to a file and open the result.</p></li>
<li><dl class="simple"> <li><p><code class="docutils literal notranslate"><span class="pre">-s</span></code> to skip to the end and just show the final frame.</p>
<dt><code class="docutils literal notranslate"><span class="pre">-s</span></code> to skip to the end and just show the final frame.</dt><dd><ul> <ul>
<li><p><code class="docutils literal notranslate"><span class="pre">-so</span></code> will save the final frame to an image and show it.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">-so</span></code> will save the final frame to an image and show it.</p></li>
</ul> </ul>
</dd>
</dl>
</li> </li>
<li><p><code class="docutils literal notranslate"><span class="pre">-n</span> <span class="pre">&lt;number&gt;</span></code> to skip ahead to the <code class="docutils literal notranslate"><span class="pre">n</span></code>th animation of a scene.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">-n</span> <span class="pre">&lt;number&gt;</span></code> to skip ahead to the <code class="docutils literal notranslate"><span class="pre">n</span></code>th animation of a scene.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">-f</span></code> to make the playback window fullscreen.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">-f</span></code> to make the playback window fullscreen.</p></li>

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="CONFIG dictionary" href="config.html" /><link rel="prev" title="CLI flags and configuration" href="configuration.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="CONFIG dictionary" href="config.html" /><link rel="prev" title="CLI flags and configuration" href="configuration.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Example Scenes - manim documentation</title> <title>Example Scenes - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?afd8525437fa3c429ef1fa69"> <link rel="stylesheet" href="../_static/styles/default.css?45a401f3adc6249c2e4af26e">
<link rel="stylesheet" href="../_static/pygments.css?afd8525437fa3c429ef1fa69"> <link rel="stylesheet" href="../_static/pygments.css?45a401f3adc6249c2e4af26e">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?45a401f3adc6249c2e4af26e"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?afd8525437fa3c429ef1fa69"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -143,19 +144,49 @@ the simplest and one by one.</p>
</div><p>This scene is what we wrote in <a class="reference internal" href="quickstart.html"><span class="doc">Quick Start</span></a>. </div><p>This scene is what we wrote in <a class="reference internal" href="quickstart.html"><span class="doc">Quick Start</span></a>.
No more explanation here</p> No more explanation here</p>
</div> </div>
<div class="section" id="warpsquare"> <div class="section" id="animatingmethods">
<h2>WarpSquare<a class="headerlink" href="#warpsquare" title="Permalink to this headline"></a></h2> <h2>AnimatingMethods<a class="headerlink" href="#animatingmethods" title="Permalink to this headline"></a></h2>
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="warpsquare" loop="" src="../_static/example_scenes/WarpSquare.mp4"></video><h5 class="example-header">WarpSquare<a class="headerlink" href="#warpsquare"></a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">WarpSquare</span><span class="p">(</span><span class="n">Scene</span><span class="p">):</span> <div class="manim-example"><video autoplay="" class="manim-video" controls="" id="animatingmethods" loop="" src="../_static/example_scenes/AnimatingMethods.mp4"></video><h5 class="example-header">AnimatingMethods<a class="headerlink" href="#animatingmethods"></a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">AnimatingMethods</span><span class="p">(</span><span class="n">Scene</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">construct</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> <span class="k">def</span> <span class="nf">construct</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="n">square</span> <span class="o">=</span> <span class="n">Square</span><span class="p">()</span> <span class="n">grid</span> <span class="o">=</span> <span class="n">Tex</span><span class="p">(</span><span class="sa">r</span><span class="s2">"\pi"</span><span class="p">)</span><span class="o">.</span><span class="n">get_grid</span><span class="p">(</span><span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="n">height</span><span class="o">=</span><span class="mi">4</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span><span class="n">square</span><span class="o">.</span><span class="n">apply_complex_function</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">exp</span><span class="p">)</span> <span class="bp">self</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="n">grid</span><span class="p">)</span>
<span class="c1"># If you pass in a mobject method to the scene's "play" function,</span>
<span class="c1"># it will apply an animation interpolating between the mobject's</span>
<span class="c1"># initial state and whatever happens when you apply that method.</span>
<span class="c1"># For example, calling grid.shift(2 * LEFT) would shift it two units</span>
<span class="c1"># to the left, but the following line animates that motion.</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span><span class="n">grid</span><span class="o">.</span><span class="n">shift</span><span class="p">,</span> <span class="mi">2</span> <span class="o">*</span> <span class="n">LEFT</span><span class="p">)</span>
<span class="c1"># The same applies for any method, including those setting colors.</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span><span class="n">grid</span><span class="o">.</span><span class="n">set_submobject_colors_by_gradient</span><span class="p">,</span> <span class="n">BLUE</span><span class="p">,</span> <span class="n">GREEN</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span><span class="n">grid</span><span class="o">.</span><span class="n">set_height</span><span class="p">,</span> <span class="n">TAU</span> <span class="o">-</span> <span class="n">MED_SMALL_BUFF</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span>
<span class="c1"># The method Mobject.apply_complex_function lets you apply arbitrary</span>
<span class="c1"># complex functions, treating the points defining the mobject as</span>
<span class="c1"># complex numbers.</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span><span class="n">grid</span><span class="o">.</span><span class="n">apply_complex_function</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">exp</span><span class="p">,</span> <span class="n">run_time</span><span class="o">=</span><span class="mi">5</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span>
<span class="c1"># Even more generally, you could apply Mobject.apply_function,</span>
<span class="c1"># which takes in functions form R^3 to R^3</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span>
<span class="n">grid</span><span class="o">.</span><span class="n">apply_function</span><span class="p">,</span>
<span class="k">lambda</span> <span class="n">p</span><span class="p">:</span> <span class="p">[</span>
<span class="n">p</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">+</span> <span class="mf">0.5</span> <span class="o">*</span> <span class="n">math</span><span class="o">.</span><span class="n">sin</span><span class="p">(</span><span class="n">p</span><span class="p">[</span><span class="mi">1</span><span class="p">]),</span>
<span class="n">p</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="o">+</span> <span class="mf">0.5</span> <span class="o">*</span> <span class="n">math</span><span class="o">.</span><span class="n">sin</span><span class="p">(</span><span class="n">p</span><span class="p">[</span><span class="mi">0</span><span class="p">]),</span>
<span class="n">p</span><span class="p">[</span><span class="mi">2</span><span class="p">]</span>
<span class="p">],</span>
<span class="n">run_time</span><span class="o">=</span><span class="mi">5</span><span class="p">,</span>
<span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span> <span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span>
</pre></div> </pre></div>
</div> </div>
</div><p>The new usage in this scene is <code class="docutils literal notranslate"><span class="pre">self.play(square.apply_complex_function,</span> <span class="pre">np.exp)</span></code>, </div><p>The new usage in this scene is <code class="docutils literal notranslate"><span class="pre">.get_grid()</span></code> and <code class="docutils literal notranslate"><span class="pre">self.play(mob.method,</span> <span class="pre">args)</span></code>.</p>
which shows an animation of applying a complex function <span class="math notranslate nohighlight">\(f(z)=e^z\)</span> to a square. <ul class="simple">
It is equivalent to transforming the original square into the result after <li><p><code class="docutils literal notranslate"><span class="pre">.get_grid()</span></code> method will return a new mobject containing multiple copies of this one arranged in a grid.</p></li>
applying a function.</p> <li><p><code class="docutils literal notranslate"><span class="pre">self.play(mob.method,</span> <span class="pre">args)</span></code> animate the method, and the details are in the comments above.</p></li>
</ul>
</div> </div>
<div class="section" id="textexample"> <div class="section" id="textexample">
<h2>TextExample<a class="headerlink" href="#textexample" title="Permalink to this headline"></a></h2> <h2>TextExample<a class="headerlink" href="#textexample" title="Permalink to this headline"></a></h2>
@ -394,10 +425,11 @@ and <code class="docutils literal notranslate"><span class="pre">TransformMatchi
<span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">(</span><span class="mi">4</span> <span class="o">*</span> <span class="n">PI</span><span class="p">)</span> <span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">(</span><span class="mi">4</span> <span class="o">*</span> <span class="n">PI</span><span class="p">)</span>
</pre></div> </pre></div>
</div> </div>
</div><p>The new classes and usage in this scene are <code class="docutils literal notranslate"><span class="pre">DecimalNumber</span></code>, <code class="docutils literal notranslate"><span class="pre">.to_edge()</span></code>, </div><p>The new classes and usage in this scene are <code class="docutils literal notranslate"><span class="pre">always_redraw()</span></code>, <code class="docutils literal notranslate"><span class="pre">DecimalNumber</span></code>, <code class="docutils literal notranslate"><span class="pre">.to_edge()</span></code>,
<code class="docutils literal notranslate"><span class="pre">.center()</span></code>, <code class="docutils literal notranslate"><span class="pre">always_become()</span></code>, <code class="docutils literal notranslate"><span class="pre">always()</span></code>, <code class="docutils literal notranslate"><span class="pre">f_always()</span></code>, <code class="docutils literal notranslate"><span class="pre">.set_y()</span></code> and <code class="docutils literal notranslate"><span class="pre">.add_updater()</span></code>.</p> <code class="docutils literal notranslate"><span class="pre">.center()</span></code>, <code class="docutils literal notranslate"><span class="pre">always()</span></code>, <code class="docutils literal notranslate"><span class="pre">f_always()</span></code>, <code class="docutils literal notranslate"><span class="pre">.set_y()</span></code> and <code class="docutils literal notranslate"><span class="pre">.add_updater()</span></code>.</p>
<ul class="simple"> <ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">DecimalNumber</span></code> is a variable number, speed it up by breaking it into <code class="docutils literal notranslate"><span class="pre">Tex</span></code> characters.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">always_redraw()</span></code> function create a new mobject every frame.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">DecimalNumber</span></code> is a variable number, speed it up by breaking it into <code class="docutils literal notranslate"><span class="pre">Text</span></code> characters.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">.to_edge()</span></code> means to place the object on the edge of the screen.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">.to_edge()</span></code> means to place the object on the edge of the screen.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">.center()</span></code> means to place the object in the center of the screen.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">.center()</span></code> means to place the object in the center of the screen.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">always(f,</span> <span class="pre">x)</span></code> means that a certain function (<code class="docutils literal notranslate"><span class="pre">f(x)</span></code>) is executed every frame.</p></li> <li><p><code class="docutils literal notranslate"><span class="pre">always(f,</span> <span class="pre">x)</span></code> means that a certain function (<code class="docutils literal notranslate"><span class="pre">f(x)</span></code>) is executed every frame.</p></li>
@ -650,7 +682,7 @@ usage of manim. For more examples, see <a class="reference external" href="https
<ul> <ul>
<li><a class="reference internal" href="#">Example Scenes</a><ul> <li><a class="reference internal" href="#">Example Scenes</a><ul>
<li><a class="reference internal" href="#squaretocircle">SquareToCircle</a></li> <li><a class="reference internal" href="#squaretocircle">SquareToCircle</a></li>
<li><a class="reference internal" href="#warpsquare">WarpSquare</a></li> <li><a class="reference internal" href="#animatingmethods">AnimatingMethods</a></li>
<li><a class="reference internal" href="#textexample">TextExample</a></li> <li><a class="reference internal" href="#textexample">TextExample</a></li>
<li><a class="reference internal" href="#textransformexample">TexTransformExample</a></li> <li><a class="reference internal" href="#textransformexample">TexTransformExample</a></li>
<li><a class="reference internal" href="#updatersexample">UpdatersExample</a></li> <li><a class="reference internal" href="#updatersexample">UpdatersExample</a></li>

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Quick Start" href="quickstart.html" /><link rel="prev" title="Manims documentation" href="../index.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Quick Start" href="quickstart.html" /><link rel="prev" title="Manims documentation" href="../index.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Installation - manim documentation</title> <title>Installation - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?88f02ad19630959c89e4dd24"> <link rel="stylesheet" href="../_static/styles/default.css?6261e8ef602ef329403a2dbe">
<link rel="stylesheet" href="../_static/pygments.css?88f02ad19630959c89e4dd24"> <link rel="stylesheet" href="../_static/pygments.css?6261e8ef602ef329403a2dbe">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?6261e8ef602ef329403a2dbe"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?88f02ad19630959c89e4dd24"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="CLI flags and configuration" href="configuration.html" /><link rel="prev" title="Installation" href="installation.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="CLI flags and configuration" href="configuration.html" /><link rel="prev" title="Installation" href="installation.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Quick Start - manim documentation</title> <title>Quick Start - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?8ec893e002d62320c9311f32"> <link rel="stylesheet" href="../_static/styles/default.css?a3f3e8257c25a6b7b4dc6e41">
<link rel="stylesheet" href="../_static/pygments.css?8ec893e002d62320c9311f32"> <link rel="stylesheet" href="../_static/pygments.css?a3f3e8257c25a6b7b4dc6e41">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?a3f3e8257c25a6b7b4dc6e41"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?8ec893e002d62320c9311f32"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="constants" href="../documentation/constants.html" /><link rel="prev" title="CONFIG dictionary" href="config.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="constants" href="../documentation/constants.html" /><link rel="prev" title="CONFIG dictionary" href="config.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Manims structure - manim documentation</title> <title>Manims structure - manim documentation</title>
<link rel="stylesheet" href="../_static/copybutton.css" /> <link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="../_static/custom.css" /> <link rel="stylesheet" href="../_static/custom.css" />
<link rel="stylesheet" href="../_static/colors.css" /> <link rel="stylesheet" href="../_static/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?8dea8f67fe9c6bf91d8342c8"> <link rel="stylesheet" href="../_static/styles/default.css?b19fec2a2b68bdc82e338f1a">
<link rel="stylesheet" href="../_static/pygments.css?8dea8f67fe9c6bf91d8342c8"> <link rel="stylesheet" href="../_static/pygments.css?b19fec2a2b68bdc82e338f1a">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="../_static/doctools.js" defer></script> <script src="../_static/doctools.js" defer></script>
<script src="../_static/language_data.js" defer></script>
<script src="../_static/clipboard.min.js"></script> <script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script> <script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?b19fec2a2b68bdc82e338f1a"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="../_static/scripts/main.js?8dea8f67fe9c6bf91d8342c8"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -3,13 +3,13 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Installation" href="getting_started/installation.html" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Installation" href="getting_started/installation.html" />
<link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/> <link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
<title>Home - manim documentation</title> <title>Home - manim documentation</title>
<link rel="stylesheet" href="_static/copybutton.css" /> <link rel="stylesheet" href="_static/copybutton.css" />
<link rel="stylesheet" href="_static/custom.css" /> <link rel="stylesheet" href="_static/custom.css" />
<link rel="stylesheet" href="_static/colors.css" /> <link rel="stylesheet" href="_static/colors.css" />
<link rel="stylesheet" href="_static/styles/default.css?7db6dd86fdc97ae307f6d528"> <link rel="stylesheet" href="_static/styles/default.css?83e7b42e8ed795705357e50d">
<link rel="stylesheet" href="_static/pygments.css?7db6dd86fdc97ae307f6d528"> <link rel="stylesheet" href="_static/pygments.css?83e7b42e8ed795705357e50d">
<style> <style>
:root { :root {
@ -23,9 +23,10 @@
<script src="_static/doctools.js" defer></script> <script src="_static/doctools.js" defer></script>
<script src="_static/language_data.js" defer></script>
<script src="_static/clipboard.min.js"></script> <script src="_static/clipboard.min.js"></script>
<script src="_static/copybutton.js"></script> <script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?83e7b42e8ed795705357e50d"></script></head>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script src="_static/scripts/main.js?7db6dd86fdc97ae307f6d528"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -123,6 +124,7 @@
<img alt="_images/white_with_name.png" src="_images/white_with_name.png"/> <img alt="_images/white_with_name.png" src="_images/white_with_name.png"/>
<p>Manim is an animation engine for explanatory math videos. Its used to create precise animations programmatically, as seen in the videos <p>Manim is an animation engine for explanatory math videos. Its used to create precise animations programmatically, as seen in the videos
at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown</a>.</p> at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown</a>.</p>
<p>And here is a Chinese version of this documentation: <a class="reference external" href="https://manim.ml/shaders">https://manim.ml/shaders</a></p>
<div class="toctree-wrapper compound"> <div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Getting Started</span></p> <p class="caption"><span class="caption-text">Getting Started</span></p>
<ul> <ul>
@ -147,7 +149,7 @@ at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="getting_started/example_scenes.html">Example Scenes</a><ul> <li class="toctree-l1"><a class="reference internal" href="getting_started/example_scenes.html">Example Scenes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#squaretocircle">SquareToCircle</a></li> <li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#squaretocircle">SquareToCircle</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#warpsquare">WarpSquare</a></li> <li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#animatingmethods">AnimatingMethods</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#textexample">TextExample</a></li> <li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#textexample">TextExample</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#textransformexample">TexTransformExample</a></li> <li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#textransformexample">TexTransformExample</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#updatersexample">UpdatersExample</a></li> <li class="toctree-l2"><a class="reference internal" href="getting_started/example_scenes.html#updatersexample">UpdatersExample</a></li>
@ -189,6 +191,7 @@ at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown
<li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#universal-import-line"><code class="docutils literal notranslate"><span class="pre">universal_import_line</span></code></a></li> <li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#universal-import-line"><code class="docutils literal notranslate"><span class="pre">universal_import_line</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#style"><code class="docutils literal notranslate"><span class="pre">style</span></code></a></li> <li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#style"><code class="docutils literal notranslate"><span class="pre">style</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#window-position"><code class="docutils literal notranslate"><span class="pre">window_position</span></code></a></li> <li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#window-position"><code class="docutils literal notranslate"><span class="pre">window_position</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#break-into-partial-movies"><code class="docutils literal notranslate"><span class="pre">break_into_partial_movies</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#camera-qualities"><code class="docutils literal notranslate"><span class="pre">camera_qualities</span></code></a></li> <li class="toctree-l2"><a class="reference internal" href="documentation/custom_default.html#camera-qualities"><code class="docutils literal notranslate"><span class="pre">camera_qualities</span></code></a></li>
</ul> </ul>
</li> </li>

View file

@ -3,11 +3,11 @@
<head><meta charset="utf-8"/> <head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" /> <meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />
<link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.4.3, furo 2020.10.05.beta9"/><title>Search - manim documentation</title><link rel="stylesheet" href="_static/copybutton.css" /> <link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/><title>Search - manim documentation</title><link rel="stylesheet" href="_static/copybutton.css" />
<link rel="stylesheet" href="_static/custom.css" /> <link rel="stylesheet" href="_static/custom.css" />
<link rel="stylesheet" href="_static/colors.css" /> <link rel="stylesheet" href="_static/colors.css" />
<link rel="stylesheet" href="_static/styles/default.css?072daf528406d914e6bba35e"> <link rel="stylesheet" href="_static/styles/default.css?b4897dc56e1132c0f2c53600">
<link rel="stylesheet" href="_static/pygments.css?072daf528406d914e6bba35e"> <link rel="stylesheet" href="_static/pygments.css?b4897dc56e1132c0f2c53600">
<style> <style>
:root { :root {
@ -21,10 +21,11 @@
<script src="_static/doctools.js" defer></script> <script src="_static/doctools.js" defer></script>
<script src="_static/language_data.js" defer></script>
<script src="_static/clipboard.min.js"></script> <script src="_static/clipboard.min.js"></script>
<script src="_static/copybutton.js"></script> <script src="_static/copybutton.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> <script src="_static/searchtools.js" defer></script><script src="_static/scripts/main.js?b4897dc56e1132c0f2c53600"></script></head>
<script src="_static/searchtools.js" defer></script><script src="_static/scripts/main.js?072daf528406d914e6bba35e"></script></head>
<body dir=""> <body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

File diff suppressed because one or more lines are too long