Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-09-05 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (152 votes), past polls