[comp.sys.mac.programmer] Spline code anyone?

brad@ecst.csuchico.edu (Brad Lowe) (02/19/91)

Does anyone have any code that draws splines (smooth curves around points)?  
How about books/articles with code examples?  Any help would be most most appreciated.  
-- Brad Lowe
brad@cscihp.ecst.csuchico.edu

ralph@cm.cf.ac.uk (Ralph Martin) (02/19/91)

In article <1991Feb18.231756.13442@ecst.csuchico.edu> brad@ecst.csuchico.edu
(Brad Lowe) writes:
>Does anyone have any code that draws splines (smooth curves around points)?  
>How about books/articles with code examples?  

Try 
Curves and Surfaces in Computer Aided Geometric Design
G. Farin
Academic Press

Theres code in there. Another good book for understanding this all is
Mathematical Elements for Computer Graphics (2nd Ed)
Rogers and Adams
McGraw Hill

Ralph

ted@hpkslx.mayfield.HP.COM (Ted Johnson) (02/22/91)

Check out the Jan '89 MacTutor.  It has a pretty good LSC spline example.  
It has a few bugs in the blending functions, but works pretty good even if
you don't fix 'em.

-Ted