Re: graph smoothing algorithm
[Prev][Next][Index][Thread]
Re: graph smoothing algorithm
On Sun, 17 Nov 1996, Ludwig Pummer wrote:
> Does anyone know the algorithm that TI uses on the TI-85 to smooth graphs
> when in DrawLine mode (as opposed to DrawDot)?
>
> Or, if nobody knows that, does anyone know of any algorithm that can be used
> to smoothen a graph and produce a nice line instead of just dots?
for y=whatever to whatever
xold=x
yold=y
figure out x
line from (xold,yold) to (x,y)
loop
(note that that is just pseudocode)
not really that hard
Tony Lieuallen = lieuallen@iop.com Oxymoron: Power Macintosh
Welcome to the ever changing sig! It changes every time I log in, so
don't flame me if it's a little long. Enjoy!
Real Users are afraid they'll break the machine -- but they're never
afraid to break your face.
References: