Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!cam-cl!news From: cet1@cl.cam.ac.uk (C.E. Thompson) Newsgroups: comp.lang.postscript Subject: Re: Spline data points to Bezier curve Message-ID: <1991Jun6.210140.18085@cl.cam.ac.uk> Date: 6 Jun 91 21:01:40 GMT References: <1991Jun3.095901.3793@desire.wright.edu> Reply-To: cet1@cl.cam.ac.uk (C.E. Thompson) Organization: U of Cambridge Comp Lab, UK Lines: 14 In article <1991Jun3.095901.3793@desire.wright.edu> cse0080@desire.wright.edu writes: >I need to know how to generate spline curves in PostScript when >all the data I have on hand is an array of data points that lie on >the curve itself. (IE: no control points for the curveto operator) > You could do worse than look at the algorithms used by METAFONT to choose control points for partially specified paths. They are due to John Hobby, and are justified in a Stanford U technical report, but if you just want the formulae you can find them on pp. 130-131 of the METAFONTbook. Chris Thompson JANET: cet1@uk.ac.cam.phx Internet: cet1%phx.cam.ac.uk@nsfnet-relay.ac.uk