Skip to content

Commit

Permalink
docs: add output simulation gifs back into examples
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumJHays committed Oct 11, 2022
1 parent 471048f commit 19e7eb3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions examples/cart_spring_pendulum.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<div style=\"display: flex; height: 300px;\">\n",
"\n",
"![cart spring pendulum diagram](imgs/cart_spring_pendulum.png)\n",
"\n",
"&nbsp;\n",
"\n",
"![cart spring pendulum simulation](imgs/cart_spring_pendulum_simulation.gif)\n",
"</div>\n",
"\n",
"Let $x$ be the distance in the x direction from equilibrium position for body $m_1$"
]
},
Expand Down
9 changes: 8 additions & 1 deletion examples/double_pendulum.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"![Problem Diagram](imgs/double_pendulum.png)"
"<div style=\"display: flex; height: 300px;\">\n",
"\n",
"![cart spring pendulum diagram](imgs/double_pendulum.png)\n",
"\n",
"&nbsp;\n",
"\n",
"![cart spring pendulum simulation](imgs/double_pendulum_simulation.gif)\n",
"</div>"
]
},
{
Expand Down

0 comments on commit 19e7eb3

Please sign in to comment.