Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: line algorithm

line algorithm

From: Eric Linenberg <elinenbe_at_umich.edu>
Date: Thu, 11 Apr 2002 09:22:57 -0400

I spent a good amount of time a few years ago doing a line drawing
algorithm for a device like this, and then realized that the Bresenham
algorithm is already well optimized and documented. Here is something
that I have (for the ti-85 calc in z80 assembly, and one for the ti-92
in 68000 asm) but could give you a good start.

see more information on lines here:
http://www.cs.unc.edu/~mcmillan/comp136/Lecture6/Lines.html

-eric


DS> Now, does anyone sit on a neat and fast line-drawing function? ;-)
Received on 2002-04-11

Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew