{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "![Callysto.ca Banner](https://github.com/callysto/curriculum-notebooks/blob/master/callysto-notebook-banner-top.jpg?raw=true)\n", "\n", "\"Open" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Including Geogebra - fast version\n", "\n", "Geogebra is an exciting application for doing geometry, albegra, and other mathematical exercises online. You access it here: https://www.geogebra.org/\n", "\n", "It turns out that it is very easy to include a Geogebra app in your Jupyter notebook. A code cell with an **iframe** command will get it in there for you. \n", "\n", "Here is an example:" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%html\n", "" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This notebook is not a tutorial on Geogebra; you'll need to figure that out yourself. However, once you know how to make a Geogebra application, you can then include it into a Jupyter notebook. \n", "\n", "First step is to visit the [GeoGebra](https://www.geogebra.org/) website to create your app, or seach around for one that your like. \n", "\n", "Once you have your app, look at the \"Details\" tab on the Geogebra webpage, for this app. \n", "\n", "From the details, you pick **Share** and choose the **Embed** format. This includes the iframe command. Copy and paste it into a code cell along with an `%%html` magic command like this:" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%html\n", "" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "And that's it!! Good luck.\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "[![Callysto.ca License](https://github.com/callysto/curriculum-notebooks/blob/master/callysto-notebook-banner-bottom.jpg?raw=true)](https://github.com/callysto/curriculum-notebooks/blob/master/LICENSE.md)" ] } ], "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.6.6" } }, "nbformat": 4, "nbformat_minor": 4 }