 | | Re: some 'puter/math help please
|
|
(...) I think that's all I need for the 'precision' I want Thanks I'l ltry when I get home tonite (20 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
(...) I love stuff like that :) Thanks Dave (20 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
David, Check out Bresenham's Algorithm for line drawing: (URL) 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 (20 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
(...) You mean like this? (URL) have that packaged up in a MyBlock, and other than rounding errors it works nice and fairly quickly. (...) Not exactly; it really depends on the precision you want/need. (20 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | 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, (...) (20 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|