Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Drawing lines and circles

by RichardK (Parson)
on Oct 01, 2013 at 08:35 UTC ( #1056451=note: print w/replies, xml ) Need Help??


in reply to Drawing lines and circles

Really, there's been decades of research into graphic algorithms -- all you have to do is google for them.

try these for a start:- Line drawing algorithm Line drawing algorithm or Bresenham's_line_algorithm

Bresenham's is good and simple to implement.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056451]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-04-30 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (537 votes). Check out past polls.