```bash WEB=python -m webbrowser # Install mambaforge (which includes CPython, conda, and mamba) for your CPU/OS: $WEB https://github.com/conda-forge/miniforge#mambaforge
# Install the tools mamba install -y jupyterlab povray #conda install -c conda-forge -y jupyterlab povray # pyglfw conda env export --from-history -f environment.yml cat environment.yml $WEB https://github.com/conda-forge/povray-feedstock/blob/main/recipe/meta.yaml $WEB https://github.com/conda-forge/jupyterlab-feedstock/blob/main/recipe/meta.yaml ``` ## p5 js - src: https://github.com/processing/p5.js/ - https://github.com/jupyterlite/p5-kernel - the p5.js kernel for jupyter lite has no load time due to: p5 is not WASM - https://p5js.org/examples/3d-geometries.html - https://p5js.org/examples/3d-sine-cosine-in-3d.html ## p5 python - src: https://github.com/p5py/p5 - https://p5.readthedocs.io/en/latest/install.html#prerequisites-glfw - https://github.com/conda-forge/glfw-feedstock/blob/main/recipe/meta.yaml - https://github.com/conda-forge/pyglfw-feedstock/blob/main/recipe/meta.yaml - https://p5.readthedocs.io/en/latest/examples/index.html#d #3D ### p5 python, VS Code + jupyter notebooks - https://p5.readthedocs.io/en/latest/guides/vscode.html # vscode - https://github.com/microsoft/vscode-jupyter#notebook-support - YMMV with GL in vscode (or code-server in ml-workspace) or it may just work? - p5 has input controls ## sympy geometry module https://docs.sympy.org/latest/modules/geometry/index.html#three-dimensions-and-beyond : > ### Three Dimensions and Beyond ΒΆ > Currently a limited subset of the geometry module has been extended to three dimensions, but it certainly would be a good addition to extend more. This would probably involve a fair amount of work since many of the algorithms used are specific to two dimensions - https://github.com/pygae/galgebra#geometric-algebra - https://github.com/sympy/sympy/blob/master/sympy/geometry/__init__.py On Tue, Jul 5, 2022, 10:33 PM kirby urner <kirby.ur...@gmail.com> wrote: > > > ---------- Forwarded message --------- > From: Sunshine Elite Education <i...@sunshineeliteeducation.com> > Date: Tue, Jul 5, 2022 at 6:47 PM > Subject: Python III: Python Programming and Data Structure for High School > : July 5: after class > To: <kirby.ur...@gmail.com> > Cc: <i...@sunshineeliteeducation.com> > > > > Greetings students -- > > This is in followup to our first meetup, which just ended. > > I'll often make some notes in followup, to remind you of what we've > covered and to provide some bookmarks for your web browser. > > The tools I focused on: > > Jupyter Notebook -- used with languages such as Julia, Python and R > Jupyter Lab -- for working with Notebooks > POV-Ray -- Persistence of Vision Ray Tracer > Python -- the language itself, by Guido van Rossum, the Dutchman > > Some Python types and math concepts we previewed (we'll be coming back to > all this stuff, I was just trying to give examples of high school math > topics we'll be looking at): > > * sets <https://realpython.com/python-sets/>: no duplicates, no left to > right order (we looked at some Emoji as elements) > * number bases (other than 10) -- more next time > * Pascal's Triangl e <http://4dsolutions.net/ocn/numeracy0.html> > * number sequences: figurate (e.g. triangular) and polyhedral (e.g. > tetrahedral) > https://oeis.org/A000217 (tetrahedral -- found in Pascal's Triangle) > https://oeis.org/A005901 (cuboctahedral) > > > > > > > * "Mod" type: numbers that add and multiply "modulo" something > (5 mod 12) x (5 mod 12) = 25 mod 12 = 1 mod 12) -- wasn't that much a > high school topic years ago but then along came cryptography as an everyday > feature of the internet > * "Rat" type: rational numbers i.e. fractions (1/2 + 1/3 = 5/6) > * Polynomials (I didn't say much about them) > * Plotting (meaning "graphs" -- another form of visual output, much easier > to get than with POV-Ray). > > The Mod and Rat types demonstrate Python's use of "special names" which > look like __this__ i.e. two underlines on either side of some word. I call > them __ribs__ because they look a bit like snake ribs > <https://www.google.com/search?q=snake+ribs&source=lnms&tbm=isch>. That's > a "mnemonic device" (a way to help you remember). > > > For the most part I scrolled through this Jupyter Notebook top to bottom: > > https://github.com/4dsolutions/elite_school/blob/master/ADS_highschool_math.ipynb > > = = = > > Where to get JupyterLab etc? > https://www.anaconda.com/products/distribution > > Where to get POV-Ray: > http://www.povray.org/download/ (Windows) > http://megapov.inetart.net/download.html#Mac (Mac and Linux) > > You may need to get some help with installation, especially if you want > POV-Ray on Mac or Linux. > > Do you know some techies? > > My email address is kirby.ur...@gmail.com > > I'll be talking in more detail about installation issues on Friday. > > We'll also be looking at using Notebooks in the cloud (e.g. through > colab.research.google.com). > > But eventually I hope you'll be comfortable using JupyterLab as a working > local environment (with POV-Ray an optional nice-to-have). JupyterLab > includes access to both Notebooks and Python, as well as to a Terminal > (console) window. > > > > Kirby > > > *Course Name*: Python III: Python Programming and Data Structure for High > School > *Datetime*: 07/05-08/26 Tuesday,Friday 4:30pm-6:00pm > *Location*: Online13 > > Thanks, > Sunshine Elite Education > ------------------------------------------------ > Tel: (503)915-2956 > Address: 15320 NW Central Dr. Ste D6, Portland, OR 97229 > Web: www.SunshineEliteEducation.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: 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