challenges | ||
templates | ||
index.html | ||
README.md |
A hands-on tour of some new 3D elements
These materials are from a short workshop at the 2024 International JSXGraph Conference. You can watch a video of the workshop to learn more about how they were used. If you want to see what the templates look like in a browser without downloading them, you can see them on the web or on JSFiddle.
Templates
The files in the templates
folder show various ways of creating and styling the 3D elements that were added to JSXGraph in the summer of 2024. You can use them as starting points for your own explorations. Download the template files (or edit the JSFiddle versions online) and play with the the code in the script
tags. The code is designed to be easy to copy and change—not to be concise or efficient.
- Sphere sampler (JSFiddle)
- Circle sampler (JSFiddle)
- Polygon sampler (JSFiddle)
- Intersection sampler (JSFiddle)
- Glider sampler (JSFiddle)
- View options demo (JSFiddle)
Challenges
If you need some inspiration to help you practice with the new 3D elements, try to recreate scenes in the challenges
folder without looking at the source code. You don't need to make your versions look exactly the same, or even close to the same; these are just to get you thinking.
Background
These new JSXGraph elements and capabilities were developed thanks to the fiscal sponsorship of the Seattle Universal Math Museum. They were motivated by the archematics project: an effort to preserve interactive visualizations made with David Joyce’s Geometry Applet. When archematics is ready for public release, it will hopefully be built on JSXGraph.
After the workshop, Alfred Wassermann remarked that the Geometry Applet was one of JSXGraph’s original inspirations. It’s nice to look forward to JSXGraph coming full circle and helping preserve the software that influenced its development.