Skip to content

Commit

Permalink
Make the example render faster, remove autoreload
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Nov 30, 2019
1 parent e7d7058 commit 5bcab5e
Showing 1 changed file with 6 additions and 46 deletions.
52 changes: 6 additions & 46 deletions Example.ipynb
Expand Up @@ -2,17 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +11,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -30,7 +20,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -41,48 +31,18 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
" <video\n",
" width=\"854\"\n",
" height=\"480\"\n",
" autoplay=\"autoplay\"\n",
" controls\n",
" >\n",
" <source src=\"videos/tmpdsks62q3/1440p60/Shapes.mp4\" type=\"video/mp4\">\n",
" </video>\n",
" "
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"%%manim Shapes\n",
"%%manim Shapes --low_quality\n",
"\n",
"class Shapes(Scene):\n",
"\n",
" def construct(self):\n",
" circle = Circle(color=COLOR)\n",
" self.play(ShowCreation(circle))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 5bcab5e

Please sign in to comment.