🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8438

PostScript code for B-splines?

#8438
From: J. Daniel Smith
Date: Wed, 17 May 1989 01:05
21 lines
1291 bytes
Does anyone have PostScript code for producing B-Splines?  What I
would like is a PostScript routine to which I can pass a list of (x,y)
values.  The routine would then draw a B-Spline using these values.

Here is a start :-) :-)
/b-spline {... the PostScript code you will post/send to me ...} def

1.0 2.0 2.0 3.0 3.0 4.0 b-spline   
1.1 2.2 3.3 4.4 5.5 6.6 7.7 8.8 9.9 10.10 b-spline
showpage

Thanks for any and all help.
    Dan

=========================================================================
J. Daniel Smith                      Internet: smithda@cpsvax.cps.msu.edu
Michigan State University              BITNET: smithdan@msuegr

In language, clarity is everything.
              - Confucius
=========================================================================
Technical Details
Message-ID: <3002@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!tank!eecae!cps3xx!cpsvax!smithda

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!tank!eecae!cps3xx!cpsvax!smithda
From: smithda@cpsvax.cps.msu.edu (J. Daniel Smith)
Newsgroups: comp.lang.postscript
Subject: PostScript code for B-splines?
Keywords: PostScript, Curves, B-Splines
Message-ID: <3002@cps3xx.UUCP>
Date: 17 May 89 01:05:53 GMT
Sender: usenet@cps3xx.UUCP
Reply-To: smithda@cpsvax.cps.msu.edu (J. Daniel Smith)
Organization: Michigan State University, Computer Science Department
Lines: 21