{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
Manim Community v0.18.0\n",
"\n",
"
\n"
],
"text/plain": [
"Manim Community \u001b[32mv0.\u001b[0m\u001b[32m18.0\u001b[0m\n",
"\n"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from manim import *\n",
"from manim_geometry import *\n",
"\n",
"config.media_embed = True\n",
"config.media_width = \"100%\"\n",
"_RV = \"-v WARNING -qm --progress_bar None --disable_caching\"\n",
"_RI = \"-v WARNING -s --progress_bar None --disable_caching\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Auto-animations\n",
"\n",
"While you can access all objects as an attribute of \"Geos\", each construction has a default animation, for this you can use the `auto_animation` method. This method receives the following parameters:\n",
"\n",
"1. `all_styles` [dict]: Here the styles of the auxiliary objects are defined.\n",
"2. `anim_kwargs` [dict]: Here the typical kwargs of the animations are defined, `run_time`, etc., I do not recommend modifying any other option besides `run_time`.\n",
"3. `show_dot/show_dots` [Bool]: Shows the auxiliary point or points.\n",
"4. `remove_arc/remove_arcs` [Bool]: Removes the auxiliary arcs.\n",
"5. `**kwargs`: Here you can define the styles of the object being animated.\n",
"\n",
"## Dots"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
""
],
"text/plain": [
"