To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 17249
17248  |  17250
Subject: 
Re: some 'puter/math help please
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Fri, 23 Mar 2007 15:37:25 GMT
Viewed: 
1641 times
  
David,

Check out Bresenham's Algorithm for line drawing:

<http://en.wikipedia.org/wiki/Bresenham's_line_algorithm>

It's been around forever and does not require complex
math - which was not available on older computers anyways.

Sometimes the old guys knew how to do stuff right.

Ralph



Message has 1 Reply:
  Re: some 'puter/math help please
 
(...) I love stuff like that :) Thanks Dave (18 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: some 'puter/math help please
 
In lugnet.org.ca.rtltoronto, Rafe Donahue wrote: <snip> (...) I guess this is where pythagoras will factor in--I want the number of points to be the same as the length of the initial line (from random (x,y) to (0,0))--if the line is 17 units long, (...) (18 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR