Re: Future = (Vpython + Glowscript) | Glowscript | ???
Kevin Karplus <karplus-Emgmuai4XwL2fBVCVOL8/[email protected]> Sat, 9 Jun 2012 08:37:09 -0700
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
I'm glad to see that Vpython has a future, and that you do have plans to make it work on 64-bit Macs. I would find requiring "rate" statements a bit annoying, but tolerable. I wonder whether it would become a major problem for new programmers, though, as its necessity is not obvious. One thing I would like to see is a good integration of units into the computation. I tell my students to keep units with their intermediate results, and I suspect that most real physics teachers do also, so it is a bit annoying that Vpython encourages (sometimes even requires) unitless numbers. I've been using the Unum package, which works fairly well but is rather slow (I also had to add a sqrt function for it). See the simulation (without animation---just using visual for optional graphs) in http://gasstationwithoutpumps.wordpress.com/2012/06/04/soda-bottle-rocket-simulation-take-2 for an example of using Unum The visual package does not play nicely with Unum, since all the animation and graphing has to be unitless. I think that a little more care in "duck typing" could have made the routines work just fine with numbers that have units. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/