Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-07-02 16:41 GMT
Find Nodes?
    Voting Booth?

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

    Results (44 votes), past polls