- matplotlib.animation FfmpegWriter supports encoding as webp looping "gif" images - "ENH: add webp support to IPython.display.Image" https://github.com/ipython/ipython/pull/14526 >>> z, x, y = theta, cos(theta), sin(theta)
- ~ ipywidgets + mpld3? - Plotly 3d charts and Shapes are interactive, and optionally there's Dash - Mayavi is built on VTK - Manim geometry https://docs.manim.community/en/stable/reference/manim.mobject.geometry.line.Line.html - SymPy geometry https://docs.sympy.org/latest/modules/geometry/index.html - Sensorcraft curriculum also depends upon pyglet for OpenGL, but not yet WebGL IIUC https://docs.sympy.org/latest/modules/plotting.html#module-sympy.plotting.pygletplot - p5.js in JupyterLite - Khan Academy's Computer Science tuts have ProcessingJS, which p5 js is like - Pixar in a Box storytelling and Computer Graphics curriculum - GeoGebra is great for drawing geometric figures - TODO: f(x) = e**pi*i*x e**x*I*pi - JSXGraph - https://pypi.org/project/jsxgraph-magic/ - panda3d also compiles sim games to WASM - EXERCISE: build a math game to teach and quiz - TuxMath web is like MC is like Asteroids - retro games - text entry on a handheld without a keyboard makes for bad game UX - > STORY: Users can load a deck of questions to be presented at various points in the game. If ~'learning mode' is on, display an on screen indicator indicating that must_answer_to_advance=True for the given workstation. https://github.com/SuperTux/supertux/issues/3054#issuecomment-2323305552 - https://www.google.com/search?q=2d+physics+js+site%3Agithub.com ... TODO: DOC: Jupyter scipy stacks docs: to build atop the scipy stack containers with {mamba,conda,pip,JupyterLab, [...]} that mybinder.org already has cached, with Fedora and other distros with container-selinux: ```sh echo "FROM scipy-stack" > Dockerfile echo "USER 1000:100" >> Dockerfile echo "RUN /opt/conda/bin/mamba install -y jupyterlab_miami_nights" >> Dockerfile (set -x; cat Dockerfile) # man podman-build; man podman-run podman build . -t localhost/example2 podman run --rm -p 8888:8888 -v ${PWD}:/home/jovyan/work --userns=keep-id:uid=1000,gid=100 --security-opt label=disable -it localhost/example2 ``` TODO: DOC: repo2podman & repo2docker example python -m ensurepip python -m pip install pipx pipx install repo2docker repo2podman repo2docker -- TODO TODO: DOC: repo2jupyterlite ; build a *WASM* container, that runs in a browser What does emscripten-forge have for geometry? Which of these [Python,] tools for geometry work with ottergrader auto-gradeable notebooks? On Wed, Oct 9, 2024, 9:50 AM kirby urner via Edu-sig <edu-sig@python.org> wrote: > > Long timers here might remember Arthur Siegel's PyGeo, still on > Sourceforge <https://pygeo.sourceforge.net>. He and I used to endlessly > debate, here on this edu-sig listserv, the relative advantages of this or > that pythonic pedagogy, but were in agreement that VPython > <https://vpython.org>, or Visual Python, was in the toolkit. > > We managed to meet up in New York City, then I had to abort a second > meetup at a Pycon and yada yada... I only met him in person that one time. > No Zoom yet. > > Where is VPython today and who is using it? > > The physics teaching subculture is where it comes from and where it still > thrives from what I can tell. I managed to get invited to an AAPT meetup > <https://worldgame.blogspot.com/2010/07/physics-conference.html> (American > Association of Physics Teachers) by Dr. Bob Fuller, then its president, and > to sit in on some VPython talks. > > However, short of full scale animation, ala Blender > <https://www.blender.org> today, we have the ray-tracer as a genre, and > the ability to render stills. What brought me to Python in the first place, > on a pilgrimage <http://4dsolutions.net/ocn/oopalgebra.html> through > several languages (starting with FoxPro), was my appetite for computer > graphics, geometric in particular. Today I'm on several Facebook groups > that feed that appetite. Sometimes I roll my own. > > If you're new to Python and/or maybe looking for something more off the > beaten path, not data science, not AI, then I recommend the free and open > source stack I'm continuing to toy with: Python + povray, the latter coming > from a CompuServ heritage, with an open source license predating anything > GNU GPL. > > The animated GIFs <https://groups.io/g/synergeo/message/2735> I'm making > also make use of Fiji <https://fiji.sc>, another free open wrapper. I > write and run Python scripts > <https://github.com/4dsolutions/School_of_Tomorrow/blob/master/flextegrity.py> > to generate Scene Description Language for POV-Ray > <https://www.povray.org>, render say 7 - 9 frames, then sequence them > into a single GIF file <https://groups.io/g/synergeo/message/2739>, where > Fiji lets you control both framerate and whether to keep looping or not. > > My contention has always been: it's a two way street i.e. we're not only > learning Python in order to master more math; we're learning math to write > more interesting Python. The math I've been learning, around polyhedrons, > has given me hours of coding enjoyment and a deeper understanding of > spatial geometry. > > Kirby > > _______________________________________________ > Edu-sig mailing list -- edu-sig@python.org > To unsubscribe send an email to edu-sig-le...@python.org > https://mail.python.org/mailman3/lists/edu-sig.python.org/ > Member address: wes.tur...@gmail.com >
_______________________________________________ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org https://mail.python.org/mailman3/lists/edu-sig.python.org/ Member address: arch...@mail-archive.com