mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Deploying to gh-pages from @ 565ff09d58
🚀
This commit is contained in:
parent
4794792fa2
commit
dd0bffa095
24 changed files with 299 additions and 277 deletions
|
@ -8,6 +8,8 @@ System requirements are:
|
|||
- `FFmpeg <https://ffmpeg.org/>`__
|
||||
- `OpenGL <https://www.opengl.org//>`__ (included in python package ``PyOpenGL``)
|
||||
- `LaTeX <https://www.latex-project.org>`__ (optional, if you want to use LaTeX)
|
||||
- `Pango <https://pango.org>`__ (only for Linux)
|
||||
|
||||
|
||||
Directly
|
||||
--------
|
||||
|
@ -64,4 +66,4 @@ For Anaconda
|
|||
cd manim
|
||||
conda create -n manim python=3.8
|
||||
conda activate manim
|
||||
pip install -e .
|
||||
pip install -e .
|
||||
|
|
|
@ -6,7 +6,7 @@ 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
|
||||
at `3Blue1Brown <https://www.3blue1brown.com/>`_.
|
||||
|
||||
And here is a Chinese version of this documentation: https://manim.ml/shaders
|
||||
And here is a Chinese version of this documentation: https://manim.wiki/shaders
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>About - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?d702304a52383484b35ec39a">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?d702304a52383484b35ec39a">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?979abfafdd5d370adeae3bb4">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?979abfafdd5d370adeae3bb4">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?d702304a52383484b35ec39a"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?979abfafdd5d370adeae3bb4"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="about">
|
||||
<section id="about">
|
||||
<h1>About<a class="headerlink" href="#about" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="about-manim">
|
||||
<section id="about-manim">
|
||||
<h2>About Manim<a class="headerlink" href="#about-manim" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Manim is an animation engine for explanatory math videos.
|
||||
You can use it to make math videos (or other fields) like 3Blue1Brown.</p>
|
||||
|
@ -137,16 +138,16 @@ faster rendering speed, and supports real-time rendering and interaction.</p>
|
|||
</ul>
|
||||
<p>Using multiple backend rendering. There is better documentation and
|
||||
a more open contribution community.</p>
|
||||
</div>
|
||||
<div class="section" id="about-this-documentation">
|
||||
</section>
|
||||
<section id="about-this-documentation">
|
||||
<h2>About this documentation<a class="headerlink" href="#about-this-documentation" title="Permalink to this headline">¶</a></h2>
|
||||
<p>This documentation is based on the version in <a class="reference external" href="https://github.com/3b1b/manim">3b1b/manim</a>.
|
||||
Created by <a class="reference external" href="https://github.com/TonyCrane">TonyCrane</a> (“鹤翔万里” in Chinese) and in production.</p>
|
||||
<p>Among them, the <code class="docutils literal notranslate"><span class="pre">manim_example_ext</span></code> extension for Sphinx refers to
|
||||
<a class="reference external" href="https://docs.manim.community/">the documentation of ManimCommunity</a>.</p>
|
||||
<p>If you want to contribute to manim or this document, please see: <a class="reference internal" href="contributing.html"><span class="doc">Contributing</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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_config" href="../documentation/custom_config.html" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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_config" href="../documentation/custom_config.html" />
|
||||
|
||||
<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>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?e0d5392972e14df1e0143daa">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?e0d5392972e14df1e0143daa">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?1191e1a7aa6f72fa2c132857">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?1191e1a7aa6f72fa2c132857">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?e0d5392972e14df1e0143daa"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?1191e1a7aa6f72fa2c132857"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a></li>
|
||||
|
@ -120,10 +121,10 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="changelog">
|
||||
<section id="changelog">
|
||||
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
|
||||
<p>No changes now.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Contributing - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?8c6f2aace3e0dc4abb3ff9f6">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?8c6f2aace3e0dc4abb3ff9f6">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?023e4798a61ef20046963ee5">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?023e4798a61ef20046963ee5">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?8c6f2aace3e0dc4abb3ff9f6"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?023e4798a61ef20046963ee5"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Contributing</a></li>
|
||||
|
@ -120,7 +121,7 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="contributing">
|
||||
<section id="contributing">
|
||||
<h1>Contributing<a class="headerlink" href="#contributing" title="Permalink to this headline">¶</a></h1>
|
||||
<p>Accept any contribution you make :)</p>
|
||||
<ul class="simple">
|
||||
|
@ -151,7 +152,7 @@ of the discussion page.</p>
|
|||
</ul>
|
||||
<p>Post them in the <a class="reference external" href="https://github.com/3b1b/manim/discussions/categories/ideas">ideas category</a>
|
||||
of the discussion page.</p>
|
||||
<div class="section" id="how-to-build-this-documentation">
|
||||
<section id="how-to-build-this-documentation">
|
||||
<h2>How to build this documentation<a class="headerlink" href="#how-to-build-this-documentation" title="Permalink to this headline">¶</a></h2>
|
||||
<ul class="simple">
|
||||
<li><p>Clone the 3b1b/manim repository</p></li>
|
||||
|
@ -178,8 +179,8 @@ make html
|
|||
<ul class="simple">
|
||||
<li><p>The output document is located in <code class="docutils literal notranslate"><span class="pre">docs/build/html/</span></code></p></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Animation (TODO) - manim documentation</title>
|
||||
<link rel="stylesheet" href="../../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?cbebb4b20b4954f500a0b378">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?cbebb4b20b4954f500a0b378">
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?ce4dfcc4253e583eb0b084d7">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?ce4dfcc4253e583eb0b084d7">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../../_static/clipboard.min.js"></script>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?cbebb4b20b4954f500a0b378"></script></head>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?ce4dfcc4253e583eb0b084d7"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="animation-todo">
|
||||
<section id="animation-todo">
|
||||
<h1>Animation (TODO)<a class="headerlink" href="#animation-todo" title="Permalink to this headline">¶</a></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Camera (TODO) - manim documentation</title>
|
||||
<link rel="stylesheet" href="../../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?e57bd2bb5243ec9550ab7e13">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?e57bd2bb5243ec9550ab7e13">
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?843cfed741e0363ae048b82e">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?843cfed741e0363ae048b82e">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../../_static/clipboard.min.js"></script>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?e57bd2bb5243ec9550ab7e13"></script></head>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?843cfed741e0363ae048b82e"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="camera-todo">
|
||||
<section id="camera-todo">
|
||||
<h1>Camera (TODO)<a class="headerlink" href="#camera-todo" title="Permalink to this headline">¶</a></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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_config" href="custom_config.html" /><link rel="prev" title="What’s new" href="../getting_started/whatsnew.html" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="custom_config" href="custom_config.html" /><link rel="prev" title="What’s new" href="../getting_started/whatsnew.html" />
|
||||
|
||||
<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>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?98043fc3a6ab5a0d3e264ed7">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?98043fc3a6ab5a0d3e264ed7">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?3f8601368763580a95824b77">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?3f8601368763580a95824b77">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?98043fc3a6ab5a0d3e264ed7"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?3f8601368763580a95824b77"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,12 +121,12 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="constants">
|
||||
<section id="constants">
|
||||
<h1>constants<a class="headerlink" href="#constants" title="Permalink to this headline">¶</a></h1>
|
||||
<p>The <code class="docutils literal notranslate"><span class="pre">constants.py</span></code> in the <code class="docutils literal notranslate"><span class="pre">manimlib</span></code> folder defines the constants
|
||||
needed when running manim. Some constants are not explained here because
|
||||
they are only used inside manim.</p>
|
||||
<div class="section" id="frame-and-pixel-shape">
|
||||
<section id="frame-and-pixel-shape">
|
||||
<h2>Frame and pixel shape<a class="headerlink" href="#frame-and-pixel-shape" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">ASPECT_RATIO</span> <span class="o">=</span> <span class="mf">16.0</span> <span class="o">/</span> <span class="mf">9.0</span>
|
||||
<span class="n">FRAME_HEIGHT</span> <span class="o">=</span> <span class="mf">8.0</span>
|
||||
|
@ -138,8 +139,8 @@ they are only used inside manim.</p>
|
|||
<span class="n">DEFAULT_FRAME_RATE</span> <span class="o">=</span> <span class="mi">30</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="buffs">
|
||||
</section>
|
||||
<section id="buffs">
|
||||
<h2>Buffs<a class="headerlink" href="#buffs" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">SMALL_BUFF</span> <span class="o">=</span> <span class="mf">0.1</span>
|
||||
<span class="n">MED_SMALL_BUFF</span> <span class="o">=</span> <span class="mf">0.25</span>
|
||||
|
@ -150,15 +151,15 @@ they are only used inside manim.</p>
|
|||
<span class="n">DEFAULT_MOBJECT_TO_MOBJECT_BUFFER</span> <span class="o">=</span> <span class="n">MED_SMALL_BUFF</span> <span class="c1"># Distance between objects</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="run-times">
|
||||
</section>
|
||||
<section id="run-times">
|
||||
<h2>Run times<a class="headerlink" href="#run-times" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">DEFAULT_POINTWISE_FUNCTION_RUN_TIME</span> <span class="o">=</span> <span class="mf">3.0</span>
|
||||
<span class="n">DEFAULT_WAIT_TIME</span> <span class="o">=</span> <span class="mf">1.0</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="coordinates">
|
||||
</section>
|
||||
<section id="coordinates">
|
||||
<h2>Coordinates<a class="headerlink" href="#coordinates" title="Permalink to this headline">¶</a></h2>
|
||||
<p>manim uses three-dimensional coordinates and uses the type of <code class="docutils literal notranslate"><span class="pre">ndarray</span></code></p>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">ORIGIN</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">((</span><span class="mf">0.</span><span class="p">,</span> <span class="mf">0.</span><span class="p">,</span> <span class="mf">0.</span><span class="p">))</span>
|
||||
|
@ -184,16 +185,16 @@ they are only used inside manim.</p>
|
|||
<span class="n">RIGHT_SIDE</span> <span class="o">=</span> <span class="n">FRAME_X_RADIUS</span> <span class="o">*</span> <span class="n">RIGHT</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="mathematical-constant">
|
||||
</section>
|
||||
<section id="mathematical-constant">
|
||||
<h2>Mathematical constant<a class="headerlink" href="#mathematical-constant" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">PI</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">pi</span>
|
||||
<span class="n">TAU</span> <span class="o">=</span> <span class="mi">2</span> <span class="o">*</span> <span class="n">PI</span>
|
||||
<span class="n">DEGREES</span> <span class="o">=</span> <span class="n">TAU</span> <span class="o">/</span> <span class="mi">360</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="text">
|
||||
</section>
|
||||
<section id="text">
|
||||
<h2>Text<a class="headerlink" href="#text" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">START_X</span> <span class="o">=</span> <span class="mi">30</span>
|
||||
<span class="n">START_Y</span> <span class="o">=</span> <span class="mi">20</span>
|
||||
|
@ -203,14 +204,14 @@ they are only used inside manim.</p>
|
|||
<span class="n">BOLD</span> <span class="o">=</span> <span class="s2">"BOLD"</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="stroke-width">
|
||||
</section>
|
||||
<section id="stroke-width">
|
||||
<h2>Stroke width<a class="headerlink" href="#stroke-width" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">DEFAULT_STROKE_WIDTH</span> <span class="o">=</span> <span class="mi">4</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="colours">
|
||||
</section>
|
||||
<section id="colours">
|
||||
<h2>Colours<a class="headerlink" href="#colours" title="Permalink to this headline">¶</a></h2>
|
||||
<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>
|
||||
|
@ -297,8 +298,8 @@ they are only used inside manim.</p>
|
|||
<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 ORANGE"><p class="color-text">ORANGE</p></div>
|
||||
</div></div>
|
||||
</div>
|
||||
</div></section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>custom_config - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?aea37d26ab884f58891ed511">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?aea37d26ab884f58891ed511">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?d84f201f6bce82e4d0a3c262">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?d84f201f6bce82e4d0a3c262">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?aea37d26ab884f58891ed511"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?d84f201f6bce82e4d0a3c262"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="constants.html">constants</a></li>
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="custom-config">
|
||||
<section id="custom-config">
|
||||
<h1>custom_config<a class="headerlink" href="#custom-config" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="directories">
|
||||
<section id="directories">
|
||||
<h2><code class="docutils literal notranslate"><span class="pre">directories</span></code><a class="headerlink" href="#directories" title="Permalink to this headline">¶</a></h2>
|
||||
<ul>
|
||||
<li><dl class="simple">
|
||||
|
@ -198,8 +199,8 @@ including <code class="docutils literal notranslate"><span class="pre">.wav</spa
|
|||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="tex">
|
||||
</section>
|
||||
<section id="tex">
|
||||
<h2><code class="docutils literal notranslate"><span class="pre">tex</span></code><a class="headerlink" href="#tex" title="Permalink to this headline">¶</a></h2>
|
||||
<ul class="simple">
|
||||
<li><dl class="simple">
|
||||
|
@ -225,12 +226,12 @@ is recommended)</p>
|
|||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="universal-import-line">
|
||||
</section>
|
||||
<section id="universal-import-line">
|
||||
<h2><code class="docutils literal notranslate"><span class="pre">universal_import_line</span></code><a class="headerlink" href="#universal-import-line" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Import line that need to execute when entering interactive mode directly.</p>
|
||||
</div>
|
||||
<div class="section" id="style">
|
||||
</section>
|
||||
<section id="style">
|
||||
<h2><code class="docutils literal notranslate"><span class="pre">style</span></code><a class="headerlink" href="#style" title="Permalink to this headline">¶</a></h2>
|
||||
<ul class="simple">
|
||||
<li><dl class="simple">
|
||||
|
@ -244,22 +245,22 @@ is recommended)</p>
|
|||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="window-position">
|
||||
</section>
|
||||
<section id="window-position">
|
||||
<h2><code class="docutils literal notranslate"><span class="pre">window_position</span></code><a class="headerlink" href="#window-position" title="Permalink to this headline">¶</a></h2>
|
||||
<p>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
|
||||
means left(L) / middle(O) / right(R)).</p>
|
||||
</div>
|
||||
<div class="section" id="break-into-partial-movies">
|
||||
</section>
|
||||
<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">
|
||||
</section>
|
||||
<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>
|
||||
<p>Export quality</p>
|
||||
<ul class="simple">
|
||||
|
@ -289,8 +290,8 @@ effectively has cuts at all the places you might want.</p>
|
|||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Mobject (TODO) - manim documentation</title>
|
||||
<link rel="stylesheet" href="../../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?9194762d3485280ede5692ce">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?9194762d3485280ede5692ce">
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?176f154e1e6186a173c6dfb9">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?176f154e1e6186a173c6dfb9">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../../_static/clipboard.min.js"></script>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?9194762d3485280ede5692ce"></script></head>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?176f154e1e6186a173c6dfb9"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="mobject-todo">
|
||||
<section id="mobject-todo">
|
||||
<h1>Mobject (TODO)<a class="headerlink" href="#mobject-todo" title="Permalink to this headline">¶</a></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Scene (TODO) - manim documentation</title>
|
||||
<link rel="stylesheet" href="../../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?4fc3207a25066215d62d85ce">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?4fc3207a25066215d62d85ce">
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?c223d4dbd66e6a0c19d2c34f">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?c223d4dbd66e6a0c19d2c34f">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../../_static/clipboard.min.js"></script>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?4fc3207a25066215d62d85ce"></script></head>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?c223d4dbd66e6a0c19d2c34f"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="scene-todo">
|
||||
<section id="scene-todo">
|
||||
<h1>Scene (TODO)<a class="headerlink" href="#scene-todo" title="Permalink to this headline">¶</a></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Shaders (TODO) - manim documentation</title>
|
||||
<link rel="stylesheet" href="../../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?c1cc77a909800848dc42189d">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?c1cc77a909800848dc42189d">
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?12e26a4d060b86d5e8ec4deb">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?12e26a4d060b86d5e8ec4deb">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../../_static/clipboard.min.js"></script>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?c1cc77a909800848dc42189d"></script></head>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?12e26a4d060b86d5e8ec4deb"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="shaders-todo">
|
||||
<section id="shaders-todo">
|
||||
<h1>Shaders (TODO)<a class="headerlink" href="#shaders-todo" title="Permalink to this headline">¶</a></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Utils (TODO) - manim documentation</title>
|
||||
<link rel="stylesheet" href="../../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?c1e89bb49de783d9ad771361">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?c1e89bb49de783d9ad771361">
|
||||
<link rel="stylesheet" href="../../_static/styles/default.css?8fe51ca4cbcb1ed05ade0508">
|
||||
<link rel="stylesheet" href="../../_static/pygments.css?8fe51ca4cbcb1ed05ade0508">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../../_static/clipboard.min.js"></script>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?c1e89bb49de783d9ad771361"></script></head>
|
||||
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?8fe51ca4cbcb1ed05ade0508"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="utils-todo">
|
||||
<section id="utils-todo">
|
||||
<h1>Utils (TODO)<a class="headerlink" href="#utils-todo" title="Permalink to this headline">¶</a></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<link rel="stylesheet" href="_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="_static/custom.css" />
|
||||
<link rel="stylesheet" href="_static/colors.css" />
|
||||
<link rel="stylesheet" href="_static/styles/default.css?6900791b913db59f4bb01ed2">
|
||||
<link rel="stylesheet" href="_static/pygments.css?6900791b913db59f4bb01ed2">
|
||||
<link rel="stylesheet" href="_static/styles/default.css?d4c983b8f56669e844304dfc">
|
||||
<link rel="stylesheet" href="_static/pygments.css?d4c983b8f56669e844304dfc">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +26,7 @@
|
|||
<script src="_static/language_data.js" defer></script>
|
||||
|
||||
<script src="_static/clipboard.min.js"></script>
|
||||
<script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?6900791b913db59f4bb01ed2"></script></head>
|
||||
<script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?d4c983b8f56669e844304dfc"></script></head>
|
||||
<body dir="">
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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="Manim’s structure" href="structure.html" /><link rel="prev" title="Example Scenes" href="example_scenes.html" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Manim’s 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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>CONFIG dictionary - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?43d6959d9aae6ae1e7011c1f">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?43d6959d9aae6ae1e7011c1f">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?9d9bcb4b86564058381c5c6c">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?9d9bcb4b86564058381c5c6c">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?43d6959d9aae6ae1e7011c1f"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?9d9bcb4b86564058381c5c6c"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="config-dictionary">
|
||||
<section id="config-dictionary">
|
||||
<h1>CONFIG dictionary<a class="headerlink" href="#config-dictionary" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="what-s-config">
|
||||
<section id="what-s-config">
|
||||
<h2>What’s CONFIG<a class="headerlink" href="#what-s-config" title="Permalink to this headline">¶</a></h2>
|
||||
<p><code class="docutils literal notranslate"><span class="pre">CONFIG</span></code> dictionary is a feature of manim, which facilitates the inheritance
|
||||
and modification of parameters between parent and child classes.</p>
|
||||
|
@ -160,8 +161,8 @@ dictionary to add the attribute <code class="docutils literal notranslate"><span
|
|||
<p>At the same time, the <code class="docutils literal notranslate"><span class="pre">Dot</span></code> class also contains the key <code class="docutils literal notranslate"><span class="pre">color</span></code> in the
|
||||
<code class="docutils literal notranslate"><span class="pre">CONFIG</span></code> dictionary, but the value is different. At this time, the priority will
|
||||
modify the attribute <code class="docutils literal notranslate"><span class="pre">self.color</span></code> to <code class="docutils literal notranslate"><span class="pre">WHITE</span></code>.</p>
|
||||
</div>
|
||||
<div class="section" id="config-nesting">
|
||||
</section>
|
||||
<section id="config-nesting">
|
||||
<h2>CONFIG nesting<a class="headerlink" href="#config-nesting" title="Permalink to this headline">¶</a></h2>
|
||||
<p>The <code class="docutils literal notranslate"><span class="pre">CONFIG</span></code> dictionary supports nesting, that is, the value of the key is also
|
||||
a dictionary, for example:</p>
|
||||
|
@ -192,8 +193,8 @@ control, there is a special key-value pair in the Scene class <code class="docut
|
|||
Its value is a dictionary, passed in as <code class="docutils literal notranslate"><span class="pre">kwargs</span></code> when initializing the <code class="docutils literal notranslate"><span class="pre">Camera</span></code> class
|
||||
to modify the value of the properties of the <code class="docutils literal notranslate"><span class="pre">Camera</span></code> class.</p>
|
||||
<p>So the nesting of the <code class="docutils literal notranslate"><span class="pre">CONFIG</span></code> dictionary <strong>essentially</strong> passes in the value as <code class="docutils literal notranslate"><span class="pre">kwargs</span></code>.</p>
|
||||
</div>
|
||||
<div class="section" id="common-usage">
|
||||
</section>
|
||||
<section id="common-usage">
|
||||
<h2>Common usage<a class="headerlink" href="#common-usage" title="Permalink to this headline">¶</a></h2>
|
||||
<p>When writing a class by yourself, you can add attributes or modify the attributes
|
||||
of the parent class through <code class="docutils literal notranslate"><span class="pre">CONFIG</span></code>.</p>
|
||||
|
@ -207,8 +208,8 @@ of the parent class through <code class="docutils literal notranslate"><span cla
|
|||
</pre></div>
|
||||
</div>
|
||||
<p>For example, the above dictionary will change the background color to white, etc.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>CLI flags and configuration - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?4d9ec36d23faaac6cc9c3f45">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?4d9ec36d23faaac6cc9c3f45">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?6ef2c2194c863d485a3ad7d5">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?6ef2c2194c863d485a3ad7d5">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?4d9ec36d23faaac6cc9c3f45"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?6ef2c2194c863d485a3ad7d5"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="cli-flags-and-configuration">
|
||||
<section id="cli-flags-and-configuration">
|
||||
<h1>CLI flags and configuration<a class="headerlink" href="#cli-flags-and-configuration" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="command-line-interface">
|
||||
<section id="command-line-interface">
|
||||
<h2>Command Line Interface<a class="headerlink" href="#command-line-interface" title="Permalink to this headline">¶</a></h2>
|
||||
<p>To run manim, you need to enter the directory at the same level as <code class="docutils literal notranslate"><span class="pre">manimlib/</span></code>
|
||||
and enter the command in the following format into terminal:</p>
|
||||
|
@ -136,7 +137,7 @@ manim-render <code>.py <Scene> <flags>
|
|||
<li><p><code class="docutils literal notranslate"><span class="pre"><Scene></span></code> : The scene you want to render here. If it is not written or written incorrectly, it will list all for you to choose. And if there is only one <code class="docutils literal notranslate"><span class="pre">Scene</span></code> in the file, this class will be rendered directly.</p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre"><flags></span></code> : CLI flags.</p></li>
|
||||
</ul>
|
||||
<div class="section" id="some-useful-flags">
|
||||
<section id="some-useful-flags">
|
||||
<h3>Some useful flags<a class="headerlink" href="#some-useful-flags" title="Permalink to this headline">¶</a></h3>
|
||||
<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>
|
||||
|
@ -149,8 +150,8 @@ manim-render <code>.py <Scene> <flags>
|
|||
<li><p><code class="docutils literal notranslate"><span class="pre">-n</span> <span class="pre"><number></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>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="all-supported-flags">
|
||||
</section>
|
||||
<section id="all-supported-flags">
|
||||
<h3>All supported flags<a class="headerlink" href="#all-supported-flags" title="Permalink to this headline">¶</a></h3>
|
||||
<div class="table-wrapper"><table class="docutils align-default">
|
||||
<colgroup>
|
||||
|
@ -259,9 +260,9 @@ manim-render <code>.py <Scene> <flags>
|
|||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="custom-config">
|
||||
</section>
|
||||
</section>
|
||||
<section id="custom-config">
|
||||
<h2>custom_config<a class="headerlink" href="#custom-config" title="Permalink to this headline">¶</a></h2>
|
||||
<p>In order to perform more configuration (about directories, etc.) and permanently
|
||||
change the default value (you don’t have to add flags to the command every time),
|
||||
|
@ -284,8 +285,8 @@ following the directory structure:</p>
|
|||
<p>When you enter the <code class="docutils literal notranslate"><span class="pre">project/</span></code> folder and run <code class="docutils literal notranslate"><span class="pre">manimgl</span> <span class="pre">code.py</span> <span class="pre"><Scene></span></code>,
|
||||
it will overwrite <code class="docutils literal notranslate"><span class="pre">manim/custom_config.yml</span></code> with <code class="docutils literal notranslate"><span class="pre">custom_config.yml</span></code>
|
||||
in the <code class="docutils literal notranslate"><span class="pre">project</span></code> folder.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Example Scenes - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?471e9918f7c534d82e460b65">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?471e9918f7c534d82e460b65">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?a6e34897ba4fe32cb34cac0f">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?a6e34897ba4fe32cb34cac0f">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?471e9918f7c534d82e460b65"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?a6e34897ba4fe32cb34cac0f"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,12 +121,12 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="example-scenes">
|
||||
<section id="example-scenes">
|
||||
<h1>Example Scenes<a class="headerlink" href="#example-scenes" title="Permalink to this headline">¶</a></h1>
|
||||
<p>After understanding the previous knowledge, we can understand more scenes.
|
||||
Many example scenes are given in <code class="docutils literal notranslate"><span class="pre">example_scenes.py</span></code>, let’s start with
|
||||
the simplest and one by one.</p>
|
||||
<div class="section" id="interactivedevlopment">
|
||||
<section id="interactivedevlopment">
|
||||
<h2>InteractiveDevlopment<a class="headerlink" href="#interactivedevlopment" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="interactivedevlopment" loop="" src="../_static/example_scenes/InteractiveDevlopment.mp4"></video><h5 class="example-header">InteractiveDevlopment<a class="headerlink" href="#interactivedevlopment">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">manimlib</span> <span class="kn">import</span> <span class="o">*</span>
|
||||
|
||||
|
@ -178,8 +179,8 @@ the simplest and one by one.</p>
|
|||
</div><p>This scene is similar to what we wrote in <a class="reference internal" href="quickstart.html"><span class="doc">Quick Start</span></a>.
|
||||
And how to interact has been written in the comments.
|
||||
No more explanation here.</p>
|
||||
</div>
|
||||
<div class="section" id="animatingmethods">
|
||||
</section>
|
||||
<section id="animatingmethods">
|
||||
<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="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>
|
||||
|
@ -234,8 +235,8 @@ No more explanation here.</p>
|
|||
<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>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">self.play(mob.animate.method(args))</span></code> animates the method, and the details are in the comments above.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="textexample">
|
||||
</section>
|
||||
<section id="textexample">
|
||||
<h2>TextExample<a class="headerlink" href="#textexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="textexample" loop="" src="../_static/example_scenes/TextExample.mp4"></video><h5 class="example-header">TextExample<a class="headerlink" href="#textexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">TextExample</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>
|
||||
|
@ -282,8 +283,8 @@ No more explanation here.</p>
|
|||
<li><p><code class="docutils literal notranslate"><span class="pre">FadeIn</span></code> fades the object in, the second parameter indicates the direction of the fade in.</p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">FadeOut</span></code> fades out the object, the second parameter indicates the direction of the fade out.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="textransformexample">
|
||||
</section>
|
||||
<section id="textransformexample">
|
||||
<h2>TexTransformExample<a class="headerlink" href="#textransformexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="textransformexample" loop="" src="../_static/example_scenes/TexTransformExample.mp4"></video><h5 class="example-header">TexTransformExample<a class="headerlink" href="#textransformexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">TexTransformExample</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>
|
||||
|
@ -401,8 +402,8 @@ and <code class="docutils literal notranslate"><span class="pre">TransformMatchi
|
|||
<li><p><code class="docutils literal notranslate"><span class="pre">TransformMatchingTeX</span></code> automatically transforms sub-objects according to the similarities and differences of tex in <code class="docutils literal notranslate"><span class="pre">Tex</span></code>.</p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">TransformMatchingShapes</span></code> automatically transform sub-objects directly based on the similarities and differences of the object point sets.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="updatersexample">
|
||||
</section>
|
||||
<section id="updatersexample">
|
||||
<h2>UpdatersExample<a class="headerlink" href="#updatersexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="updatersexample" loop="" src="../_static/example_scenes/UpdatersExample.mp4"></video><h5 class="example-header">UpdatersExample<a class="headerlink" href="#updatersexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">UpdatersExample</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>
|
||||
|
@ -484,8 +485,8 @@ and <code class="docutils literal notranslate"><span class="pre">TransformMatchi
|
|||
<li><p><code class="docutils literal notranslate"><span class="pre">.set_y()</span></code> means to set the ordinate of the object on the screen.</p></li>
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">.add_updater()</span></code> sets an update function for the object. For example: <code class="docutils literal notranslate"><span class="pre">mob1.add_updater(lambda</span> <span class="pre">mob:</span> <span class="pre">mob.next_to(mob2))</span></code> means <code class="docutils literal notranslate"><span class="pre">mob1.next_to(mob2)</span></code> is executed every frame.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="coordinatesystemexample">
|
||||
</section>
|
||||
<section id="coordinatesystemexample">
|
||||
<h2>CoordinateSystemExample<a class="headerlink" href="#coordinatesystemexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="coordinatesystemexample" loop="" src="../_static/example_scenes/CoordinateSystemExample.mp4"></video><h5 class="example-header">CoordinateSystemExample<a class="headerlink" href="#coordinatesystemexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">CoordinateSystemExample</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>
|
||||
|
@ -566,8 +567,8 @@ and <code class="docutils literal notranslate"><span class="pre">TransformMatchi
|
|||
<span class="c1"># ThreeDAxes, NumberPlane, and ComplexPlane.</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="section" id="graphexample">
|
||||
</div></section>
|
||||
<section id="graphexample">
|
||||
<h2>GraphExample<a class="headerlink" href="#graphexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="graphexample" loop="" src="../_static/example_scenes/GraphExample.mp4"></video><h5 class="example-header">GraphExample<a class="headerlink" href="#graphexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">GraphExample</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>
|
||||
|
@ -650,8 +651,8 @@ 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>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="section" id="surfaceexample">
|
||||
</div></section>
|
||||
<section id="surfaceexample">
|
||||
<h2>SurfaceExample<a class="headerlink" href="#surfaceexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="surfaceexample" loop="" src="../_static/example_scenes/SurfaceExample.mp4"></video><h5 class="example-header">SurfaceExample<a class="headerlink" href="#surfaceexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">SurfaceExample</span><span class="p">(</span><span class="n">Scene</span><span class="p">):</span>
|
||||
<span class="n">CONFIG</span> <span class="o">=</span> <span class="p">{</span>
|
||||
|
@ -749,8 +750,8 @@ the related usage has been briefly described in the notes.</p>
|
|||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">.fix_in_frame()</span></code> makes the object not change with the view angle of the screen, and is always displayed at a fixed position on the screen.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="openingmanimexample">
|
||||
</section>
|
||||
<section id="openingmanimexample">
|
||||
<h2>OpeningManimExample<a class="headerlink" href="#openingmanimexample" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="manim-example"><video autoplay="" class="manim-video" controls="" id="openingmanimexample" loop="" src="../_static/example_scenes/OpeningManimExample.mp4"></video><h5 class="example-header">OpeningManimExample<a class="headerlink" href="#openingmanimexample">¶</a></h5><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">OpeningManimExample</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>
|
||||
|
@ -814,8 +815,8 @@ the related usage has been briefly described in the notes.</p>
|
|||
</div><p>This scene is a comprehensive application of a two-dimensional scene.</p>
|
||||
<p>After seeing these scenes, you have already understood part of the
|
||||
usage of manim. For more examples, see <a class="reference external" href="https://github.com/3b1b/videos">the video code of 3b1b</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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="Manim’s documentation" href="../index.html" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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="Manim’s documentation" href="../index.html" />
|
||||
|
||||
<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>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?cb354ae629531cb2a800ac90">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?cb354ae629531cb2a800ac90">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?d66d901c9201bdfa1976e98d">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?d66d901c9201bdfa1976e98d">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?cb354ae629531cb2a800ac90"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?d66d901c9201bdfa1976e98d"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,7 +121,7 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="installation">
|
||||
<section id="installation">
|
||||
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
|
||||
<p>Manim runs on Python 3.6 or higher (Python 3.8 is recommended).</p>
|
||||
<p>System requirements are:</p>
|
||||
|
@ -128,8 +129,9 @@
|
|||
<li><p><a class="reference external" href="https://ffmpeg.org/">FFmpeg</a></p></li>
|
||||
<li><p><a class="reference external" href="https://www.opengl.org//">OpenGL</a> (included in python package <code class="docutils literal notranslate"><span class="pre">PyOpenGL</span></code>)</p></li>
|
||||
<li><p><a class="reference external" href="https://www.latex-project.org">LaTeX</a> (optional, if you want to use LaTeX)</p></li>
|
||||
<li><p><a class="reference external" href="https://pango.org">Pango</a> (only for Linux)</p></li>
|
||||
</ul>
|
||||
<div class="section" id="directly">
|
||||
<section id="directly">
|
||||
<h2>Directly<a class="headerlink" href="#directly" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span><span class="c1"># Install manimgl</span>
|
||||
pip install manimgl
|
||||
|
@ -151,8 +153,8 @@ manim-render example_scenes.py OpeningManimExample
|
|||
</div>
|
||||
<p>If you run the above command and no error message appears,
|
||||
then you have successfully installed all the environments required by manim.</p>
|
||||
</div>
|
||||
<div class="section" id="directly-windows">
|
||||
</section>
|
||||
<section id="directly-windows">
|
||||
<h2>Directly (Windows)<a class="headerlink" href="#directly-windows" title="Permalink to this headline">¶</a></h2>
|
||||
<ol class="arabic simple">
|
||||
<li><p><a class="reference external" href="https://www.wikihow.com/Install-FFmpeg-on-Windows">Install
|
||||
|
@ -167,8 +169,8 @@ pip install -e .
|
|||
manimgl example_scenes.py OpeningManimExample
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="for-anaconda">
|
||||
</section>
|
||||
<section id="for-anaconda">
|
||||
<h2>For Anaconda<a class="headerlink" href="#for-anaconda" title="Permalink to this headline">¶</a></h2>
|
||||
<ul class="simple">
|
||||
<li><p>Install FFmpeg and LaTeX as above.</p></li>
|
||||
|
@ -181,8 +183,8 @@ conda activate manim
|
|||
pip install -e .
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Quick Start - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?40aa7971cb727b2cade18a42">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?40aa7971cb727b2cade18a42">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?51159c9290109452dd4f2e38">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?51159c9290109452dd4f2e38">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?40aa7971cb727b2cade18a42"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?51159c9290109452dd4f2e38"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,7 +121,7 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="quick-start">
|
||||
<section id="quick-start">
|
||||
<h1>Quick Start<a class="headerlink" href="#quick-start" title="Permalink to this headline">¶</a></h1>
|
||||
<p>After installing the manim environment according to the instructions on the
|
||||
<a class="reference internal" href="installation.html"><span class="doc">Installation</span></a> page, you can try to make a scene yourself from scratch.</p>
|
||||
|
@ -176,7 +177,7 @@ directory structure:</p>
|
|||
image will be automatically opened (saved in the subdirectory <code class="docutils literal notranslate"><span class="pre">images/</span></code> of the same
|
||||
level directory of <code class="docutils literal notranslate"><span class="pre">start.py</span></code> by default):</p>
|
||||
<img alt="../_images/SquareToCircle.png" class="align-center" src="../_images/SquareToCircle.png"/>
|
||||
<div class="section" id="make-an-image">
|
||||
<section id="make-an-image">
|
||||
<h2>Make an image<a class="headerlink" href="#make-an-image" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Next, let’s take a detailed look at what each row does.</p>
|
||||
<p><strong>Line 1</strong>:</p>
|
||||
|
@ -216,8 +217,8 @@ how to create the mobjects in the screen and what operations need to be performe
|
|||
</pre></div>
|
||||
</div>
|
||||
<p>Add this circle to the screen through the <code class="docutils literal notranslate"><span class="pre">.add()</span></code> method of <code class="xref py py-class docutils literal notranslate"><span class="pre">Scene</span></code>.</p>
|
||||
</div>
|
||||
<div class="section" id="add-animations">
|
||||
</section>
|
||||
<section id="add-animations">
|
||||
<h2>Add animations<a class="headerlink" href="#add-animations" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Let’s change some codes and add some animations to make videos instead of just pictures.</p>
|
||||
<div class="highlight-python notranslate"><div class="table-wrapper"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre> 1
|
||||
|
@ -282,8 +283,8 @@ parameters to indicate the pause time (for example, <code class="docutils litera
|
|||
<p>Play the animation that transforms <code class="docutils literal notranslate"><span class="pre">square</span></code> into <code class="docutils literal notranslate"><span class="pre">circle</span></code>.
|
||||
<code class="docutils literal notranslate"><span class="pre">ReplacementTransform(A,</span> <span class="pre">B)</span></code> means to transform A into B’s pattern and replace A with B.</p>
|
||||
<p><strong>Line 13</strong>: Same as line 11, pause for 1s.</p>
|
||||
</div>
|
||||
<div class="section" id="enable-interaction">
|
||||
</section>
|
||||
<section id="enable-interaction">
|
||||
<h2>Enable interaction<a class="headerlink" href="#enable-interaction" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Interaction is a new feature of the new version. You can add the following line
|
||||
at the end of the code to enable interaction:</p>
|
||||
|
@ -317,14 +318,14 @@ empty scene containing only <code class="docutils literal notranslate"><span cla
|
|||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="you-succeeded">
|
||||
</section>
|
||||
<section id="you-succeeded">
|
||||
<h2>You succeeded!<a class="headerlink" href="#you-succeeded" title="Permalink to this headline">¶</a></h2>
|
||||
<p>After reading the above content, you already know how to use manim.
|
||||
Below you can see some examples, in the <a class="reference internal" href="example_scenes.html"><span class="doc">Example Scenes</span></a> page.
|
||||
But before that, you’d better have a look at the <a class="reference internal" href="configuration.html"><span class="doc">CLI flags and configuration</span></a> of manim.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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="What’s new" href="whatsnew.html" /><link rel="prev" title="CONFIG dictionary" href="config.html" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="What’s new" href="whatsnew.html" /><link rel="prev" title="CONFIG dictionary" href="config.html" />
|
||||
|
||||
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Manim’s structure - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?eec5f10c2a5bb5b0f777f876">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?eec5f10c2a5bb5b0f777f876">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?71f07df0de02a1008c4ae7b8">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?71f07df0de02a1008c4ae7b8">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?eec5f10c2a5bb5b0f777f876"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?71f07df0de02a1008c4ae7b8"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="manim-s-structure">
|
||||
<section id="manim-s-structure">
|
||||
<h1>Manim’s structure<a class="headerlink" href="#manim-s-structure" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="manim-s-directory-structure">
|
||||
<section id="manim-s-directory-structure">
|
||||
<h2>Manim’s directory structure<a class="headerlink" href="#manim-s-directory-structure" title="Permalink to this headline">¶</a></h2>
|
||||
<p>The manim directory looks very complicated, with a lot of files,
|
||||
but the structure is clear.</p>
|
||||
|
@ -228,19 +229,19 @@ but the structure is clear.</p>
|
|||
└── tex_file_writing.py # Use LaTeX to write strings as svg
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="inheritance-structure-of-manim-s-classes">
|
||||
</section>
|
||||
<section id="inheritance-structure-of-manim-s-classes">
|
||||
<h2>Inheritance structure of manim’s classes<a class="headerlink" href="#inheritance-structure-of-manim-s-classes" title="Permalink to this headline">¶</a></h2>
|
||||
<p><a class="reference external" href="https://github.com/3b1b/manim/files/5824383/manim_shaders_structure.pdf">Here</a>
|
||||
is a pdf showed inheritance structure of manim’s classes, large,
|
||||
but basically all classes have included:</p>
|
||||
<img alt="../_images/manim_shaders_structure.png" src="../_images/manim_shaders_structure.png"/>
|
||||
</div>
|
||||
<div class="section" id="manim-execution-process">
|
||||
</section>
|
||||
<section id="manim-execution-process">
|
||||
<h2>Manim execution process<a class="headerlink" href="#manim-execution-process" title="Permalink to this headline">¶</a></h2>
|
||||
<img alt="../_images/manim_shaders_process_en.png" src="../_images/manim_shaders_process_en.png"/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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="Manim’s structure" href="structure.html" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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="Manim’s structure" href="structure.html" />
|
||||
|
||||
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>What’s new - manim documentation</title>
|
||||
<link rel="stylesheet" href="../_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="../_static/custom.css" />
|
||||
<link rel="stylesheet" href="../_static/colors.css" />
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?f18ee041c7fe68a5d5090c8d">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?f18ee041c7fe68a5d5090c8d">
|
||||
<link rel="stylesheet" href="../_static/styles/default.css?4d5a848047800b0045e10ae1">
|
||||
<link rel="stylesheet" href="../_static/pygments.css?4d5a848047800b0045e10ae1">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="../_static/language_data.js" defer></script>
|
||||
|
||||
<script src="../_static/clipboard.min.js"></script>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?f18ee041c7fe68a5d5090c8d"></script></head>
|
||||
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?4d5a848047800b0045e10ae1"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,9 +121,9 @@
|
|||
<label class="toc-overlay-icon" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="what-s-new">
|
||||
<section id="what-s-new">
|
||||
<h1>What’s new<a class="headerlink" href="#what-s-new" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="usage-changes-of-new-version-manim">
|
||||
<section id="usage-changes-of-new-version-manim">
|
||||
<h2>Usage changes of new version manim<a class="headerlink" href="#usage-changes-of-new-version-manim" title="Permalink to this headline">¶</a></h2>
|
||||
<p>There are many changes in the new version of manim, and here are only the changes that
|
||||
may have an impact at the code writing level.</p>
|
||||
|
@ -278,8 +279,8 @@ that affect the use are not mentioned below.</p>
|
|||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
27
index.html
27
index.html
|
@ -1,15 +1,16 @@
|
|||
<!doctype html>
|
||||
<html class="no-js">
|
||||
<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"/><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
|
||||
<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.0.3, furo 2020.10.05.beta9"/>
|
||||
<title>Home - manim documentation</title>
|
||||
<link rel="stylesheet" href="_static/copybutton.css" />
|
||||
<link rel="stylesheet" href="_static/custom.css" />
|
||||
<link rel="stylesheet" href="_static/colors.css" />
|
||||
<link rel="stylesheet" href="_static/styles/default.css?82b7595e357e57cc842fa996">
|
||||
<link rel="stylesheet" href="_static/pygments.css?82b7595e357e57cc842fa996">
|
||||
<link rel="stylesheet" href="_static/styles/default.css?623b39aac8049feab9f7f564">
|
||||
<link rel="stylesheet" href="_static/pygments.css?623b39aac8049feab9f7f564">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -26,7 +27,7 @@
|
|||
<script src="_static/language_data.js" defer></script>
|
||||
|
||||
<script src="_static/clipboard.min.js"></script>
|
||||
<script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?82b7595e357e57cc842fa996"></script></head>
|
||||
<script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?623b39aac8049feab9f7f564"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -87,7 +88,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -97,12 +98,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="development/contributing.html">Contributing</a></li>
|
||||
|
@ -120,14 +121,14 @@
|
|||
<label class="toc-overlay-icon no-toc" for="__toc">
|
||||
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
||||
</label>
|
||||
<div class="section" id="manim-s-documentation">
|
||||
<section id="manim-s-documentation">
|
||||
<h1>Manim’s documentation<a class="headerlink" href="#manim-s-documentation" title="Permalink to this headline">¶</a></h1>
|
||||
<img alt="_images/white_with_name.png" src="_images/white_with_name.png"/>
|
||||
<p>Manim is an animation engine for explanatory math videos. It’s used to create precise animations programmatically, as seen in the videos
|
||||
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>
|
||||
<p>And here is a Chinese version of this documentation: <a class="reference external" href="https://manim.wiki/shaders">https://manim.wiki/shaders</a></p>
|
||||
<div class="toctree-wrapper compound">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/installation.html">Installation</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#directly">Directly</a></li>
|
||||
|
@ -178,7 +179,7 @@ at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown
|
|||
</ul>
|
||||
</div>
|
||||
<div class="toctree-wrapper compound">
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="documentation/constants.html">constants</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="documentation/constants.html#frame-and-pixel-shape">Frame and pixel shape</a></li>
|
||||
|
@ -204,7 +205,7 @@ at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown
|
|||
</ul>
|
||||
</div>
|
||||
<div class="toctree-wrapper compound">
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="development/contributing.html">Contributing</a><ul>
|
||||
|
@ -218,7 +219,7 @@ at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
<footer>
|
||||
|
|
12
search.html
12
search.html
|
@ -6,8 +6,8 @@
|
|||
<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/colors.css" />
|
||||
<link rel="stylesheet" href="_static/styles/default.css?b4c232507e19a8e1cbec5f65">
|
||||
<link rel="stylesheet" href="_static/pygments.css?b4c232507e19a8e1cbec5f65">
|
||||
<link rel="stylesheet" href="_static/styles/default.css?c760d82a079e5cf53c46ec65">
|
||||
<link rel="stylesheet" href="_static/pygments.css?c760d82a079e5cf53c46ec65">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
<script src="_static/clipboard.min.js"></script>
|
||||
<script src="_static/copybutton.js"></script>
|
||||
<script src="_static/searchtools.js" defer></script><script src="_static/scripts/main.js?b4c232507e19a8e1cbec5f65"></script></head>
|
||||
<script src="_static/searchtools.js" defer></script><script src="_static/scripts/main.js?c760d82a079e5cf53c46ec65"></script></head>
|
||||
<body dir="">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
||||
|
@ -86,7 +86,7 @@
|
|||
<input type="hidden" name="check_keywords" value="yes">
|
||||
<input type="hidden" name="area" value="default">
|
||||
</form><div class="sidebar-tree sidebar-scroll">
|
||||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||||
<p><span class="caption-text">Getting Started</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/quickstart.html">Quick Start</a></li>
|
||||
|
@ -96,12 +96,12 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="getting_started/structure.html">Manim’s structure</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started/whatsnew.html">What’s new</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Documentation</span></p>
|
||||
<p><span class="caption-text">Documentation</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="documentation/constants.html">constants</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="documentation/custom_config.html">custom_config</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Development</span></p>
|
||||
<p><span class="caption-text">Development</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="development/changelog.html">Changelog</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="development/contributing.html">Contributing</a></li>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue