[Flashcoders] Drawing BitmapData - thinner lines?
Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing BitmapData - thinner lines?
that lessrain example is crazy good. Not sure about the thickness thing - are you drawing the rule with a thickness of 0 and not 1? On Thu, Nov 13, 2008 at 9:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing BitmapData - thinner lines?
Make sure you line is draw as a Hairline and not a thickness of 1. Or if you draw the line dynamically (in code) then make sure to set the line style to no scale. Like this: shape.graphics.lineStyle(1, 0x00, 1, *false*, LineScaleMode.NONE); Steve On Thu, Nov 13, 2008 at 7:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing BitmapData - thinner lines?
In lineStyle(), set the pixelHinting param to true. On Thu, Nov 13, 2008 at 10:43 AM, Steve Mathews [EMAIL PROTECTED] wrote: Make sure you line is draw as a Hairline and not a thickness of 1. Or if you draw the line dynamically (in code) then make sure to set the line style to no scale. Like this: shape.graphics.lineStyle(1, 0x00, 1, *false*, LineScaleMode.NONE); Steve On Thu, Nov 13, 2008 at 7:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders