Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Drawing lines and circles

by RichardK (Vicar)
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 contemplating the Monastery: (4)
As of 2015-07-28 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls