{"id":535,"date":"2009-05-29T14:41:30","date_gmt":"2009-05-29T22:41:30","guid":{"rendered":"http:\/\/dougmccune.com\/blog\/?p=535"},"modified":"2013-06-09T19:37:29","modified_gmt":"2013-06-10T03:37:29","slug":"slides-code-and-links-from-my-cool-shit-presentation-at-360flex-indy","status":"publish","type":"post","link":"https:\/\/dougmccune.com\/blog\/2009\/05\/29\/slides-code-and-links-from-my-cool-shit-presentation-at-360flex-indy\/","title":{"rendered":"Slides, code, and links from my &#8220;Cool Shit&#8221; presentation at 360|Flex Indy"},"content":{"rendered":"<p>Another <a href=\"http:\/\/360flex.com\">360|Flex<\/a> has come and gone and I&#8217;ve returned home with my liver and dignity partially intact. This post contains the slides from my presentation as well as all the code for the examples that I showed during the presentation. The slides are embedded below or you can <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/Doug_McCune-360Flex_Indy_Cool_Shit.pdf\">download a PDF of them here<\/a>. <\/p>\n<p>The problem with these slides, however, is that if you read them out of context a lot of it probably won&#8217;t make that much sense (and some of it may very well be misunderstood completely). So I&#8217;m planning on doing a follow up post shortly after this that will try to put my slides in context by providing some notes about what I was talking about when I was showing each slide. So don&#8217;t look at the slides like the one that says &#8220;Fuck Flex&#8221; and jump to any conclusions. I&#8217;m not ditching Flex development, I wasn&#8217;t angry, and I wasn&#8217;t just trying to shock people with swear words on slides. If you saw my presentation then I hope it all made sense and I hope some of it resonated with you. If you didn\u2019t make it to my session then I&#8217;ll be posting a few followup posts about the main topics that I covered. I&#8217;ll be doing some posts that go into detail about steganography, head tracking (including detailing some of the optimizations I came up with), and augmented reality (hopefully with some good video).<\/p>\n<h1>Slides<\/h1>\n<p><strong>UPDATE:<\/strong> Turns out SlideShare&#8217;s embeddable player is throwing errors, so you can view the presentation slides <a href=\"http:\/\/www.slideshare.net\/dougmccune\/doug-mc-cune-cool-shit-360flex-indianapolis\">directly on SlideShare here<\/a>.<\/p>\n<p>Or <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/Doug_McCune-360Flex_Indy_Cool_Shit.pdf\">download the PDF<\/a> of the slides.<\/p>\n<h1>Code<\/h1>\n<p>Here&#8217;s all the code of all the examples that I showed. <\/p>\n<ul>\n<li><strong>STEGAsaurus<\/strong><br \/>\nThis is an AIR app that hides secret data (either text or files) in PNG images. It uses the PNGEncoder class in the Flex framework and the <a href=\"http:\/\/heriet.info\/as\/images\/PNGDecoder.as\">PNGDecoder<\/a> class written by <a href=\"http:\/\/heriet.info\/\">Heriet<\/a>. When you run the app it allows you to drag and drop an image file to either encode secret stuff or to decode secret stuff that has already been encoded in the image (it can only decode PNGs created with the app itself).<br \/>\n<a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/stagasaurus\/Stegasaurus.air\">Download the AIR installer<\/a> | <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/stegasaurus\/STEGAsaurus_src.zip\">Download the source<\/a><\/li>\n<li><strong>Modified Marilena head tracking library<\/strong><br \/>\nThe <a href=\"http:\/\/www.libspark.org\/wiki\/mash\/Marilena\">Marilena library<\/a> is part of the <a href=\"http:\/\/www.libspark.org\/wiki\/WikiStart\/en\">libspark project<\/a> and it is a port of a facial detection algorithm from OpenCV that uses a technique called Haar Cascades. I used an <a href=\"http:\/\/www.quasimondo.com\/archives\/000687.php\">optimized version by Mario Klingemann<\/a> as the base that I started with, and then I made further optimizations from there. The main optimizations that I made have to do with not having to rescan the entire image every pass (since we&#8217;re concerned with live webcam tracking) and also checking for different rotations of the face to allow the user to turn his or her face at an angle.<br \/>\n<a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/headtracking\/marilena_lib_modified.zip\">Download the source<\/a><\/li>\n<li><strong>Head Tracking Targets<\/strong><br \/>\nThis was a simple demo that uses Flash Player 10 3D stuff (no PaperVision or 3D library used). I was trying to recreate the fantastic demo that Johnny Lee did that uses the Wiimote to detect head movement. This demo should detect your face and move the targets as you move your head around.<br \/>\n<a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/headtargets\/TargetDemo.html\">Run the demo<\/a> | <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/headtargets\/srcview\">View the source<\/a><\/li>\n<li><strong>Crappy Top Gun game<\/strong> (controlled with your head)<br \/>\nThis is another demo that uses head tracking. This one is a little Flash game that recreates part of the original Top Gun NES game. You control the plane by moving your head in the direction you want to fly and the objective is to avoid getting hit by rockets. It&#8217;s a really crappy game and isn&#8217;t very fun to play, but it was intended to just be a proof of concept.<br \/>\n<a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/topfacegun\/TopFaceGun.html\">Run the demo<\/a> | <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/topfacegun\/topfacegun_src.zip\">Download the source<\/a><\/li>\n<li><strong>Safe Sexting<\/strong><br \/>\nThis is another head tracking demo that can automatically blur out your face. It&#8217;s sort of a Photo Booth type of application that lets you take pictures of yourself. The general concept is that it&#8217;s for all those young teenagers out there who are getting in trouble for sexting. Being the good citizen that I am, I wanted to come to their aid. This app will let you take dirty pictures while concealing your identity!<br \/>\n<a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/safesexting\/SafeSexting.html\">Run the demo<\/a> | <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/safesexting\/srcview\">View the source<\/a><\/li>\n<li><strong>Augmented reality demo with fake chests<\/strong> (male and female)<br \/>\nAnd for the finale of the presentation I pulled off my shirt to expose an augmented reality marker on my chest. I then &#8220;augmented&#8221; myself with a 3D muscular male chest that made me look like a bodybuilder, and then to top it off I threw some fake 3D breasts on my chest (all while simultaneously blurring my face with the Safe Sexting app). If you want to try the augmented reality stuff out you&#8217;ll need to <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/arclothes\/flarlogo-marker.pdf\">print out this marker<\/a> and hold it up the the camera (or tape it to your chest for the full effect).<br \/>\n<a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/arclothes\/ARClothesDemo.html\">Run the demo<\/a> | <a href=\"http:\/\/dougmccune.com\/360Flex_Indy\/arclothes\/srcview\">View the source<\/a><\/li>\n<\/ul>\n<p>So that&#8217;s all the slides and code. I&#8217;ll be putting together a series of blog posts that go over each of the individual topics I covered in much more detail. And like I mentioned, I&#8217;ll be doing a post that puts the slides in context for those of you who didn&#8217;t get to see the presentation live. I think there might also be some video floating around of most of the presentation, so if I can get my hands on that then I&#8217;ll be sure to post it.<\/p>\n<h1>Links<\/h1>\n<p>In addition to the slides, here are the direct links to all the videos or demos that I referenced in my slides:<\/p>\n<ul>\n<li><a href=\"http:\/\/theflashblog.com\/?p=765\">Lee Brimelow&#8217;s dead drop<\/a> (and the <a href=\"http:\/\/theflashblog.com\/?p=783\">explanation here<\/a>)<\/li>\n<li>\n<li><a href=\"http:\/\/johnnylee.net\/projects\/wii\/\">Johnny Lee&#8217;s Wii experiments<\/a><\/li>\n<li><a href=\"http:\/\/www.boffswana.com\/news\/?p=498\">Boffswana head tracking demo<\/a><\/li>\n<li><a href=\"http:\/\/mrdoob.com\/90\/Face_tracking_+_3D_Scene\">Mr. doob&#8217;s head tracking demo<\/a><\/li>\n<li><a href=\"http:\/\/www.youtube.com\/watch?v=e2ay5jOGI0w\">Funny video review of Top Gun for NES<\/a><\/li>\n<li>Grant Skinner&#8217;s webcam experiments with <a href=\"http:\/\/www.gskinner.com\/blog\/archives\/2005\/08\/flash_8_webcam.html\">snow<\/a> and <a href=\"http:\/\/www.gskinner.com\/blog\/archives\/2005\/11\/flash_8_webcam_1.html\">fire<\/a><\/li>\n<li><a href=\"http:\/\/www.boffswana.com\/news\/?p=392\">Boffswana FLARToolkit demo<\/a><\/li>\n<li><a href=\"http:\/\/www.livingsasquatch.com\/\">JackLinks Sasquatch AR example<\/a><\/li>\n<li><a href=\"http:\/\/ge.ecomagination.com\/smartgrid\/#\/augmented_reality\">GE SmartGrid AR example<\/a><\/li>\n<li><a href=\"http:\/\/www.toppstown.com\">Topps AR baseball cards<\/a> (<a href=\"http:\/\/www.youtube.com\/watch?v=QAjEGqGnpFI\">video here<\/a>)<\/li>\n<li><a href=\"http:\/\/turing.lecolededesign.com\/flasorne\/\">AR game<\/a> with characters shooting each other (<a href=\"http:\/\/vimeo.com\/3853814\">video<\/a>)<\/li>\n<li><a href=\"http:\/\/www.geishatokyo.com\/jp\/ar-figure\/figure.html\">Weird AR dolls from Japan<\/a><\/li>\n<\/ul>\n<h1>Were you there?<\/h1>\n<p>I&#8217;d love to get some feedback on how you thought the session went. Was it engaging? Was the technical content good? Too technical\/not technical enough? Let me know in the comments or feel free to shoot me an email: doug@dougmccune.com.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another 360|Flex has come and gone and I&#8217;ve returned home with my liver and dignity partially intact. This post contains the slides from my presentation as well as all the code for the examples that I showed during the presentation. The slides are embedded below or you can download a PDF of them here. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[4],"class_list":["post-535","post","type-post","status-publish","format-standard","hentry","category-flex","tag-360flex"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/comments?post=535"}],"version-history":[{"count":28,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/535\/revisions"}],"predecessor-version":[{"id":1767,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/posts\/535\/revisions\/1767"}],"wp:attachment":[{"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/media?parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/categories?post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dougmccune.com\/blog\/wp-json\/wp\/v2\/tags?post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}