Re: A83: Re: Animation with _ILine


[Prev][Next][Index][Thread]

Re: A83: Re: Animation with _ILine




I'm probably doing something dumb, but I can't seem to figure out your line
routine Harper.  I was curious, so I wrote a prog that draws lots of lines
from the upper left corner of the screen to all the points on the bottom row
of the screen a few times each (total of 940 lines) to see how the speed
compared between plotline,fastline, and ILine.  However, for some reason I
can't get plotline to display the lines in the right places.  I've uploaded
a zip (http://tcpa.calc.org/members/dan/lines.zip) which contains the source
and 83 Plus binary of the program.  First it does plotline, then fastline,
then ILine.  If you test it on a real 83 Plus, or VTI, you'll see that
fastline and ILine both do the same thing (large black triangle in the lower
left of the screen), but plotline does something else altogether.  Perhaps I
messed up my inputs on plotline or something, but they seem correct to me.

I took screen shots of each so you can see what I mean:
plotline - http://tcpa.calc.org/members/dan/plotline.bmp
fastline - http://tcpa.calc.org/members/dan/fastline.bmp
iline - http://tcpa.calc.org/members/dan/iline.bmp

Tell me what you think,
-Dan
----- Original Message -----
From: "Harper Maddox" <gte172i@prism.gatech.edu>
To: <assembly-83@lists.ticalc.org>
Sent: Wednesday, August 23, 2000 2:27 PM
Subject: Re: A83: Re: Animation with _ILine


>
> i also have a line drawing routine, which is loosely based on bresham's
> line drawing algorithm.  It's fairly efficient, but i'm not sure how it
> compares to dan's.  Check it out at http://void.calc.org/programming/
>
> -harper
>
>




Follow-Ups: References: