Skip to content

Bring Docs Branch up-to-date with Master #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 132 commits into from
May 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
e3b4677
Convert absolute imports to relative imports
eulertour May 20, 2020
4502116
Merge branch 'master' of github.com:ManimCommunity/manim into relativ…
eulertour May 20, 2020
72b0175
Merge branch 'master' of github.com:ManimCommunity/manim into relativ…
eulertour May 20, 2020
84051a9
Restore a few missed imports
eulertour May 20, 2020
c3c11b3
Rename sample scenes
eulertour May 20, 2020
16bb06d
Merge pull request #39 from ManimCommunity/rename-samples
eulertour May 20, 2020
f76f1b6
Remove more 3b1b files
eulertour May 21, 2020
a169645
Add setup.py
eulertour May 21, 2020
9bc0c04
Merge remote-tracking branch 'community/master' into relative-imports
eulertour May 21, 2020
5e8d3e0
Merge pull request #44 from ManimCommunity/remove-3b1b-files
eulertour May 21, 2020
260d009
Restore --save_pngs functionality
eulertour May 21, 2020
20598bd
Merge pull request #47 from ManimCommunity/save-pngs
leotrs May 21, 2020
d85f148
Merge pull request #45 from ManimCommunity/setuptools
leotrs May 21, 2020
98122e9
Add requirements.txt and update readme on example
naveen521kk May 21, 2020
c7129e4
Update requirements.txt
naveen521kk May 21, 2020
1b81013
Merge remote-tracking branch 'community/master' into relative-imports
eulertour May 21, 2020
bb4ae2c
Merge pull request #36 from ManimCommunity/docs
leotrs May 21, 2020
0fc1562
Merge pull request #26 from ManimCommunity/relative-imports
leotrs May 21, 2020
b019364
Rename from manimlib to manim
eulertour May 21, 2020
5f45392
Change package name to manimlib to appease pypi
eulertour May 21, 2020
a4835db
Merge pull request #55 from ManimCommunity/rename-to-manim
eulertour May 21, 2020
82f6572
Replace manimlib imports with manim
eulertour May 21, 2020
d766c8f
Fix scene_file_writer import
eulertour May 21, 2020
605ebbb
Merge pull request #56 from ManimCommunity/replace-manimlib-with-manim
huguesdevimeux May 21, 2020
865c4c1
Merge pull request #57 from ManimCommunity/fix-scene-file-writer
leotrs May 21, 2020
92f6eb4
constants.py overhaul
May 22, 2020
0e93213
Small fixes
May 22, 2020
5e552ce
Removed test print statements
May 22, 2020
2c6d2a0
Fixed image target directory
May 22, 2020
4606939
Change as asked
naveen521kk May 22, 2020
106727c
Fixed dirs.py
May 22, 2020
9e18d4f
Adjusted import statements
May 22, 2020
00a786e
Add logger and replace print calls with appropriate logging functions
kilacoda May 22, 2020
0d4d343
Add feature: customizable left and right bracket for matrix mobject
PhilippImhof May 21, 2020
a22880d
New feature: set_row_colors for matrix mobject
PhilippImhof May 21, 2020
17bda70
Update manimlib/mobject/matrix.py
PhilippImhof May 21, 2020
9bb1c66
Added short documentation for new methods
PhilippImhof May 22, 2020
713ab68
updated README
huguesdevimeux May 22, 2020
29e8172
added dry_run flag
huguesdevimeux May 22, 2020
c933394
added a very quick test
huguesdevimeux May 22, 2020
44717c8
changed help message
huguesdevimeux May 22, 2020
126e2b9
Add line to preserve PEP8 standards
kilacoda-old May 22, 2020
a933dd3
Merge pull request #63 from huguesdevimeux/added-dry-run
leotrs May 22, 2020
1b6c755
Add pip to install in ReadMe
naveen521kk May 22, 2020
753ead6
Fixed issue on L117
kilacoda-old May 22, 2020
be1c7b6
Remove useless comment
kilacoda-old May 22, 2020
e651fa6
Deleted HELP_MESSAGE
May 22, 2020
deff7c7
removed keywords from -r flag
huguesdevimeux May 22, 2020
c02a2cc
Merge branch 'master' into readme-update
huguesdevimeux May 22, 2020
261008a
Change cfgargs to config
May 22, 2020
e138ee4
Merge branch 'master' into constants.py-overhaul
XorUnison May 22, 2020
2bd4bc1
Merge pull request #58 from ManimCommunity/constants.py-overhaul
XorUnison May 22, 2020
304ede4
Merge pull request #64 from huguesdevimeux/fixed-r-flag
XorUnison May 22, 2020
e447b34
Merge branch 'master' into logging-with-rich
XorUnison May 23, 2020
b265ad1
Merge pull request #59 from ManimCommunity/logging-with-rich
kilacoda-old May 23, 2020
586f0ce
Remove blank spaces on L7
kilacoda-old May 23, 2020
5f18de3
Merge pull request #67 from ManimCommunity/REMOVE_DA_SPACES
kilacoda-old May 23, 2020
c028bae
Fix file path for devs
kilacoda-old May 23, 2020
7455ccf
Merge pull request #54 from naveen521kk/readme-update
leotrs May 23, 2020
449d903
Updated documentation: parameters, return values
PhilippImhof May 23, 2020
65fe274
Update setup.py
naveen521kk May 23, 2020
e8fb507
fix docs format
PgBiel May 23, 2020
7e15134
woops
PgBiel May 23, 2020
87698f4
Update setup.py (#70)
naveen521kk May 23, 2020
d3a975f
Added pycairo install script
naveen521kk May 23, 2020
a6a464e
Changes URL in ReadMe and update comments.
naveen521kk May 23, 2020
c3f623b
Add __main__.py file, which simply calls main(). The objective is to …
pedrovhb May 23, 2020
80fe4f0
Add trailing newline.
pedrovhb May 23, 2020
b032288
Merge pull request #72 from pedrovhb/enable-module-invocation
PgBiel May 24, 2020
261a501
Update pycairoInstall.py
naveen521kk May 24, 2020
a640c3b
Remove print Statement
naveen521kk May 24, 2020
705b960
setup Travis-CI by adding a .travis.yml file. Add pytest to requireme…
leotrs May 24, 2020
67b88aa
add pytest to setup
leotrs May 24, 2020
da9d4a8
fix: remove trailing comma
leotrs May 24, 2020
6077328
Remove windows from the build matrix, as Travis-CI does not currently…
leotrs May 24, 2020
032c097
remove macOS from the build matrix as it is not currently supported b…
leotrs May 24, 2020
ceb6a1d
try a better build matrix
leotrs May 24, 2020
66d24c6
keep trying on macOS
leotrs May 24, 2020
3ec1bd7
fix the build matrix (the os section was triggering unnecessary build…
leotrs May 24, 2020
60c9235
fix: apparently, rich does not support python 3.8.3 yet, but it does …
leotrs May 24, 2020
9958044
The __init__ file is executed when the user imports our package, so t…
leotrs May 24, 2020
8706817
Test new travis job matrix (with Windows too)
safinsingh May 24, 2020
e4ecc2f
use the right branch
safinsingh May 24, 2020
cda168a
Rename linux to mac in build config
safinsingh May 24, 2020
786031e
Add refreshenv to windows
safinsingh May 24, 2020
cc5dd14
try python version 3.8.0, as rich does not seem to support it
leotrs May 24, 2020
d1ddf94
Merge pull request #78 from ManimCommunity/fix-init-main-entrypoints
leotrs May 24, 2020
2572a01
specify both the python version and the destination folder
leotrs May 24, 2020
f7c7cef
travis environment variables go on the same line
leotrs May 24, 2020
f8fa823
try with pip3
leotrs May 24, 2020
409f702
here goes nothing
leotrs May 24, 2020
2b69de1
Try using pip from python
eulertour May 25, 2020
8afc7d2
It didn't work
eulertour May 25, 2020
facbcaa
update PATH
safinsingh May 25, 2020
d28dfca
Add user option to pip
safinsingh May 25, 2020
791a672
Well that broke it
safinsingh May 25, 2020
2ce0ffa
Add python -m on windows
safinsingh May 25, 2020
6c8a475
try to make cairo work with windoze??
safinsingh May 25, 2020
44b200f
Clarify lines and fix windows installs
safinsingh May 25, 2020
4338520
Remove double build
safinsingh May 25, 2020
e08c1c8
Refresh env vars after pytest install (win)
safinsingh May 25, 2020
ee64928
Added BasicTeX installation instructions for MacOS
May 25, 2020
5617e76
Update to select python 3
naveen521kk May 25, 2020
5874cb8
Merge pull request #82 from ManimCommunity/update-readme
leotrs May 25, 2020
0d119c3
added AddTextLetterByLetter
huguesdevimeux May 25, 2020
f9bb278
Add python -m for windows pytest
safinsingh May 25, 2020
7221634
Try to fix opencv + ffmpeg on win
safinsingh May 25, 2020
3c0643a
Remove OpenCV completely
safinsingh May 25, 2020
eb4819e
Merge branch 'master' into travis-setup
safinsingh May 25, 2020
e9b02b3
Remove .imports
safinsingh May 25, 2020
acbd4eb
One more import
safinsingh May 25, 2020
ab9ac29
Add build badge to readme [skip ci]
safinsingh May 25, 2020
963d66e
Housekeeping & pytest dev-only req [skip-ci]
safinsingh May 25, 2020
af53017
Test master [skip ci]
safinsingh May 25, 2020
1591d15
Merge pull request #86 from ManimCommunity/travis-setup
leotrs May 25, 2020
ec9b426
Merge branch 'pr/49'
PgBiel May 26, 2020
ba9e8d8
Fix missing spaces and capitalize some words
bkorecic May 26, 2020
9280c23
Update pycairoInstall.py
naveen521kk May 26, 2020
eae8e9b
Merge pull request #89 from bkorecic/master
leotrs May 26, 2020
a6b090f
Merge pull request #84 from huguesdevimeux/added-letter-by-letter
leotrs May 26, 2020
5fafb4a
Merge pull request #71 from naveen521kk/pycairo-install
leotrs May 26, 2020
42a80af
Fixes #91
May 26, 2020
4192e57
Complete removal of pycairoinstall.py
May 26, 2020
3aa8dac
Put pycairoinstall.py in newly named scripts folder.
May 26, 2020
928b136
Merge pull request #92 from ManimCommunity/fix-91
Aathish04 May 26, 2020
506cf79
Update name of PyCairo Installation script.
Aathish04 May 26, 2020
24e5afa
Merge pull request #93 from ManimCommunity/fix-91
leotrs May 26, 2020
9f88d6e
remove scene_from_video and opencv. closes #85
leotrs May 27, 2020
00163e3
remove manim/files since it is specific to 3b1b
leotrs May 27, 2020
6433935
remove one more file
leotrs May 27, 2020
6ce34fc
delete importing removed file
leotrs May 27, 2020
a29eabd
Merge pull request #99 from ManimCommunity/remove_unnecessary_files
leotrs May 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 135 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
jobs:
include:
# Linux Jobs
- os: linux
language: python
python: 3.6
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
script:
- pytest

- os: linux
language: python
python: 3.7
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
script:
- pytest

- os: linux
language: python
python: 3.8
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
script:
- pytest

# MacOS (OSX) Jobs
- os: osx
language: sh
python: 3.6
env: PYVER="3.6.10"
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
script:
- pytest

- os: osx
language: sh
python: 3.7
env: PYVER="3.7.7"
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
script:
- pytest

- os: osx
language: sh
python: 3.8
env: PYVER="3.8.0" # Using Python 3.8.0 due to error with rich
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
script:
- pytest

# Windows Jobs
- os: windows
language: sh
python: 3.6
# the latest version available on chocolatey is 3.6.8
env: PYVER="3.6.8" PYDIR="Python36"
install:
- choco install python --version=$PYVER
- export PATH="/c/$PYDIR:/c/$PYDIR/Scripts:$PATH"
- choco install ffmpeg
- cmd.exe //c "RefreshEnv.cmd"
- python -m pip install --upgrade pip
- python -m pip install --user -r ./.travis/travis-requirements.txt
- python ./.travis/cairo-windows.py
- cmd.exe //c "RefreshEnv.cmd"
- python -m pip install --user .
script:
- python -m pytest

- os: windows
language: sh
python: 3.7
env: PYVER="3.7.7" PYDIR="Python37"
install:
- choco install python --version=$PYVER
- export PATH="/c/$PYDIR:/c/$PYDIR/Scripts:$PATH"
- choco install ffmpeg
- cmd.exe //c "RefreshEnv.cmd"
- python -m pip install --upgrade pip
- python -m pip install --user -r ./.travis/travis-requirements.txt
- python ./.travis/cairo-windows.py
- cmd.exe //c "RefreshEnv.cmd"
- python -m pip install --user .
script:
- python -m pytest

- os: windows
language: sh
python: 3.8
env: PYVER="3.8.0" PYDIR="Python38" # Using Python 3.8.0 due to error with rich
install:
- choco install python --version=$PYVER
- export PATH="/c/$PYDIR:/c/$PYDIR/Scripts:$PATH"
- choco install ffmpeg
- cmd.exe //c "RefreshEnv.cmd"
- python -m pip install --upgrade pip
- python -m pip install --user -r ./.travis/travis-requirements.txt
- python ./.travis/cairo-windows.py
- cmd.exe //c "RefreshEnv.cmd"
- python -m pip install --user .
script:
- python -m pytest

before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then chmod +x ./.travis/osx.sh; sh ./.travis/osx.sh; fi

branches:
only:
- master

notifications:
email: false
51 changes: 51 additions & 0 deletions .travis/cairo-windows.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import platform
import os
import sys
import urllib.request

if 'Windows' in platform.system():
#In case the python version is 3.6 and the system is 32-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairo
if sys.version[:3]=='3.6' and platform.machine()=='x86':
urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp36-cp36m-win32.whl", "pycairo-1.19.1-cp36-cp36m-win32.whl")
os.system("pip install pycairo-1.19.1-cp36-cp36m-win32.whl")
os.remove("pycairo-1.19.1-cp37-cp37m-win32.whl")

#In case the python version is 3.6 and the system is 64-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairo
elif sys.version[:3]=='3.6' and platform.machine()=='AMD64':
urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp36-cp36m-win_amd64.whl", "pycairo-1.19.1-cp36-cp36m-win_amd64.whl")
print("Sucessfully downloaded Cairo for your system")
print("Installing Cairo")
os.system("pip install pycairo-1.19.1-cp36-cp36m-win_amd64.whl")
os.remove("pycairo-1.19.1-cp36-cp36m-win_amd64.whl")

#In case the python version is 3.7 and the system is 32-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairo
if sys.version[:3]=='3.7' and platform.machine()=='x86':
urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp37-cp37m-win32.whl", "pycairo-1.19.1-cp37-cp37m-win32.whl")
print("Sucessfully downloaded Cairo for your system")
print("Installing Cairo")
os.system("pip install pycairo-1.19.1-cp37-cp37m-win32.whl")
os.remove("pycairo-1.19.1-cp37-cp37m-win32.whl")

#In case the python version is 3.7 and the system is AMD64, try pycairo-1.19.1-cp37-cp37m-win_amd64.whl version of cairo
elif sys.version[:3]=='3.7' and platform.machine()=='AMD64':
urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp37-cp37m-win_amd64.whl", "pycairo-1.19.1-cp37-cp37m-win_amd64.whl")
print("Sucessfully downloaded Cairo for your system")
print("Installing Cairo")
os.system("pip install pycairo-1.19.1-cp37-cp37m-win_amd64.whl")
os.remove("pycairo-1.19.1-cp37-cp37m-win_amd64.whl")

#In case the python version is 3.8 and the system is 32-bit, try pycairo-1.19.1-cp38-cp38-win32.whl version of cairo
elif sys.version[:3]=='3.8' and platform.machine()=='x86':
urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp38-cp38-win32.whl", "pycairo-1.19.1-cp38-cp38-win32.whl")
print("Sucessfully downloaded Cairo for your system")
print("Installing Cairo")
os.system("pip install pycairo-1.19.1-cp38-cp38-win32.whl")
os.remove("pycairo-1.19.1-cp38-cp38-win32.whl")

#In case the python version is 3.8 and the system is AMD64, try pycairo-1.19.1-cp38-cp38-win_amd64.whl version of cairo
elif sys.version[:3]=='3.8' and platform.machine()=='AMD64':
urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp38-cp38-win_amd64.whl", "pycairo-1.19.1-cp38-cp38-win_amd64.whl")
print("Sucessfully downloaded Cairo for your system")
print("Installing Cairo")
os.system("pip install pycairo-1.19.1-cp38-cp38-win_amd64.whl")
os.remove("pycairo-1.19.1-cp38-cp38-win_amd64.whl")
12 changes: 12 additions & 0 deletions .travis/osx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
##### THIS IS FOR TRAVIS BUILDS, DO NOT RUN THIS ON YOUR COMPUTER! #####

brew update
brew install openssl readline
brew outdated pyenv || brew upgrade pyenv
brew install pyenv-virtualenv
pyenv install $PYVER
export PYENV_VERSION=$PYVER
export PATH="/Users/travis/.pyenv/shims:${PATH}"
pyenv virtualenv venv
source ~/.pyenv/versions/venv/bin/activate
python --version
14 changes: 14 additions & 0 deletions .travis/travis-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
argparse
colour
numpy
Pillow
progressbar
scipy
tqdm
# opencv-python
# pycairo
pydub
pygments
pyreadline; sys_platform == 'win32'
rich
pytest
56 changes: 44 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](logo/cropped.png)

[![Build Status](https://travis-ci.org/3b1b/manim.svg?branch=master)](https://travis-ci.org/3b1b/manim)
[![Build Status](https://travis-ci.com/ManimCommunity/manim.svg?branch=master)](https://travis-ci.com/ManimCommunity/manim)
[![Documentation](https://img.shields.io/badge/docs-EulerTour-blue.svg)](https://www.eulertour.com/docs)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://choosealicense.com/licenses/mit/)
[![Manim Subreddit](https://img.shields.io/reddit/subreddit-subscribers/manim.svg?color=ff4301&label=reddit)](https://www.reddit.com/r/manim/)
Expand Down Expand Up @@ -56,9 +56,19 @@ Before installing `manim-community`, there are some additional dependencies that
> win_amd64 corresponds to 64-bit machines, win32 corresponds to 32-bit machines

3. Open up your command prompt by hitting the Win key and typing `cmd`

4. Enter the directory where you install cairo by typing `cd C:\path\to\cairo` with the path being where you downloaded the `.whl` file

5. Finally, run `pip3 install (cairo-file).whl`, where the file the appropriate name of the `.whl` file.

6. Alternatively, Running the command below installs pycairo. This needs to be an elevated command prompt like Powershell.

```powershell
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/ManimCommunity/manim/master/scripts/pycairoinstall.py -UseBasicParsing).Content | py -3
```



#### FFmpeg Installation
1. To install `ffmpeg` and add it to your PATH, install [Chocolatey](https://chocolatey.org/) and run `choco install ffmpeg`
2. You can check you did it right by running `refreshenv` to update your environment variable and running `ffmpeg`
Expand All @@ -78,7 +88,7 @@ Before installing `manim-community`, there are some additional dependencies that

#### LaTeX Installation
1. Download the MiKTex installer from its [Download Page](https://miktex.org/download)
2. You can check you did it right by running `refreshenv` to update your environment variable and running `latex`
2. You can check you did it right by running `refreshenv` to update your environment variable and running `latex`

<img style="width: 20vw;" src="./readme-assets/windows_miktex.png" />
<br><br>
Expand Down Expand Up @@ -108,7 +118,7 @@ Before installing `manim-community`, there are some additional dependencies that
sudo apt install texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra tipa
```
> Note: this installation may take up a lot of space. The developers are working on providing a simpler, lighter LaTeX package for you to install
2. You can check you did it right by running `latex`
2. You can check you did it right by running `latex`

#### Additional Installation Steps
- You must install additional codecs to play MP4 files:
Expand Down Expand Up @@ -151,7 +161,22 @@ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/
#### LaTeX Installation
1. Refer to the section on Brew installation to see how to install `brew`
2. Run `brew cask install mactex`
2. You can check you did it right by running `latex`
3. You can check you did it right by running `latex`

> Note that MacTeX will require at least 4.5GB of hard disk space and bandwidth.
>
> This is due to the fact that it installs every LaTeX addon package offered by [CTAN](https://ctan.org/). Only a few of these packages are required by Manim.
>
> If you would like a smaller LaTeX install which only contains the packages needed by Manim alone, consider installing BasicTeX and suitable packages with the instructions below. This will require about 1.5 GB of space and bandwidth.

If you have installed MacTeX and are comfortable with it, do not install BasicTeX.

1. Refer to the section on Brew installation to see how to install `brew`
2. Run `brew cask install basictex`
3. Ensure that the TeXLiveManager tool `tlmgr` works, by running `tlmgr --version` in the terminal.
4. Run `sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super`
4. Ensure that LaTeX works by running `latex` in the Terminal.


### Installing Manim-Community itself

Expand All @@ -170,7 +195,7 @@ executing either
git clone git@github.com:ManimCommunity/manim.git
```

or
or

```sh
git clone https://github.com/ManimCommunity/manim.git
Expand All @@ -180,23 +205,30 @@ depending on whether you want to use HTTPS or SSH. Finally, run the
following:

```sh

python3 -m pip install -r requirements.txt
```

## Usage

To run your first example Scene, you can run the following commands:
For users:
1. Download the `example_scenes.py` file from [GitHub](https://github.com/ManimCommunity/manim/blob/master/example_scenes.py)

### For users:

1. Download the `example_scenes/basic.py` file from [GitHub](https://github.com/ManimCommunity/manim/blob/master/example_scenes/basic.py)
2. Run the following command:
```sh
manim example_scenes.py SquareToCircle -pl
manim example_scenes/basic.py SquareToCircle -pl
```

### For developers:

- Run the following command to install manim:
```sh
pip install -e .
```
1. Run the following command:
For developers:
- Then run the following command below:
```sh
python3 manim.py example_scenes.py SquareToCircle -pl
manim example_scenes/basic.py SquareToCircle -pl
```

![](./readme-assets/command.png)
Expand Down
2 changes: 1 addition & 1 deletion samples/sample_scenes.py → example_scenes/basic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

from manimlib.imports import *
from manim import *

# To watch one of these scenes, run the following:
# python -m manim example_scenes.py SquareToCircle -pl
Expand Down
2 changes: 1 addition & 1 deletion logo/logo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from manimlib.imports import *
from manim import *

NEW_BLUE = "#68a8e1"

Expand Down
5 changes: 0 additions & 5 deletions manim.py

This file was deleted.

Loading