Re: Need coding suggestions
Bruce Sherwood <[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
Not sure what you're concerned about. It looks smooth to me until the very end, where there is an abrupt change in the shape of the rectangle. Also, something like rate(200) gives a better sense of the morphing than rate(1000), in my opinion. Bruce On Wed, Jun 8, 2011 at 2:22 PM, Joe Heafner <[email protected]> wrote: > I want to create some VPython simulations related to Gauss's law, flux, and > solid angle. I want to get across the point that any arbitrarily shaped > surface can, mathematically, be morphed into a sphere using the concept of > solid angle. Is there a way to make an arbitrarily shaped patch of area > morph SMOOTHLY into a square in VPython? Below is the code I have so far. It > works, but it's not as smooth as I'd like it to be. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev