I support the OCCUPY movement

Tagged:  ActionScript 3

March 1, 2011 8 Programming

I was helping a fellow out in the Flixel forums with memory management before I realized this issue is serious enough to warrant a proper blogging. I hope Adam Atomic (creator of Flixel) will take note and include these fixes in the main branch (I posted a new issue on Flixel’s github). This information is… Read More »

Pixel-perfect collision detection with 5000+ particles

November 24, 2009 4 Experiments, Programming

UPDATE: This post is here for historical purposes. The SWF has been moved to a new location. And yes, it runs perfectly fine. I’ve run it at 60+ FPS with 7,000 particles, but that actually isn’t the limitation (unless your particles are crunching heavy math for eg movement). Rather it’s the size and number of… Read More »

Beware the rounding error (or “Avoiding Out of Range errors”)

October 26, 2009 1 Programming

When iterating through an array that was generated by some built-in function (such as getVector()), check to make sure you’re rounding the input first. If you get an “out of range” error but your code is fucking perfect, then it’s probably because the rectangle used as input by getVector is skipping a row of pixels… Read More »

AS3 to Pixel Bender guide

October 12, 2009 8 Discussions, Programming

When I set out to write a very simple Pixel Bender (PB) kernel/script thingy, I expected it to be relatively straight-forward, mostly because Adobe has been so good writing quality documentation for its products and/or there is a wealth of info on their products produced by their users. Unfortunately I didn’t find the dev guide… Read More »

Pixel transition

April 1, 2009 0 Experiments

UPDATE: This post is here for historical purposes. The SWF has been moved to a new location. What I wanted was a fast, seamless way to transition from clickable thumbnail on a zui canvas while dynamically loading the content of whatever the thumbnail represented. I just loved the idea of loading content while zooming into… Read More »