Haxe procedural sprite generator