Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Drawing lines and circles

by RichardK (Priest)
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.


Comment on Re: Drawing lines and circles

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-12-25 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls