Pythonic Geometry

kirby urner via Edu-sig <[email protected]> Wed, 9 Oct 2024 06:47:22 -0700
Newsgroups gmane.comp.python.education
Message-ID <CAPJgG3TROfgxehkAKN+VKb+adLKoLo4dOzeCGZmNdH64XWO2+g@mail.gmail.com>
--===============0179140013172409573==
Content-Type: multipart/alternative; boundary="0000000000000aa83706240b7f28"

--0000000000000aa83706240b7f28
Content-Type: text/plain; charset="UTF-8"

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

--0000000000000aa83706240b7f28
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif;font-size:small"><br></div><div class=3D"gmail_default" style=3D=
"font-family:verdana,sans-serif;font-size:small">Long timers here might rem=
ember Arthur Siegel&#39;s PyGeo, still <a href=3D"https://pygeo.sourceforge=
.net">on Sourceforge</a>. He and I used to endlessly debate, here on this e=
du-sig listserv, the relative advantages of this or that pythonic pedagogy,=
 but were in agreement that <a href=3D"https://vpython.org">VPython</a>, or=
 Visual Python, was in the toolkit.=C2=A0</div><div class=3D"gmail_default"=
 style=3D"font-family:verdana,sans-serif;font-size:small"><br></div><div cl=
ass=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-size:sma=
ll">We managed to meet up in New York City, then I had to abort a second me=
etup at a Pycon and yada yada... I only met him in person that one time. No=
 Zoom yet.</div><div class=3D"gmail_default" style=3D"font-family:verdana,s=
ans-serif;font-size:small"><br></div><div class=3D"gmail_default" style=3D"=
font-family:verdana,sans-serif;font-size:small">Where is VPython today and =
who is using it?=C2=A0</div><div class=3D"gmail_default" style=3D"font-fami=
ly:verdana,sans-serif;font-size:small"><br></div><div class=3D"gmail_defaul=
t" style=3D"font-family:verdana,sans-serif;font-size:small">The physics tea=
ching subculture is where it comes from and where it still thrives from wha=
t I can tell. I managed to get invited to <a href=3D"https://worldgame.blog=
spot.com/2010/07/physics-conference.html">an AAPT meetup</a>=C2=A0(American=
 Association of Physics Teachers) by Dr. Bob Fuller, then its president, an=
d to sit in on some VPython talks.</div><div class=3D"gmail_default" style=
=3D"font-family:verdana,sans-serif;font-size:small"><br></div><div class=3D=
"gmail_default" style=3D"font-family:verdana,sans-serif;font-size:small">Ho=
wever, short of full scale animation, <a href=3D"https://www.blender.org">a=
la Blender</a> 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 href=3D=
"http://4dsolutions.net/ocn/oopalgebra.html">a pilgrimage</a>=C2=A0through =
several languages (starting with FoxPro), was my appetite for computer grap=
hics, geometric in particular. Today I&#39;m on several Facebook groups tha=
t feed that appetite. Sometimes I roll my own.</div><div class=3D"gmail_def=
ault" style=3D"font-family:verdana,sans-serif;font-size:small"><br></div><d=
iv class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-siz=
e:small">If you&#39;re new to Python and/or maybe looking for something mor=
e off the beaten path, not data science, not AI, then I recommend the free =
and open source stack I&#39;m continuing to toy with: Python=C2=A0+ povray,=
 the latter coming from a CompuServ=C2=A0heritage, with an open source lice=
nse predating anything GNU GPL.</div><div class=3D"gmail_default" style=3D"=
font-family:verdana,sans-serif;font-size:small"><br></div><div class=3D"gma=
il_default" style=3D"font-family:verdana,sans-serif;font-size:small">The <a=
 href=3D"https://groups.io/g/synergeo/message/2735">animated GIFs</a> I&#39=
;m making also make use of <a href=3D"https://fiji.sc">Fiji</a>, another fr=
ee open wrapper. I write and run <a href=3D"https://github.com/4dsolutions/=
School_of_Tomorrow/blob/master/flextegrity.py">Python scripts</a> to genera=
te Scene Description Language for <a href=3D"https://www.povray.org">POV-Ra=
y</a>, render say 7 - 9 frames, then sequence them into a <a href=3D"https:=
//groups.io/g/synergeo/message/2739">single GIF file</a>, where Fiji lets y=
ou control both framerate and whether to keep looping or not.</div><div cla=
ss=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-size:smal=
l"><br></div><div class=3D"gmail_default" style=3D"font-family:verdana,sans=
-serif;font-size:small">My contention has always been: it&#39;s a two way s=
treet i.e. we&#39;re not only learning Python in order to master more math;=
 we&#39;re learning math to write more interesting Python. The math I&#39;v=
e been learning, around polyhedrons, has given me hours of coding enjoyment=
 and a deeper understanding of spatial geometry.</div><div class=3D"gmail_d=
efault" style=3D"font-family:verdana,sans-serif;font-size:small"><br></div>=
<div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-s=
ize:small">Kirby</div><div class=3D"gmail_default" style=3D"font-family:ver=
dana,sans-serif;font-size:small"><br></div></div>

--0000000000000aa83706240b7f28--

--===============0179140013172409573==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Edu-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/edu-sig.python.org/
Member address: [email protected]

--===============0179140013172409573==--