>>>>> "Tim" == Tim Bishop <[EMAIL PROTECTED]> writes:

    Tim> I'm after an algorithm, in Haskell (primarily Hugs), that
    Tim> will generate a list of points for a line, given the start
    Tim> and end points. I've looked at the Bresenham and it looks
    Tim> good, but turning the mathematical formulae into code looks
    Tim> tricky.

    Tim> If someone has already done this it would be a great help !

Alex Bunkenburg and Sharon Flynn, "Expression Refinement: Deriving
Bresenham's Algorithm", 1994 Glasgow Workshop on Functional
Programming, Ayr, Scotland.

Available from:

  http://www.dcs.gla.ac.uk/people/personal/bunkenba/

peace & happiness,
martin
-- 
Phone: +61 2 6249 3227                      Department of Computer Science
Fax:   +61 2 6249 0010                  The Australian National University
Email: [EMAIL PROTECTED]                     Canberra ACT 0200
WWW:   http://cs.anu.edu.au/~Martin.Schwenke/                    Australia


Reply via email to