<?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>*drawlogic &#187; ALCHEMY</title>
	<atom:link href="http://drawlogic.com/category/alchemy/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Thu, 17 May 2012 13:12:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>AS3 Version of OpenCV for Facial Detection, Web Cam Object Detection, Head Tracking, 3D Library Integration and more with Open Computer Vision Library for Flash</title>
		<link>http://drawlogic.com/2009/03/16/as3-version-of-opencv-for-facial-detection-web-cam-object-detection-head-tracking-3d-library-integration-and-more-with-open-computer-vision-library/</link>
		<comments>http://drawlogic.com/2009/03/16/as3-version-of-opencv-for-facial-detection-web-cam-object-detection-head-tracking-3d-library-integration-and-more-with-open-computer-vision-library/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 21:47:32 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[3D ENGINES]]></category>
		<category><![CDATA[ACTIONSCRIPT]]></category>
		<category><![CDATA[ACTIONSCRIPT3]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ALCHEMY]]></category>
		<category><![CDATA[APPLICATIONS]]></category>
		<category><![CDATA[ARCHITECT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[BEST OF]]></category>
		<category><![CDATA[CODE]]></category>
		<category><![CDATA[ENGINE]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[GAMEDEV]]></category>
		<category><![CDATA[GAMES]]></category>
		<category><![CDATA[LIBRARIES]]></category>
		<category><![CDATA[MOTION]]></category>
		<category><![CDATA[OPEN SOURCE]]></category>
		<category><![CDATA[PAPERVISION]]></category>
		<category><![CDATA[PERFORMANCE]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[RENDERING]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[TOOLS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[detection]]></category>
		<category><![CDATA[face]]></category>
		<category><![CDATA[flash 10]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[libspark]]></category>
		<category><![CDATA[marilena]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[recognition]]></category>
		<category><![CDATA[tracking]]></category>
		<category><![CDATA[visual]]></category>

		<guid isPermaLink="false">http://drawlogic.com/?p=425</guid>
		<description><![CDATA[Libspark from Japan is a treasure trove of great flash advancements, they seem to realize the great things that can come from porting in existing solid libraries from C/C++ etc into flash and have been scoring lately including augmented reality in flash porting the ARToolkit to FLARToolkit.  Recently a port of openCV for as3 called [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.libspark.org/" target="_blank">Libspark</a> from Japan is a treasure trove of great flash advancements, they seem to realize the great things that can come from porting in existing solid libraries from C/C++ etc into flash and have been scoring lately including augmented reality in flash porting the <a href="http://www.hitl.washington.edu/artoolkit/" target="_blank">ARToolkit</a> to FLARToolkit.  Recently a port of <a href="http://www.libspark.org/wiki/mash/Marilena" target="_blank">openCV for as3 called Marilena</a> was found and it is for object detection and decent facial recognition (it is a computer vision library from intel) considering the processing power needed to do this.</p>
<p><strong>Face Detection:</strong> Here is the <a href="http://maaash.jp/lab/Marilena_sample/" target="_blank">sample included with Marilena</a> showing facial detection on an image.</p>
<p><a href="http://maaash.jp/lab/Marilena_sample/" target="_blank"><img class="alignnone size-full wp-image-436" title="marilena1" src="http://drawlogic.com/wp-content/uploads/2009/03/marilena1.jpg" alt="marilena1" width="520" height="163" /></a></p>
<p>Lots of recent action has blown up on this front from <a href="http://mrdoob.com/blog/post/643" target="_blank">Mr doob</a>, <a href="http://www.quasimondo.com/" target="_blank">quasimondo </a>(optimizing the <a href="http://www.libspark.org/wiki/mash/Marilena" target="_blank">Marilena</a> classes for better performance) and <a href="http://www.boffswana.com/news/?p=498" target="_blank">Boffwswana</a>. Also there is a kit called <a href="http://code.google.com/p/deface/" target="_blank">deface</a> by sshipman that is the first foray into this a year ago doing similar things but it was just a bit before it&#8217;s time and a bit slow in previous versions of flash,<a href="http://suckatmath.com/personal/facedetect/facedetect.html" target="_blank"> it performs decent now in this sample</a>. Flash 10 performance of the AVM2 and future directions with Alchemy will lead to more interesting stuff just like this.</p>
<p><strong><a href="http://mrdoob.com/blog/post/643" target="_blank">Mr. doob</a> head tracking sample, be sure to check <a href="http://mrdoob.com/blog/post/643" target="_blank">lots of other examples there</a><br />
</strong></p>
<p><strong><a href="http://mrdoob.com/blog/post/643" target="_blank"><img class="alignnone size-full wp-image-428" title="mrdoob_facedriven3d" src="http://drawlogic.com/wp-content/uploads/2009/03/mrdoob_facedriven3d.png" alt="mrdoob_facedriven3d" width="350" height="222" /></a><br />
</strong></p>
<p><strong><a href="http://www.boffswana.com/news/?p=498" target="_blank">Boffswana </a>example of head tracking <a href="http://www.youtube.com/watch?v=Jd3-eiid-Uw" target="_blank">Johnny Lee Wii style</a> </strong>with only a webcam and flash, no wiimote needed since it uses facial detection to check where you are and how close you are in the screen and then moves accordingly.</p>
<p><a href="http://www.boffswana.com/news/?p=498" target="_blank"><img class="alignnone size-full wp-image-427" title="bofswana" src="http://drawlogic.com/wp-content/uploads/2009/03/bofswana.jpg" alt="bofswana" width="505" height="379" /></a></p>
<p><a href="http://mrdoob.com/blog/post/643" target="_blank"></a></p>
<p>This is stemming from the recent explosion of the <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">FLARToolkit </a>and <a href="http://drawlogic.com/2008/11/17/as3-augmented-reality-in-flash-and-papervision-3d-flartoolkit/" target="_blank">augmented reality in flash</a> as well as the gimmicks used by Nintendo with the <a href="http://www.youtube.com/watch?v=Jd3-eiid-Uw" target="_blank">wii and Johnny Lee&#8217;s great head tracking advancements</a>. Porting great libraries to flash seems to be the phase we are entering now judging by the recent excitement around Adobe Alchemy and the LLVM along with the lead from the libspark.org contributors. We have also seen this heavily last year in ports of Box2D for 2d physics and other toolkits using established working code and porting that to flash now that is is mostly capable of handling the performance.</p>
<p><a href="http://sourceforge.net/projects/opencv/" target="_blank">OpenCV</a> (Open Computer Vision Library by Intel) is quite a powerful platform that allows you to do all this and now it is available in flash. There are other great libraries for nearly all platforms now. I have done some previous work with <a href="http://code.google.com/p/aforge/" target="_blank">Aforge which is also a port of OpenCV</a> mainly for<a href="http://drawlogic.com/2007/10/17/motion-detection-in-flash-as2-and-as3-and-c/" target="_blank"> motion detection</a>. This was always around but not until the recent performance updates and the innovation that has come with Alchemy and the thinking that goes along with that (porting in libraries to flash from C/C++ etc), has allowed this to flourish in flash and thus the web.</p>
<p>The amazing new things we can do with flash by porting in existing libraries is only going to get more intense as alchemy and flash 10 are even more mainstream.  It is almost as if Flash will eventually just become a web renderer and simplified front end to many great toolkits that exist in more native environments like C/C++ but with the speed and distribution access of the web with Flash.  Exciting times ahead.</p>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2009/03/16/as3-version-of-opencv-for-facial-detection-web-cam-object-detection-head-tracking-3d-library-integration-and-more-with-open-computer-vision-library/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ODE (Open Dynamics Engine) 3D Physics Engine Running on Flash Player Using Alchemy</title>
		<link>http://drawlogic.com/2009/02/28/ode-open-dynamic-engine-3d-physics-engine-running-on-flash-player-using-alchemy/</link>
		<comments>http://drawlogic.com/2009/02/28/ode-open-dynamic-engine-3d-physics-engine-running-on-flash-player-using-alchemy/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 14:11:47 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[ACTIONSCRIPT]]></category>
		<category><![CDATA[ACTIONSCRIPT3]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ALCHEMY]]></category>
		<category><![CDATA[APPLICATIONS]]></category>
		<category><![CDATA[ARCHITECT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[DEVELOPMENT]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[GAMEDEV]]></category>
		<category><![CDATA[GAMES]]></category>
		<category><![CDATA[LIBRARIES]]></category>
		<category><![CDATA[PAPERVISION]]></category>
		<category><![CDATA[PERFORMANCE]]></category>
		<category><![CDATA[PHYSICS]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[RENDERING]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ENGINE]]></category>
		<category><![CDATA[flash10]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[llvm]]></category>
		<category><![CDATA[ode]]></category>

		<guid isPermaLink="false">http://drawlogic.com/?p=414</guid>
		<description><![CDATA[Alchemy is going to shake things up a bit.  As witnessed before from Quake running in flash and now ODE compiled to run in flash using Alchemy (LLVM based). It is an early test but shows what could be possible. Mihai Pricope has a post with sources on how he got the ODE (Open Dynamics [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://labs.adobe.com/technologies/alchemy/" target="_blank">Alchemy</a> is going to shake things up a bit.  As witnessed before from <a href="http://www.peterelst.com/blog/2007/10/03/adobe-max-chicago-sneak-peeks/" target="_blank">Quake running in flash</a> and now <a href="http://miti.pricope.com/2009/02/23/ode-open-dynamic-engine-for-flash/" target="_blank">ODE compiled to run in flash</a> using Alchemy (<a href="http://llvm.org/" target="_blank">LLVM</a> based). It is an early test but shows what could be possible.</p>
<p>Mihai Pricope has a <a href="http://miti.pricope.com/2009/02/23/ode-open-dynamic-engine-for-flash/" target="_blank">post</a> with sources on how he got <a href="http://miti.pricope.com/2009/02/23/ode-open-dynamic-engine-for-flash/" target="_blank">the ODE (Open Dynamics Engine) a great open source physics engine for 3D, running on the AVM2 Flash Player</a> virtual machine.</p>
<p><a href="http://miti.pricope.com/2009/02/23/ode-open-dynamic-engine-for-flash/" target="_blank"><img class="alignnone" style="border: 0pt none;" title="ODE in Flash" src="http://i81.photobucket.com/albums/j223/drawkbox/flash-ode.png" alt="" width="440" height="295" /></a></p>
<blockquote><p>I’ve took Alchemy for a test and decided to compile ODE (<a onclick="javascript:urchinTracker('/outbound/www.ode.org/');" href="http://www.ode.org/">Open Dynamic Engine</a>). Just to add yet another physics engine to the Flash World. It was a hell of a ride but I finally got to produce some bouncing balls <img src='http://drawlogic.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . For a still unknown reason some as 3d libraries have been very slow to render 6 translucent walls and 2 balls. Papervision3D seems to move quite decent.</p>
<p>You can download the ode sources from <a onclick="javascript:urchinTracker('/file/samples/ode/ode-flash.tgz');" href="http://miti.pricope.com/samples/ode/ode-flash.tgz">here</a>. To recompile them do (you need to have the <a onclick="javascript:urchinTracker('/outbound/labs.adobe.com/technologies/alchemy/');" href="http://labs.adobe.com/technologies/alchemy/">Alchemy</a> environment turned on):</p></blockquote>
<p>Flash 10 will become mainstream shortly and with that the possibilities of using Alchemy in your projects is becoming a reality for production.  But what specifically can you do with Alchemy, a project that helps to compile C/C++ code into AVM2 capable files?</p>
<p><a href="http://labs.adobe.com/technologies/alchemy/" target="_blank">Alchemy </a>described from Adobe:</p>
<blockquote><p>With Alchemy, Web application developers can now reuse hundreds of millions of lines of existing open source C and C++ client or server-side code on the Flash Platform.  Alchemy brings the power of high performance C and C++ libraries to Web applications with minimal degradation on AVM2.  The C/C++ code is compiled to ActionScript 3.0 as a SWF or SWC that runs on Adobe Flash Player 10 or Adobe AIR 1.5.</p></blockquote>
<p><a href="http://labs.adobe.com/wiki/index.php/Alchemy:FAQ" target="_blank">Alchemy is based on the LLVM Low Level Virtual Machine</a> that allows new levels of code translation.  Maybe this can lead to more effective and performing code to run on the iPhone with flash player 10. Or some type of system that allows flash developers to code in AS3 or take projects and get them ready to run on the iPhone much like some of the Java to Cocoa compilation systems and <a href="http://tirania.org/blog/archive/2008/Mar-10.html" target="_blank">Unity3D using mono to compile down to iPhone capable code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2009/02/28/ode-open-dynamic-engine-3d-physics-engine-running-on-flash-player-using-alchemy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pixel Bender Assembler and haXe Tools For Reading and Writing PBJ Files</title>
		<link>http://drawlogic.com/2008/12/04/pixel-bender-assembler-and-haxe-tools-for-reading-and-writing-pbj-files/</link>
		<comments>http://drawlogic.com/2008/12/04/pixel-bender-assembler-and-haxe-tools-for-reading-and-writing-pbj-files/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 20:55:57 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[ACTIONSCRIPT]]></category>
		<category><![CDATA[ACTIONSCRIPT3]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ALCHEMY]]></category>
		<category><![CDATA[APPLICATIONS]]></category>
		<category><![CDATA[ARCHITECT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[EFFECTS]]></category>
		<category><![CDATA[ENGINE]]></category>
		<category><![CDATA[OPEN SOURCE]]></category>
		<category><![CDATA[PERFORMANCE]]></category>
		<category><![CDATA[PIXEL]]></category>
		<category><![CDATA[PIXEL BENDER]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[TOOLS]]></category>
		<category><![CDATA[VIRTUAL MACHINES]]></category>
		<category><![CDATA[bender]]></category>

		<guid isPermaLink="false">http://drawlogic.com/?p=290</guid>
		<description><![CDATA[Nicolas Cannasse is at it again.  This time with a PBJ (Pixel Bender File) binary file reader and writer in haXe and Pixel Bender Assembler tools. What this can do is create and decompile PBJ files with haXe, the possibilities are limitless to how this is used including dynamic pbj file creation. The latest haXe [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ncannasse.fr/blog/pixel_bender_assembler" target="_blank">Nicolas Cannasse</a> is at it again.  This time with a PBJ (Pixel Bender File) binary file reader and writer in haXe and <a href="http://ncannasse.fr/projects/pbj" target="_blank">Pixel Bender Assembler tools</a>. What this can do is create and decompile PBJ files with haXe, the possibilities are limitless to how this is used including dynamic pbj file creation.</p>
<blockquote><p>The latest <a class="extern" href="http://haxe.org/">haXe</a> <a class="extern" href="http://code.google.com/p/hxformat">file format library</a> contains complete support to read and write PBJ file, enabling you to write Pixel Bender assembler directly in haXe, then compile it on-the-fly into PBJ bytes, which can then be saved on disk or loaded directly in Flash.</p></blockquote>
<p>I plan to have much more on <a href="http://labs.adobe.com/technologies/pixelbender/" target="_blank">Pixel Bender</a> (shaders in flash) and <a href="http://labs.adobe.com/technologies/alchemy/" target="_blank">Adobe Alchemy</a> (compile other languages to which is a very cool technology that involves <a href="http://llvm.org/" target="_blank">LLVM</a> that <a href="http://ncannasse.fr/blog/adobe_alchemy" target="_blank">Nicolas also has lots of great input on</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2008/12/04/pixel-bender-assembler-and-haxe-tools-for-reading-and-writing-pbj-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

