Deploying to gh-pages from @ 9ba684d35f 🚀

This commit is contained in:
3b1b 2024-01-01 20:56:19 +00:00
parent b4bac3be1a
commit d3dd12566d
25 changed files with 175 additions and 117 deletions

View file

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

View file

@ -11,6 +11,32 @@ System requirements are
- `Pango <https://pango.org>`__ (only for Linux)
Install FFmpeg
--------------
Install FFmpeg Windows
------------------------
.. code-block:: cmd
choco install ffmpeg
# Install FFmepeg Linux
----------------------------
.. code-block:: sh
$ sudo apt update
$ sudo apt install ffmpeg
$ ffmpeg -version
# Install FFmpeg MacOS
----------------------------
- Download This ZIP file `https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z`(if the link is not working download this zip file from there original website)
Directly
--------

View file

@ -20,7 +20,7 @@ const messages = {
},
'fr' : {
'copy': 'Copier',
'copy_to_clipboard': 'Copié dans le presse-papier',
'copy_to_clipboard': 'Copier dans le presse-papier',
'copy_success': 'Copié !',
'copy_failure': 'Échec de la copie',
},
@ -224,7 +224,7 @@ var copyTargetText = (trigger) => {
var target = document.querySelector(trigger.attributes['data-clipboard-target'].value);
// get filtered text
let exclude = '.linenos, .gp';
let exclude = '.linenos';
let text = filterText(target, exclude);
return formatCopyText(text, '', false, true, true, true, '', '')

View file

@ -17,6 +17,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #E40000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #008400 } /* Generic.Inserted */

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="prev" title="Contributing" href="contributing.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?ff08fcb97d7ab3c1a69c8883">
<link rel="stylesheet" href="../_static/pygments.css?ff08fcb97d7ab3c1a69c8883">
<link rel="stylesheet" href="../_static/styles/default.css?e37af8bc85dc4bc52b41a4f5">
<link rel="stylesheet" href="../_static/pygments.css?e37af8bc85dc4bc52b41a4f5">
<style>
:root {
@ -27,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?ff08fcb97d7ab3c1a69c8883"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?e37af8bc85dc4bc52b41a4f5"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><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" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?b2fb0c1484f3d71b89302345">
<link rel="stylesheet" href="../_static/pygments.css?b2fb0c1484f3d71b89302345">
<link rel="stylesheet" href="../_static/styles/default.css?fb4d3d22767d12f10aa6b1df">
<link rel="stylesheet" href="../_static/pygments.css?fb4d3d22767d12f10aa6b1df">
<style>
:root {
@ -27,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?b2fb0c1484f3d71b89302345"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?fb4d3d22767d12f10aa6b1df"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="About" href="about.html" /><link rel="prev" title="Changelog" href="changelog.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?cdd8433f84bade91943d2603">
<link rel="stylesheet" href="../_static/pygments.css?cdd8433f84bade91943d2603">
<link rel="stylesheet" href="../_static/styles/default.css?9002b3bf5bba0e5a02b964ab">
<link rel="stylesheet" href="../_static/pygments.css?9002b3bf5bba0e5a02b964ab">
<style>
:root {
@ -27,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?cdd8433f84bade91943d2603"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?9002b3bf5bba0e5a02b964ab"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -156,23 +156,23 @@ of the discussion page.</p>
<ul class="simple">
<li><p>Clone the 3b1b/manim repository</p></li>
</ul>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/3b1b/manim.git
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/3b1b/manim.git
<span class="c1"># or your own repo</span>
<span class="c1"># git clone https://github.com/&lt;your user name&gt;/manim.git</span>
<span class="nb">cd</span> manim
<span class="nb">cd</span><span class="w"> </span>manim
</pre></div>
</div>
<ul class="simple">
<li><p>Install python package dependencies</p></li>
</ul>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>pip install -r docs/requirements.txt
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>-r<span class="w"> </span>docs/requirements.txt
</pre></div>
</div>
<ul class="simple">
<li><p>Go to the <code class="docutils literal notranslate"><span class="pre">docs/</span></code> folder and build</p></li>
</ul>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span><span class="nb">cd</span> docs/
make html
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span><span class="nb">cd</span><span class="w"> </span>docs/
make<span class="w"> </span>html
</pre></div>
</div>
<ul class="simple">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?2e7229e1fdaecf0629d49e48">
<link rel="stylesheet" href="../../_static/pygments.css?2e7229e1fdaecf0629d49e48">
<link rel="stylesheet" href="../../_static/styles/default.css?1159bc61fb3126001300398a">
<link rel="stylesheet" href="../../_static/pygments.css?1159bc61fb3126001300398a">
<style>
:root {
@ -27,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?2e7229e1fdaecf0629d49e48"></script></head>
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?1159bc61fb3126001300398a"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?f7701d36d796fc34fb93bac3">
<link rel="stylesheet" href="../../_static/pygments.css?f7701d36d796fc34fb93bac3">
<link rel="stylesheet" href="../../_static/styles/default.css?72a5883da8ef63cd4c352f0d">
<link rel="stylesheet" href="../../_static/pygments.css?72a5883da8ef63cd4c352f0d">
<style>
:root {
@ -27,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?f7701d36d796fc34fb93bac3"></script></head>
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?72a5883da8ef63cd4c352f0d"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><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="Whats 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"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?d3c25bc75cbc4601e7fa4ef9">
<link rel="stylesheet" href="../_static/pygments.css?d3c25bc75cbc4601e7fa4ef9">
<link rel="stylesheet" href="../_static/styles/default.css?e57f6b148e9e670d90bcfa79">
<link rel="stylesheet" href="../_static/pygments.css?e57f6b148e9e670d90bcfa79">
<style>
:root {
@ -27,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?d3c25bc75cbc4601e7fa4ef9"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?e57f6b148e9e670d90bcfa79"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Changelog" href="../development/changelog.html" /><link rel="prev" title="constants" href="constants.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?e523cee6dc45ce475f1bb9f2">
<link rel="stylesheet" href="../_static/pygments.css?e523cee6dc45ce475f1bb9f2">
<link rel="stylesheet" href="../_static/styles/default.css?899a6674daa4e2e207225a56">
<link rel="stylesheet" href="../_static/pygments.css?899a6674daa4e2e207225a56">
<style>
:root {
@ -27,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?e523cee6dc45ce475f1bb9f2"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?899a6674daa4e2e207225a56"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?23c03bc12cd2bff8955af9f0">
<link rel="stylesheet" href="../../_static/pygments.css?23c03bc12cd2bff8955af9f0">
<link rel="stylesheet" href="../../_static/styles/default.css?8f32d68f88e8637a4f2a9fb8">
<link rel="stylesheet" href="../../_static/pygments.css?8f32d68f88e8637a4f2a9fb8">
<style>
:root {
@ -27,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?23c03bc12cd2bff8955af9f0"></script></head>
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?8f32d68f88e8637a4f2a9fb8"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?4e649c990c57c0eb9c41474d">
<link rel="stylesheet" href="../../_static/pygments.css?4e649c990c57c0eb9c41474d">
<link rel="stylesheet" href="../../_static/styles/default.css?d078933491dc8b0ad018e74b">
<link rel="stylesheet" href="../../_static/pygments.css?d078933491dc8b0ad018e74b">
<style>
:root {
@ -27,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?4e649c990c57c0eb9c41474d"></script></head>
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?d078933491dc8b0ad018e74b"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?234253d3171432851ddeaed8">
<link rel="stylesheet" href="../../_static/pygments.css?234253d3171432851ddeaed8">
<link rel="stylesheet" href="../../_static/styles/default.css?6d29ced34ad5ad98e26eaece">
<link rel="stylesheet" href="../../_static/pygments.css?6d29ced34ad5ad98e26eaece">
<style>
:root {
@ -27,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?234253d3171432851ddeaed8"></script></head>
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?6d29ced34ad5ad98e26eaece"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="shortcut icon" href="../../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../../_static/styles/default.css?2c9fc97b98114a6edc98ef60">
<link rel="stylesheet" href="../../_static/pygments.css?2c9fc97b98114a6edc98ef60">
<link rel="stylesheet" href="../../_static/styles/default.css?ce9a88bd0cbadf1419bee199">
<link rel="stylesheet" href="../../_static/pygments.css?ce9a88bd0cbadf1419bee199">
<style>
:root {
@ -27,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?2c9fc97b98114a6edc98ef60"></script></head>
<script src="../../_static/copybutton.js"></script><script src="../../_static/scripts/main.js?ce9a88bd0cbadf1419bee199"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -8,8 +8,8 @@
<link rel="stylesheet" href="_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="_static/styles/default.css?56de05e47adc6e656657085a">
<link rel="stylesheet" href="_static/pygments.css?56de05e47adc6e656657085a">
<link rel="stylesheet" href="_static/styles/default.css?291fd1e189a5148d5c9f4f72">
<link rel="stylesheet" href="_static/pygments.css?291fd1e189a5148d5c9f4f72">
<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?56de05e47adc6e656657085a"></script></head>
<script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?291fd1e189a5148d5c9f4f72"></script></head>
<body dir="">
</body>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Example Scenes" href="example_scenes.html" /><link rel="prev" title="Quick Start" href="quickstart.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?2b529148e96b77bd5d135796">
<link rel="stylesheet" href="../_static/pygments.css?2b529148e96b77bd5d135796">
<link rel="stylesheet" href="../_static/styles/default.css?2e7b2f2d38b4f081542c6fc7">
<link rel="stylesheet" href="../_static/pygments.css?2e7b2f2d38b4f081542c6fc7">
<style>
:root {
@ -27,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?2b529148e96b77bd5d135796"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?2e7b2f2d38b4f081542c6fc7"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -126,9 +126,9 @@
<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>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl &lt;code&gt;.py &lt;Scene&gt; &lt;flags&gt;
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl<span class="w"> </span>&lt;code&gt;.py<span class="w"> </span>&lt;Scene&gt;<span class="w"> </span>&lt;flags&gt;
<span class="c1"># or</span>
manim-render &lt;code&gt;.py &lt;Scene&gt; &lt;flags&gt;
manim-render<span class="w"> </span>&lt;code&gt;.py<span class="w"> </span>&lt;Scene&gt;<span class="w"> </span>&lt;flags&gt;
</pre></div>
</div>
<ul class="simple">
@ -300,7 +300,7 @@ following the directory structure:</p>
it will overwrite <code class="docutils literal notranslate"><span class="pre">manim/default_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>
<p>Alternatively, you can use <code class="docutils literal notranslate"><span class="pre">--config_file</span></code> flag in CLI to specify configuration file manually.</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl project/code.py --config_file /path/to/custom_config.yml
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl<span class="w"> </span>project/code.py<span class="w"> </span>--config_file<span class="w"> </span>/path/to/custom_config.yml
</pre></div>
</div>
</section>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Manims structure" href="structure.html" /><link rel="prev" title="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"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?f2fae3c1d4e0cb9956c06c2a">
<link rel="stylesheet" href="../_static/pygments.css?f2fae3c1d4e0cb9956c06c2a">
<link rel="stylesheet" href="../_static/styles/default.css?ad1f99843cdf5d6b80cfb319">
<link rel="stylesheet" href="../_static/pygments.css?ad1f99843cdf5d6b80cfb319">
<style>
:root {
@ -27,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?f2fae3c1d4e0cb9956c06c2a"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?ad1f99843cdf5d6b80cfb319"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -243,7 +243,7 @@ No more explanation here.</p>
<span class="c1"># for full usage, you can see https://github.com/3b1b/manim/pull/680</span>
<span class="n">text</span> <span class="o">=</span> <span class="n">Text</span><span class="p">(</span><span class="s2">"Here is a text"</span><span class="p">,</span> <span class="n">font</span><span class="o">=</span><span class="s2">"Consolas"</span><span class="p">,</span> <span class="n">font_size</span><span class="o">=</span><span class="mi">90</span><span class="p">)</span>
<span class="n">difference</span> <span class="o">=</span> <span class="n">Text</span><span class="p">(</span>
<span class="sd">"""</span>
<span class="w"> </span><span class="sd">"""</span>
<span class="sd"> The most important difference between Text and TexText is that\n</span>
<span class="sd"> you can change the font more easily, but can't use the LaTeX grammar</span>
<span class="sd"> """</span><span class="p">,</span>
@ -798,7 +798,7 @@ the related usage has been briefly described in the notes.</p>
<span class="n">c_grid</span><span class="o">.</span><span class="n">set_stroke</span><span class="p">(</span><span class="n">BLUE_E</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span>
<span class="n">c_grid</span><span class="o">.</span><span class="n">add_coordinate_labels</span><span class="p">(</span><span class="n">font_size</span><span class="o">=</span><span class="mi">24</span><span class="p">)</span>
<span class="n">complex_map_words</span> <span class="o">=</span> <span class="n">TexText</span><span class="p">(</span><span class="s2">"""</span>
<span class="s2"> Or thinking of the plane as $</span><span class="se">\\</span><span class="s2">mathds</span><span class="si">{C}</span><span class="s2">$,</span><span class="se">\\\\</span><span class="s2"></span>
<span class="s2"> Or thinking of the plane as $</span><span class="se">\\</span><span class="s2">mathds</span><span class="si">{C}</span><span class="s2">$,</span><span class="se">\\\\</span>
<span class="s2"> this is the map $z </span><span class="se">\\</span><span class="s2">rightarrow z^2$</span>
<span class="s2"> """</span><span class="p">)</span>
<span class="n">complex_map_words</span><span class="o">.</span><span class="n">to_corner</span><span class="p">(</span><span class="n">UR</span><span class="p">)</span>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Quick Start" href="quickstart.html" /><link rel="prev" title="Manims documentation" href="../index.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?d64d3d3d50045e2d97ce9313">
<link rel="stylesheet" href="../_static/pygments.css?d64d3d3d50045e2d97ce9313">
<link rel="stylesheet" href="../_static/styles/default.css?df490c9fc5acaea8aac7fd06">
<link rel="stylesheet" href="../_static/pygments.css?df490c9fc5acaea8aac7fd06">
<style>
:root {
@ -27,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?d64d3d3d50045e2d97ce9313"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?df490c9fc5acaea8aac7fd06"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -130,10 +130,33 @@
<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>
<section id="install-ffmpeg">
<h2>Install FFmpeg<a class="headerlink" href="#install-ffmpeg" title="Permalink to this headline"></a></h2>
</section>
<section id="install-ffmpeg-windows">
<h2>Install FFmpeg Windows<a class="headerlink" href="#install-ffmpeg-windows" title="Permalink to this headline"></a></h2>
<div class="highlight-cmd notranslate"><div class="highlight"><pre><span></span>choco install ffmpeg
</pre></div>
</div>
</section>
<section id="install-ffmepeg-linux">
<h2># Install FFmepeg Linux<a class="headerlink" href="#install-ffmepeg-linux" title="Permalink to this headline"></a></h2>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>sudo<span class="w"> </span>apt<span class="w"> </span>update
$<span class="w"> </span>sudo<span class="w"> </span>apt<span class="w"> </span>install<span class="w"> </span>ffmpeg
$<span class="w"> </span>ffmpeg<span class="w"> </span>-version
</pre></div>
</div>
</section>
<section id="install-ffmpeg-macos">
<h2># Install FFmpeg MacOS<a class="headerlink" href="#install-ffmpeg-macos" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>Download This ZIP file <a href="#system-message-1"><span class="problematic" id="problematic-1">`</span></a><a class="reference external" href="https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full">https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full</a>.7z`(if the link is not working download this zip file from there original website)</p></li>
</ul>
</section>
<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
pip<span class="w"> </span>install<span class="w"> </span>manimgl
<span class="c1"># Try it out</span>
manimgl
@ -142,12 +165,12 @@ manimgl
<p>If you want to hack on manimlib itself, clone this repository and in
that directory execute:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span><span class="c1"># Install python requirements</span>
pip install -e .
pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
<span class="c1"># Try it out</span>
manimgl example_scenes.py OpeningManimExample
manimgl<span class="w"> </span>example_scenes.py<span class="w"> </span>OpeningManimExample
<span class="c1"># or</span>
manim-render example_scenes.py OpeningManimExample
manim-render<span class="w"> </span>example_scenes.py<span class="w"> </span>OpeningManimExample
</pre></div>
</div>
<p>If you run the above command and no error message appears,
@ -162,10 +185,10 @@ FFmpeg</a>, and make sure that its path is in the PATH environment variable.</p>
<a class="reference external" href="http://tug.org/texlive/">TeXLive-full</a> is recommended.</p></li>
<li><p>Install the remaining Python packages.</p></li>
</ol>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/3b1b/manim.git
<span class="nb">cd</span> manim
pip install -e .
manimgl example_scenes.py OpeningManimExample
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/3b1b/manim.git
<span class="nb">cd</span><span class="w"> </span>manim
pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
manimgl<span class="w"> </span>example_scenes.py<span class="w"> </span>OpeningManimExample
</pre></div>
</div>
</section>
@ -175,11 +198,11 @@ manimgl example_scenes.py OpeningManimExample
<li><p>Install FFmpeg and LaTeX as above.</p></li>
<li><p>Create a conda environment using</p></li>
</ul>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/3b1b/manim.git
<span class="nb">cd</span> manim
conda create -n manim <span class="nv">python</span><span class="o">=</span><span class="m">3</span>.8
conda activate manim
pip install -e .
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/3b1b/manim.git
<span class="nb">cd</span><span class="w"> </span>manim
conda<span class="w"> </span>create<span class="w"> </span>-n<span class="w"> </span>manim<span class="w"> </span><span class="nv">python</span><span class="o">=</span><span class="m">3</span>.8
conda<span class="w"> </span>activate<span class="w"> </span>manim
pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
</pre></div>
</div>
</section>
@ -232,6 +255,10 @@ pip install -e .
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">Installation</a><ul>
<li><a class="reference internal" href="#install-ffmpeg">Install FFmpeg</a></li>
<li><a class="reference internal" href="#install-ffmpeg-windows">Install FFmpeg Windows</a></li>
<li><a class="reference internal" href="#install-ffmepeg-linux"># Install FFmepeg Linux</a></li>
<li><a class="reference internal" href="#install-ffmpeg-macos"># Install FFmpeg MacOS</a></li>
<li><a class="reference internal" href="#directly">Directly</a></li>
<li><a class="reference internal" href="#directly-windows">Directly (Windows)</a></li>
<li><a class="reference internal" href="#for-anaconda">For Anaconda</a></li>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="CLI flags and configuration" href="configuration.html" /><link rel="prev" title="Installation" href="installation.html" />
<link rel="shortcut icon" href="../_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?1fc584c769fc64cf5953aa79">
<link rel="stylesheet" href="../_static/pygments.css?1fc584c769fc64cf5953aa79">
<link rel="stylesheet" href="../_static/styles/default.css?6eec5e74acca835062ffeb4e">
<link rel="stylesheet" href="../_static/pygments.css?6eec5e74acca835062ffeb4e">
<style>
:root {
@ -27,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?1fc584c769fc64cf5953aa79"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?6eec5e74acca835062ffeb4e"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -137,7 +137,7 @@ directory structure:</p>
</span></pre></div>
</div>
<p>And paste the following code (I will explain the function of each line in detail later):</p>
<div class="highlight-python notranslate"><div class="table-wrapper"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
<div class="highlight-python notranslate"><div class="highlight"><div class="table-wrapper"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
<span class="normal">2</span>
<span class="normal">3</span>
<span class="normal">4</span>
@ -145,7 +145,7 @@ directory structure:</p>
<span class="normal">6</span>
<span class="normal">7</span>
<span class="normal">8</span>
<span class="normal">9</span></pre></div></td><td class="code"><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>
<span class="normal">9</span></pre></div></td><td class="code"><div><pre><span></span><span class="kn">from</span> <span class="nn">manimlib</span> <span class="kn">import</span> <span class="o">*</span>
<span class="k">class</span> <span class="nc">SquareToCircle</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>
@ -154,10 +154,10 @@ directory structure:</p>
<span class="n">circle</span><span class="o">.</span><span class="n">set_stroke</span><span class="p">(</span><span class="n">BLUE_E</span><span class="p">,</span> <span class="n">width</span><span class="o">=</span><span class="mi">4</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="n">circle</span><span class="p">)</span>
</pre></div>
</td></tr></table></div></div>
</pre></div></td></tr></table></div></div>
</div>
<p>And run this command:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl start.py SquareToCircle
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl<span class="w"> </span>start.py<span class="w"> </span>SquareToCircle
</pre></div>
</div>
<p>A window will pop up on the screen. And then you can :</p>
@ -169,7 +169,7 @@ directory structure:</p>
</ul>
<p>Finally, you can close the window and exit the program by pressing <kbd class="kbd docutils literal notranslate">q</kbd>.</p>
<p>Run this command again:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl start.py SquareToCircle -os
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl<span class="w"> </span>start.py<span class="w"> </span>SquareToCircle<span class="w"> </span>-os
</pre></div>
</div>
<p>At this time, no window will pop up. When the program is finished, this rendered
@ -220,7 +220,7 @@ how to create the mobjects in the screen and what operations need to be performe
<section id="add-animations">
<h2>Add animations<a class="headerlink" href="#add-animations" title="Permalink to this headline"></a></h2>
<p>Lets 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><span class="normal"> 1</span>
<div class="highlight-python notranslate"><div class="highlight"><div class="table-wrapper"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
@ -232,7 +232,7 @@ how to create the mobjects in the screen and what operations need to be performe
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span></pre></div></td><td class="code"><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>
<span class="normal">13</span></pre></div></td><td class="code"><div><pre><span></span><span class="kn">from</span> <span class="nn">manimlib</span> <span class="kn">import</span> <span class="o">*</span>
<span class="k">class</span> <span class="nc">SquareToCircle</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>
@ -245,15 +245,15 @@ how to create the mobjects in the screen and what operations need to be performe
<span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span>
<span class="bp">self</span><span class="o">.</span><span class="n">play</span><span class="p">(</span><span class="n">ReplacementTransform</span><span class="p">(</span><span class="n">square</span><span class="p">,</span> <span class="n">circle</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span>
</pre></div>
</td></tr></table></div></div>
</pre></div></td></tr></table></div></div>
</div>
<p>Run this command this time:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl start.py SquareToCircle
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl<span class="w"> </span>start.py<span class="w"> </span>SquareToCircle
</pre></div>
</div>
<p>The pop-up window will play animations of drawing a square and transforming
it into a circle. If you want to save this video, run:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl start.py SquareToCircle -o
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>manimgl<span class="w"> </span>start.py<span class="w"> </span>SquareToCircle<span class="w"> </span>-o
</pre></div>
</div>
<p>This time there will be no pop-up window, but the video file (saved in the subdirectory

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><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="Whats new" href="whatsnew.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"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?18995d23bc085d6804f4f968">
<link rel="stylesheet" href="../_static/pygments.css?18995d23bc085d6804f4f968">
<link rel="stylesheet" href="../_static/styles/default.css?23a5b4a800d8932af743acb9">
<link rel="stylesheet" href="../_static/pygments.css?23a5b4a800d8932af743acb9">
<style>
:root {
@ -27,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?18995d23bc085d6804f4f968"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?23a5b4a800d8932af743acb9"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><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="Manims 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"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="../_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="../_static/styles/default.css?d6e933536769594248c23c74">
<link rel="stylesheet" href="../_static/pygments.css?d6e933536769594248c23c74">
<link rel="stylesheet" href="../_static/styles/default.css?aceb166513d90ef1171faacf">
<link rel="stylesheet" href="../_static/pygments.css?aceb166513d90ef1171faacf">
<style>
:root {
@ -27,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?d6e933536769594248c23c74"></script></head>
<script src="../_static/copybutton.js"></script><script src="../_static/scripts/main.js?aceb166513d90ef1171faacf"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

View file

@ -1,7 +1,7 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Installation" href="getting_started/installation.html" />
<link rel="shortcut icon" href="_static/icon.png"/><meta name="generator" content="sphinx-3.0.3, furo 2020.10.05.beta9"/>
@ -9,8 +9,8 @@
<link rel="stylesheet" href="_static/copybutton.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="_static/styles/default.css?8c4067d6b4883c58ae5b555a">
<link rel="stylesheet" href="_static/pygments.css?8c4067d6b4883c58ae5b555a">
<link rel="stylesheet" href="_static/styles/default.css?cd459417726e1efbedae77fa">
<link rel="stylesheet" href="_static/pygments.css?cd459417726e1efbedae77fa">
<style>
:root {
@ -27,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?8c4067d6b4883c58ae5b555a"></script></head>
<script src="_static/copybutton.js"></script><script src="_static/scripts/main.js?cd459417726e1efbedae77fa"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@ -130,6 +130,10 @@ at <a class="reference external" href="https://www.3blue1brown.com/">3Blue1Brown
<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#install-ffmpeg">Install FFmpeg</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#install-ffmpeg-windows">Install FFmpeg Windows</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#install-ffmepeg-linux"># Install FFmepeg Linux</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#install-ffmpeg-macos"># Install FFmpeg MacOS</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#directly">Directly</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#directly-windows">Directly (Windows)</a></li>
<li class="toctree-l2"><a class="reference internal" href="getting_started/installation.html#for-anaconda">For Anaconda</a></li>

View file

@ -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="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css" />
<link rel="stylesheet" href="_static/styles/default.css?d84d5b50debe45a33c7c9f70">
<link rel="stylesheet" href="_static/pygments.css?d84d5b50debe45a33c7c9f70">
<link rel="stylesheet" href="_static/styles/default.css?26ce9caf3b8ac93398c37978">
<link rel="stylesheet" href="_static/pygments.css?26ce9caf3b8ac93398c37978">
<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?d84d5b50debe45a33c7c9f70"></script></head>
<script src="_static/searchtools.js" defer></script><script src="_static/scripts/main.js?26ce9caf3b8ac93398c37978"></script></head>
<body dir="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

File diff suppressed because one or more lines are too long