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:
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
|
|
|
|