From: Bruce S. <Bru...@nc...> - 2011-06-09 04:03:06
|
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 <hea...@gm...> 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. |