Skip to content
Snippets Groups Projects
Commit 9a004b2e authored by Timon Idema's avatar Timon Idema
Browse files

Removed base url to broaden applet scope.

parent d73d739e
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@ from sphinx.directives.patches import Figure
from utils import parse_options, generate_style, ReviewStatus
DEFAULT_BASE_URL = 'https://openla.ewi.tudelft.nl/applet/'
#DEFAULT_BASE_URL = 'https://openla.ewi.tudelft.nl/applet/'
DEFAULT_BASE_URL = ''
class AppletDirective(Figure):
option_spec = Figure.option_spec.copy()
......
(Ch:Interactiveimages)=
(Ch:Applets)=
# Inteactive images
# Including applets
## SVG
{numref}`Figure %s <Fig:Vectors:AdditionPlane>` shows how you can geometrically add two arrows in a plane. The image is a SVG image rendered in the browser.
......@@ -16,11 +16,22 @@ It is of course much nicer if you can interact with the image. One way of adding
```{applet}
:url: vectors/3Daddition
:url: https://openla.ewi.tudelft.nl/applet/vectors/3Daddition
:fig: images/Fig-Vectors-3Daddition.svg
Geometrical interpretation of addition for three-dimensional vectors.
```
## Credits
Applet developed by Beryl van Gelderen, integration of applet in Jupyter book by Julia van der Kris and Abel de Bruijn, all as part of the [open linear algebra book](https://dbalague.pages.ewi.tudelft.nl/openlabook/index.html) under development by [PRIME](https://www.tudelft.nl/en/eemcs/the-faculty/departments/applied-mathematics/education/prime/).
\ No newline at end of file
Vector applet developed by Beryl van Gelderen, integration of applet in Jupyter book by Julia van der Kris and Abel de Bruijn, all as part of the [open linear algebra book](https://dbalague.pages.ewi.tudelft.nl/openlabook/index.html) under development by [PRIME](https://www.tudelft.nl/en/eemcs/the-faculty/departments/applied-mathematics/education/prime/).
## HTML files as applets
As we can now integrate other html files (with their own style sheets and JavaScript), the possibilities are endless. I can for example include this simple website on which you can practice your arithmetic.
```{applet}
:url: https://idemalab.tudelft.nl/rekenapp/
:fig: images/Fig-Vectors-3Daddition.svg
Arithmetic practice.
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment