Re: Any royal road to Bezier curves...?

2005-11-23 Thread Scott David Daniels
Warren Francis wrote: For my purposes, I think you're right about the natural cubic splines. Guaranteeing that an object passes through an exact point in space will be more immediately useful than trying to create rules governing where control points ought to be placed so that the object

Re: Any royal road to Bezier curves...?

2005-11-22 Thread Warren Francis
For my purposes, I think you're right about the natural cubic splines. Guaranteeing that an object passes through an exact point in space will be more immediately useful than trying to create rules governing where control points ought to be placed so that the object passes close enough to where

Re: Any royal road to Bezier curves...?

2005-11-22 Thread Tom Anderson
On Tue, 22 Nov 2005, Warren Francis wrote: For my purposes, I think you're right about the natural cubic splines. Guaranteeing that an object passes through an exact point in space will be more immediately useful than trying to create rules governing where control points ought to be placed

Re: Any royal road to Bezier curves...?

2005-11-22 Thread Warren Francis
If you go right to the foot of my code, you'll find a simple test routine, which shows you the skeleton of how to drive the code. Oops... my request just got that much more pitiful. :-) Thanks for the help. Warren -- http://mail.python.org/mailman/listinfo/python-list

Re: Any royal road to Bezier curves...?

2005-11-21 Thread Terry Hancock
On Sun, 20 Nov 2005 23:33:36 -0500 Warren Francis [EMAIL PROTECTED] wrote: I'm fairly new to Python (2-3 months) and I'm trying to figure out a simple way to implement Bezier curves... So far I've tried the following: http://runten.tripod.com/NURBS/ ...which won't work because the only

Re: Any royal road to Bezier curves...?

2005-11-21 Thread Tom Anderson
On Sun, 20 Nov 2005, Warren Francis wrote: Basically, I'd like to specify a curved path of an object through space. 3D space would be wonderful, but I could jimmy-rig something if I could just get 2D... Are bezier curves really what I want after all? No. You want a natural cubic spline:

Re: Any royal road to Bezier curves...?

2005-11-21 Thread Tom Anderson
On Mon, 21 Nov 2005, Tom Anderson wrote: On Sun, 20 Nov 2005, Warren Francis wrote: Basically, I'd like to specify a curved path of an object through space. 3D space would be wonderful, but I could jimmy-rig something if I could just get 2D... Are bezier curves really what I want after

Re: Any royal road to Bezier curves...?

2005-11-21 Thread Scott David Daniels
The Bezier gives control points with natural interpretations and a nice within the convex hull property. I happen to like Beziers to control curves which are aestheticly, rather than computationally defined. -- -Scott David Daniels [EMAIL PROTECTED] --

Re: Any royal road to Bezier curves...?

2005-11-21 Thread Claudio Grondi
http://en.wikipedia.org/wiki/De_Casteljau%27s_algorithm has a Python example implementation of qubic Bezier curves available. Claudio Warren Francis [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I'm fairly new to Python (2-3 months) and I'm trying to figure out a simple way

Re: Any royal road to Bezier curves...?

2005-11-21 Thread Claudio Grondi
http://en.wikipedia.org/wiki/De_Casteljau%27s_algorithm has a Python example implementation of qubic Bezier curves available. Here my port to Tkinter (doesn't need PIL) from Tkinter import * master = Tk() objTkCanvas = Canvas(master, width=110, height=180) objTkCanvas.pack() def midpoint((x1,

Any royal road to Bezier curves...?

2005-11-20 Thread Warren Francis
I'm fairly new to Python (2-3 months) and I'm trying to figure out a simple way to implement Bezier curves... So far I've tried the following: http://runten.tripod.com/NURBS/ ...which won't work because the only compiled binaries are for Windows 2000, python 2.1. I'm on Windows XP (for now),

Re: Any royal road to Bezier curves...?

2005-11-20 Thread Robert Kern
Warren Francis wrote: I'm fairly new to Python (2-3 months) and I'm trying to figure out a simple way to implement Bezier curves... So far I've tried the following: http://runten.tripod.com/NURBS/ ...which won't work because the only compiled binaries are for Windows 2000, python 2.1.