-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Added example jupyter notebook into the examples folders #1029
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
Changes from 6 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7c84697
example notebook
kolibril13 4d0348b
removed cell output
kolibril13 cba874e
added jupyter/ folder to gitignore
kolibril13 d6cf15f
added link to binder in documentation
kolibril13 46c1650
Update docs/source/installation.rst
kolibril13 0907a1a
updated binder links in readme
kolibril13 8f45962
Update example_scenes/manim_jupyter_example.ipynb
kolibril13 9299b07
Update example_scenes/manim_jupyter_example.ipynb
kolibril13 1531d09
Update docs/source/installation.rst
kolibril13 384d334
Merge branch 'master' into example_notebook
kolibril13 e401616
added config.media_width = "10vw"
kolibril13 aacbb0d
Merge branch 'master' into example_notebook
kolibril13 cd2a501
updated notebook to latest version
kolibril13 33ed28d
Merge branch 'master' into example_notebook
kolibril13 701cece
Merge branch 'master' into example_notebook
kolibril13 a67ede0
Merge remote-tracking branch 'origin/master' into example_notebook
behackl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,6 +64,7 @@ docs/source/_build/ | |
| target/ | ||
|
|
||
| # Jupyter Notebook | ||
| jupyter/ | ||
| .ipynb_checkpoints | ||
|
|
||
| # IPython | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| { | ||
| "cells": [ | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "from manim import *" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "%%manim Example1 -s -p -ql -v WARNING --disable_caching\n", | ||
kolibril13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "\n", | ||
| "class Example1(Scene):\n", | ||
| " def construct(self):\n", | ||
| " self.add(Circle())" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "%%manim HelloManim -p -q m -v WARNING --disable_caching\n", | ||
kolibril13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "\n", | ||
| "class HelloManim(Scene):\n", | ||
| " def construct(self):\n", | ||
| " self.camera.background_color = \"#ece6e2\"\n", | ||
| " banner_large = ManimBanner(dark_theme=False).scale(0.7)\n", | ||
| " self.play(banner_large.create())\n", | ||
| " self.play(banner_large.expand())" | ||
| ] | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "kernelspec": { | ||
| "display_name": "Python 3", | ||
| "language": "python", | ||
| "name": "python3" | ||
| }, | ||
| "language_info": { | ||
| "codemirror_mode": { | ||
| "name": "ipython", | ||
| "version": 3 | ||
| }, | ||
| "file_extension": ".py", | ||
| "mimetype": "text/x-python", | ||
| "name": "python", | ||
| "nbconvert_exporter": "python", | ||
| "pygments_lexer": "ipython3", | ||
| "version": "3.9.1" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 4 | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.