<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Stroep &#187; actionscript</title> <atom:link href="http://blog.stroep.nl/tag/actionscript/feed/" rel="self" type="application/rss+xml" /><link>http://blog.stroep.nl</link> <description>Just a collection of random works - Mark Knol</description> <lastBuildDate>Tue, 07 Sep 2010 07:08:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Actionscript 3 to vector graphic</title><link>http://blog.stroep.nl/2009/08/actionscript-3-to-vector-file/</link> <comments>http://blog.stroep.nl/2009/08/actionscript-3-to-vector-file/#comments</comments> <pubDate>Mon, 03 Aug 2009 19:57:14 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[actionscript]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=690</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/behind.jpg" alt="Actionscript to vector graphic" title="Actionscript to vector graphic" width="100" height="100" class="alignleft size-full wp-image-586" />I like to generate art and objects with Flash/actionscript. Mostly I use a bitmapdata for that and export this as a PNG-24. This works perfect in most cases. But sometimes I wish there was a simple way to export my art to a scalable vector graphic. This would save a lot of data, and I'll be able to create unlimited large and sharp prints.I started searching and found some nice-to-know options.]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/behind.jpg" alt="Actionscript to vector graphic" title="Actionscript to vector graphic" width="100" height="100" class="alignleft size-full wp-image-586" />I like to generate art and objects with Flash/actionscript. Mostly I use a bitmapdata for that and export this as a PNG-24. This works perfect in most cases. But sometimes I wish there was a simple way to export my art to a scalable vector graphic. This would save a lot of data, and I&#8217;ll be able to create unlimited large and sharp prints.</p><p>I started searching and found some nice-to-know options.<br /> <br clear="both"/><strong>Save as PDF</strong><br /> If you have a PDF-printer installed, you could save the vectors as PDF (drawed with lineTo, curveTo etc). Just right-click on your flashmovie, and choose &#8216;<em>print..</em>&#8216;. Then choose &#8216;<em>Adobe PDF</em>&#8216; or another <a href="http://www.google.com/search?q=PDF+printer+driver" target="_blank">PDF printer</a>. This is very simple!<br /> Downside; My flash movie is becoming very slow when I create a lot of shapes.. After all; That&#8217;s the reason I use BitmapData objects. Sometimes I let Flash render a whole night before saving it and maybe it create more then a million shapes. To be realistic; I think a million shapes wouldn&#8217;t be cool as vector graphic, I guess my Illustrator doesn&#8217;t like that or the printshop-dude starts crying <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> However.. I think there are tools to optimize/clean shapes that could be helpful too.</p><p><strong>Open vector formats</strong><br /> I didn&#8217;t know this exist (because I never searched for something like this), but there is a lot information about a SVG file format. A lot of vector programs support it already and even modern browser could show SVG file formats too.<br /> I found <a href="http://code.google.com/p/as3svgrendererlib">this</a> and <a href="http://labs.zavoo.com/?p=7">this</a> link. The opposite would be an great idea; It could be cool if we could export SVG. While rendering we could write/add into a file. Then I could use a small bitmapdata object, just show it and render it real-time. Downside; I think SVG doesn&#8217;t support blendmodes or filters.</p><p>I really think there is a lot more to explore. If anyone have some other suggestions or ideas, feel free to post it.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/08/actionscript-3-to-vector-file/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>AS3 ValueObject generator &#8211; beta</title><link>http://blog.stroep.nl/2009/04/as3-valueobject-generator-beta/</link> <comments>http://blog.stroep.nl/2009/04/as3-valueobject-generator-beta/#comments</comments> <pubDate>Sat, 18 Apr 2009 15:21:59 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[actionscript]]></category> <category><![CDATA[as3]]></category> <category><![CDATA[tool]]></category> <category><![CDATA[ValueObject]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=504</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/vo.jpg" alt="" title="AS3 Class Generator" width="100" height="100" class="alignleft size-full wp-image-568" />Since I am using actionscript 3 and an external actionscript editor with nice code completion (FlashDevelop in my case), I am using a lot of value objects.Flashdevelop has no value object generator tool, so I've build one myself. It is beta.<strong>ValueObject generator</strong> <a href="http://projects.stroep.nl/ValueObjectGenerator/">http://projects.stroep.nl/ValueObjectGenerator/</a>]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/vo.jpg" alt="" title="AS3 Class Generator" width="100" height="100" class="alignleft size-full wp-image-568" />Since I am using actionscript 3 and an external actionscript editor with nice code completion (FlashDevelop in my case), I am using a lot of value objects.</p><p>Flashdevelop has no value object generator tool, so I&#8217;ve build one myself. It is beta.</p><p><strong>ValueObject generator</strong><br /> <a href="http://projects.stroep.nl/ValueObjectGenerator/">http://projects.stroep.nl/ValueObjectGenerator/</a><br /> <br style='clear:both'/><br /> <object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71075" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=644e636b54&#038;photo_id=3451978609"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71075"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71075" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=644e636b54&#038;photo_id=3451978609" height="300" width="400"></embed></object></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/04/as3-valueobject-generator-beta/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Generative art &#8211; The sky isn&#8217;t the limit</title><link>http://blog.stroep.nl/2009/02/generative-art-the-sky-isnt-the-limit/</link> <comments>http://blog.stroep.nl/2009/02/generative-art-the-sky-isnt-the-limit/#comments</comments> <pubDate>Tue, 03 Feb 2009 18:26:13 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[actionscript]]></category> <category><![CDATA[typographic]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=357</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/feel.jpg" alt="" title="feel" width="100" height="100" class="alignleft size-full wp-image-584" />We all love the sky. We make <a href="http://www.flickr.com/search/?q=sky&#038;w=all">millions</a> of <a href="http://www.flickr.com/search/?ct=3&#038;w=all&#038;q=clouds&#038;m=text">pictures</a> of it, because it different every second. It is inspirational, every time you look at is, whenever it is day or night. Inspired by the sky, which is a little bit gray in Holland right right now, I created these images. I actually love the color palette, there is a little winter and some spring feeling in it. :)I did something different this time; there are some typographic elements added. Just a few words that describe the feeling I have when looking at it.. What do you think about adding text to it?]]></description> <content:encoded><![CDATA[<p>We all love the sky. We make <a href="http://www.flickr.com/search/?q=sky&#038;w=all">millions</a> of <a href="http://www.flickr.com/search/?ct=3&#038;w=all&#038;q=clouds&#038;m=text">pictures</a> of it, because it different every second. It is inspirational, every time you look at is, whenever it is day or night. Inspired by the sky, which is a little bit gray in Holland right right now, I created these images. I actually love the color palette, there is a little winter and some spring feeling in it. <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>I did something different this time; there are some typographic elements added. Just a few words that describe the feeling I have when looking at it.. What do you think about adding text to it?</p><p><a href="http://www.flickr.com/photos/markknol/3249241064/" title="see.the.sky by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3490/3249241064_de89c3de67.jpg" width="500" height="500" alt="see.the.sky" /></a></p><p><a href="http://www.flickr.com/photos/markknol/3249176116/" title="feel.the.sky by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3068/3249176116_d9b84f5eca.jpg" width="500" height="500" alt="feel.the.sky" /></a></p><p>Created with actionscript. Render size: 10.000&#215;10.000 px.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/02/generative-art-the-sky-isnt-the-limit/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Generative art &#8211; wild.colorcurves</title><link>http://blog.stroep.nl/2009/01/generative-wildcolorcurves/</link> <comments>http://blog.stroep.nl/2009/01/generative-wildcolorcurves/#comments</comments> <pubDate>Mon, 26 Jan 2009 10:21:25 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[actionscript]]></category> <category><![CDATA[curves]]></category> <category><![CDATA[flash]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=290</guid> <description><![CDATA[Feeling creative; created a new serie with wild but odd colors. It has a happy abstract smoke-like feeling. It is hard to create good ribbons, but now I have find out a new way I kinda like. When I was experimenting with my 'curved series' (previous post), I already had the engine. But in this serie I left the borders, left the fade and added better movement and connection between the lines. It's getting better every time. The curves and movements are based on a perlin noise. It took a lot of time till I get these four. The engine was right, but I have to deal with randomness. Mostly it doesn't work and sometimes it does and now I have this:<a title="wild.colorcurve.03 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226843168/"><img src="http://farm4.static.flickr.com/3125/3226843168_b018d0ee10.jpg" alt="wild.colorcurve.03"  /></a> <a title="wild.colorcurve.02 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226843682/"><img src="http://farm4.static.flickr.com/3098/3226843682_91902d8e75_m.jpg" alt="wild.colorcurve.02"  /></a> <a title="wild.colorcurve.01 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226842822/"><img src="http://farm4.static.flickr.com/3465/3226842822_e2087b165d_m.jpg" alt="wild.colorcurve.01" /></a> <a title="wild.colorcurve.04 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226843384/"><img src="http://farm4.static.flickr.com/3443/3226843384_6b04ba1ef4.jpg" alt="wild.colorcurve.04"  /></a>I've created this one at 6000 x 6000 px. What do you think of it? If you are interested to buy one, please contact me info[at]stroep.nl.]]></description> <content:encoded><![CDATA[<p>Feeling creative; created a new serie with wild but odd colors. It has a happy abstract smoke-like feeling. It is hard to create good ribbons, but now I have find out a new way I kinda like. When I was experimenting with my &#8216;curved series&#8217; (previous post), I already had the engine. But in this serie I left the borders, left the fade and added better movement and connection between the lines. It&#8217;s getting better every time. The curves and movements are based on a perlin noise. It took a lot of time till I get these four. The engine was right, but I have to deal with randomness. Mostly it doesn&#8217;t work and sometimes it does and now I have this:</p><p><a title="wild.colorcurve.03 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226843168/"><img src="http://farm4.static.flickr.com/3125/3226843168_b018d0ee10.jpg" alt="wild.colorcurve.03"  /></a><br /> <a title="wild.colorcurve.02 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226843682/"><img src="http://farm4.static.flickr.com/3098/3226843682_91902d8e75_m.jpg" alt="wild.colorcurve.02"  /></a> <a title="wild.colorcurve.01 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226842822/"><img src="http://farm4.static.flickr.com/3465/3226842822_e2087b165d_m.jpg" alt="wild.colorcurve.01"  /></a><br /> <a title="wild.colorcurve.04 by mark knol, on Flickr" href="http://www.flickr.com/photos/markknol/3226843384/"><img src="http://farm4.static.flickr.com/3443/3226843384_6b04ba1ef4.jpg" alt="wild.colorcurve.04"  /></a></p><p>I&#8217;ve created this one at 6000 x 6000 px. What do you think of it? if you are interested in buying one, please contact me info[at]stroep.nl.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/01/generative-wildcolorcurves/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Generative curved series</title><link>http://blog.stroep.nl/2009/01/generative-curved-series/</link> <comments>http://blog.stroep.nl/2009/01/generative-curved-series/#comments</comments> <pubDate>Sun, 25 Jan 2009 23:05:22 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[actionscript]]></category> <category><![CDATA[flash]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=285</guid> <description><![CDATA[New experiments with movements, curves, lines and perlin noise. Most movements are created using this function (this is pseudo code)sprite.point1.x += ( -128 + noiseColor.green) / 5;
sprite.point1.y += ( -128 + noiseColor.blue) / 5;noiseColor is the colorvalue of getPixel() from the perlin noise.<a href="http://www.flickr.com/photos/markknol/3184198235/" title="ribbon.curve-09 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3128/3184198235_94e4ca5ce8.jpg" width="500" height="320" alt="ribbon.curve-09" /></a><a href="http://www.flickr.com/photos/markknol/3191823030/" title="ribbon.leaf-06 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3535/3191823030_4e5635dd14_m.jpg" width="210"  alt="ribbon.leaf-06" /></a> <a href="http://www.flickr.com/photos/markknol/3190973677/" title="ribbon.leaf-02 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3474/3190973677_b64daca417_m.jpg" width="210" alt="ribbon.leaf-02" /></a> <a href="http://www.flickr.com/photos/markknol/3191823296/" title="ribbon.leaf-07 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3075/3191823296_06c24b0e09_m.jpg" width="210"  alt="ribbon.leaf-07" /></a> <a href="http://www.flickr.com/photos/markknol/3184198327/" title="ribbon.curve-10 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3444/3184198327_1ffe175a01_m.jpg" width="210" alt="ribbon.curve-10" /></a>Some curves with gradient fills and 2 different stroke sizes. I found in the Matrix-class a createGradientBox() function, witch actually is a very cool and handy function. The colors are based on photos with cool colors, this gives a nice natural look.<a href="http://www.flickr.com/photos/markknol/3219309140/" title="curves-354247508 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3098/3219309140_76358fb486_m.jpg" width="210"  alt="curves-354247508" /></a> <a href="http://www.flickr.com/photos/markknol/3218458371/" title="curves-90797965 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3083/3218458371_afc2f90d25_m.jpg" width="210" alt="curves-90797965" /></a> <a href="http://www.flickr.com/photos/markknol/3219308776/" title="curves-120014133 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3506/3219308776_aa3ca8203b.jpg" width="500" height="400" alt="curves-120014133" /></a>]]></description> <content:encoded><![CDATA[<p>New experiments with movements, curves, lines and perlin noise. Most movements are created using this function (this is pseudo code)<div class="bbCSH" style="font-family: monospace;"> <span style="color: #0066CC;">sprite</span>.<span style="color: #006600;">point1</span>.<span style="color: #006600;">x</span> += <span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">-128</span> + noiseColor.<span style="color: #006600;">green</span><span style="color: #66cc66;">&#41;</span> / <span style="color: #cc66cc;">5</span>;<br /> <span style="color: #0066CC;">sprite</span>.<span style="color: #006600;">point1</span>.<span style="color: #006600;">y</span> += <span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">-128</span> + noiseColor.<span style="color: #006600;">blue</span><span style="color: #66cc66;">&#41;</span> / <span style="color: #cc66cc;">5</span>;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <br /> &nbsp;</div><p>noiseColor is the colorvalue of getPixel() from the perlin noise.</p><p><a href="http://www.flickr.com/photos/markknol/3184198235/" title="ribbon.curve-09 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3128/3184198235_94e4ca5ce8.jpg" width="500" height="320" alt="ribbon.curve-09" /></a></p><p><a href="http://www.flickr.com/photos/markknol/3191823030/" title="ribbon.leaf-06 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3535/3191823030_4e5635dd14_m.jpg" width="210"  alt="ribbon.leaf-06" /></a> <a href="http://www.flickr.com/photos/markknol/3190973677/" title="ribbon.leaf-02 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3474/3190973677_b64daca417_m.jpg" width="210" alt="ribbon.leaf-02" /></a><br /> <a href="http://www.flickr.com/photos/markknol/3191823296/" title="ribbon.leaf-07 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3075/3191823296_06c24b0e09_m.jpg" width="210"  alt="ribbon.leaf-07" /></a> <a href="http://www.flickr.com/photos/markknol/3184198327/" title="ribbon.curve-10 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3444/3184198327_1ffe175a01_m.jpg" width="210" alt="ribbon.curve-10" /></a></p><p>Some curves with gradient fills and 2 different stroke sizes. I found in the Matrix-class a createGradientBox() function, witch actually is a very cool and handy function. The colors are based on photos with cool colors, this gives a nice natural look.</p><p><a href="http://www.flickr.com/photos/markknol/3219309140/" title="curves-354247508 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3098/3219309140_76358fb486_m.jpg" width="210"  alt="curves-354247508" /></a> <a href="http://www.flickr.com/photos/markknol/3218458371/" title="curves-90797965 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3083/3218458371_afc2f90d25_m.jpg" width="210" alt="curves-90797965" /></a><br /> <a href="http://www.flickr.com/photos/markknol/3219308776/" title="curves-120014133 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3506/3219308776_aa3ca8203b.jpg" width="500" height="400" alt="curves-120014133" /></a></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/01/generative-curved-series/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Fun &#8211; Fur engine</title><link>http://blog.stroep.nl/2008/12/fun-fur-engine/</link> <comments>http://blog.stroep.nl/2008/12/fun-fur-engine/#comments</comments> <pubDate>Thu, 04 Dec 2008 22:08:32 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[actionscript]]></category> <category><![CDATA[application]]></category> <category><![CDATA[fun]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=274</guid> <description><![CDATA[<a href="http://projects.stroep.nl/fur/" target="_blank"><img alt="" src="http://projects.stroep.nl/fur/furGeneratorLogo.jpg" title="Stroep - Fur generator" class="alignnone" width="420" height="230" /></a>I was working on a fur engine for images just for fun, inspired by a post on <a href="http://blog.andre-michelle.com/2008/fur-like-renderings/">Andre Michelle's blog</a>. Yes, his engine looks better, but with mines you can create your own images. This is a funny way to create more detailed images. I'm happy with the application I created.Since today you can see and use it.The idea is very simple; Add a link to an image (jpg/png/gif) and the engine will create a furry image for you :) It automatically saves your hairy image, so you can send it to your friends or set it as desktop.<strong>More info:</strong> <a href="http://projects.stroep.nl/fur/" target="_blank">Fur generator</a>Have fun! Please share your hairy images (but keep it clean please)]]></description> <content:encoded><![CDATA[<p><a href="http://projects.stroep.nl/fur/" target="_blank"><img alt="" src="http://projects.stroep.nl/fur/furGeneratorLogo.jpg" title="Stroep - Fur generator" class="alignnone" width="420" height="230" /></a></p><p>I was working on a fur engine for images just for fun, inspired by a post on <a href="http://blog.andre-michelle.com/2008/fur-like-renderings/">Andre Michelle&#8217;s blog</a>. Yes, his engine looks better, but with mines you can create your own images. This is a funny way to create more detailed images. I&#8217;m happy with the application I created.</p><p>Since today you can see and use it.</p><p>The idea is very simple; Add a link to an image (jpg/png/gif) and the engine will create a furry image for you <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> It automatically saves your hairy image, so you can send it to your friends or set it as desktop.</p><p><strong>More info:</strong> <a href="http://projects.stroep.nl/fur/" target="_blank">Fur generator</a></p><p>Have fun! Please share your hairy images (but keep it clean please)</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2008/12/fun-fur-engine/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Process rendering Actionscript to PNG to Video</title><link>http://blog.stroep.nl/2008/11/process-rendering-actionscript-to-png-to-video/</link> <comments>http://blog.stroep.nl/2008/11/process-rendering-actionscript-to-png-to-video/#comments</comments> <pubDate>Thu, 20 Nov 2008 23:31:48 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Other]]></category> <category><![CDATA[actionscript]]></category> <category><![CDATA[generative]]></category> <category><![CDATA[ImageSaver]]></category> <category><![CDATA[render]]></category> <category><![CDATA[video]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=252</guid> <description><![CDATA[I've created a new video, and this one isn't rendered like I said in the <a href="http://blog.stroep.nl/2008/11/perlin-noise-more-experiments/">previous post</a> (using flash > export movie > .mov), but I used the <a href="http://blog.stroep.nl/2008/08/as3-imagesaver-class-v10/">ImageSaver</a> class every frame. I added an event listener to the class. So I started rendering frame 1. When frame 1 is completed, I call the save function. The <a href="http://blog.stroep.nl/2008/08/as3-imagesaver-class-v10/">ImageSaver class</a> saves the images and dispatches an Event. When this Event.COMPLETE is being dispatched, I just render another frame. After rendering I call the save function again and wait till the Event.COMPLETE is being dispatched again. etcetera. ;) Well, I think I've got my own mini-render engine. It works perfect for creating sequences of images (or just videos which use a lot of CPU or cannot be displayed at real-time). While rendering I counted the frames and stopped saving after 1000 frames.So, now we can render more heavy effects and create videos, right? :) In this video 1000 images are rendered by actionscript, using additive blending and a BlurFilter. The movements are based on a <a href="http://blog.stroep.nl/2008/11/make-things-less-static-add-some-movement-with-perlin-noise/">Perlin noise</a>. Not very heavy, but when running it in the FlashPlayer, I've cannot reach more than 11fps. The full version is 800x600 with transparency, 30fps.<object type="application/x-shockwave-flash" width="420" height="315" data="http://www.flickr.com/apps/video/stewart.swf?v=63881" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#38;photo_secret=6abfc51527&#38;photo_id=3047016458"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=63881"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=63881" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#38;photo_secret=6abfc51527&#38;photo_id=3047016458" height="315" width="420"></embed></object><em>Yes, this video is created with actionscript</em>]]></description> <content:encoded><![CDATA[<p>I&#8217;ve created a new video, and this one isn&#8217;t rendered like I said in the <a href="http://blog.stroep.nl/2008/11/perlin-noise-more-experiments/">previous post</a> (using flash > export movie > .mov), but I used the <a href="http://blog.stroep.nl/2008/08/as3-imagesaver-class-v10/">ImageSaver</a> class every frame. I added an event listener to the class. So I started rendering frame 1. When frame 1 is completed, I call the save function. The <a href="http://blog.stroep.nl/2008/08/as3-imagesaver-class-v10/">ImageSaver class</a> saves the images and dispatches an Event. When this Event.COMPLETE is being dispatched, I just render another frame. After rendering I call the save function again and wait till the Event.COMPLETE is being dispatched again. etcetera. <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Well, I think I&#8217;ve got my own mini-render engine. It works perfect for creating sequences of images (or just videos which use a lot of CPU or cannot be displayed at real-time). While rendering I counted the frames and stopped saving after 1000 frames.</p><p>So, now we can render more heavy effects and create videos, right? <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> In this video 1000 images are rendered by actionscript, using additive blending and a BlurFilter. The movements are based on a <a href="http://blog.stroep.nl/2008/11/make-things-less-static-add-some-movement-with-perlin-noise/">Perlin noise</a>. Not very heavy, but when running it in the FlashPlayer, I&#8217;ve cannot reach more than 11fps. The full version is 800&#215;600 with transparency, 30fps.</p><p>Single image:<br /> <a href="http://www.flickr.com/photos/markknol/3043977405/sizes/o/" title="render.0212 by mark knol, on Flickr"><img src="http://farm4.static.flickr.com/3242/3043977405_dafeee6b24.jpg" width="420" alt="render.0212" /></a></p><p>Video output:<br /> <object type="application/x-shockwave-flash" width="420" height="315" data="http://www.flickr.com/apps/video/stewart.swf?v=63881" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=6abfc51527&amp;photo_id=3047016458"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=63881"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=63881" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=6abfc51527&amp;photo_id=3047016458" height="315" width="420"></embed></object><em>Yes, this video is created with actionscript</em></p><p>I used Premiere to merge all those images into a video.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2008/11/process-rendering-actionscript-to-png-to-video/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Perlin noise &#8211; more experiments</title><link>http://blog.stroep.nl/2008/11/perlin-noise-more-experiments/</link> <comments>http://blog.stroep.nl/2008/11/perlin-noise-more-experiments/#comments</comments> <pubDate>Fri, 07 Nov 2008 23:00:42 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Generative art]]></category> <category><![CDATA[actionscript]]></category> <category><![CDATA[experiment]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[noise]]></category> <category><![CDATA[perlin]]></category> <category><![CDATA[render]]></category> <category><![CDATA[video]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=237</guid> <description><![CDATA[After writing a post of using perlin noise, I'll did some more experiments making cool things. I draw lines using Perlin noise as input. Check this out:<object type="application/x-shockwave-flash" width="420" height="210" data="http://www.flickr.com/apps/video/stewart.swf?v=61761" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#38;photo_secret=4ca0066c61&#38;photo_id=3011939774"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=61761"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=61761" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#38;photo_secret=4ca0066c61&#38;photo_id=3011939774" height="210" width="420"></embed></object>]]></description> <content:encoded><![CDATA[<p>After writing <a href="http://blog.stroep.nl/2008/11/make-things-less-static-add-some-movement-with-perlin-noise/">this post</a> of using perlin noise, I&#8217;ll did some more experiments making cool things. I draw lines using Perlin noise as input. Check this out:</p><p><object type="application/x-shockwave-flash" width="420" height="210" data="http://www.flickr.com/apps/video/stewart.swf?v=61761" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=4ca0066c61&amp;photo_id=3011939774"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=61761"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=61761" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=4ca0066c61&amp;photo_id=3011939774" height="210" width="420"></embed></object></p><p>I was also experimenting/figuring out how to convert a actionscript generated movie to video. I never knew it was possible (or that easy) with the Flash CS3 (maybe because I never tried). Just choose file > export movie > and choose .mov extension. The video isn&#8217;t smooth, because (when I save it) it is not really rendering, it&#8217;s just like an invisible screencapture, I guess. So I can&#8217;t use more heavy CPU things. Thats a pity.</p><p>But maybe I could use my <a href="http://blog.stroep.nl/2008/09/as3-imagesaver-class-updated/">ImageSaver Class</a> to create a movie-sequence by saving frame by frame as PNG.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2008/11/perlin-noise-more-experiments/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>