Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Graph Drawing & /View Performance

From: larry:ecotope at: 6-May-2002 16:15

> The best thing I can come up with is creating and setting images as > often as needed, but there _must_ be a better (i.e. faster) way ... > Some way that allows me to directly act upon an existing image. > > f/image/clear > f/image/line 200x200 150x300
Hi Christian, You might be able to use my drawline algorithm which uses the method of Bresenham to draw lines on an image. It is the fastest algorithm I was able to come up with. http://www.nwlink.com/~ecotope1/reb/draw-line2.r -Larry