WebP decoder for Flash.

Nothing much here, but I thought I’d share a handy little library to decode WebP in Flash. Here’s two demo’s : Lena and V for Vendetta, both encoded using the webp binaries provided here.

It’s a small wrapper around the WebP library ported with Alchemy. The port is pretty easy to do using Alchemy, aside from some issues with the Alchemy toolchain pretending to be a normal gcc toolchain; it enables some x86 asm code for cpu identification in the webp code, which obviously won’t work in Flash. After those issues are resolved getting up and running is easy.

However, I’d figure I’d post this as I have seen several requests for making webp work in Flash.

Although webp decoding isn’t there natively om the FlashPlayer, this should help you a long way. Read further for an example on usage and download of the swc.

As for this blog; due to time constraints I find myself not being able to update it regularly, even though I want to. Also, as I do a lot more tech then just Flash these days, I’m looking for a way to post experiments in other technologies, without the daunting task of making a full scale blogpost about it….more on that when I figured it out.

Continue reading

Posted in Uncategorized | 12 Comments

Unity3D & Flash

shadowgun in game

An image of ShadowGun a game made by Madfingers, using Unity.

If you wonder why it’s silent in here again; same old, same old; I’ve been busy. So many things happened this year, most of them very good. Workwise, I have joined the brilliant minds at Unity Technologies to work on further expanding the reach of Unity. Today is exiting, because over on the Unity blog, there is a first public sneak peek of our progress. Let us know what you think !

Posted in Uncategorized | 6 Comments

Jump Flood Voronoi for WebGL

A small experiment to familiarize myself a bit more with webgl&canvas and a quick post to show a this experimental WebGL toy. Video here and on the full post, Live demo for newer WebGL enabled browsers here. Code isn’t exactly production ready. Comments and compatibility notices welcome!

JFA Voronoi Paper by Guodong Rong and Tiow-Seng Tan.

Continue reading

Posted in Uncategorized | 4 Comments