Open Street Maps Experiments Take Two…

Saturday, February 27th, 2010
OSM Mapped to a 3D Plane with as3Dmod

OSM Mapped to a 3D Plane with as3Dmod

Building on my first experiment with OpenStreetMaps and Away3D, I decided to cook up two more!

The first one uses a block grid to display the map in 3D space. On zoom the blocks rotate 360. I used the ModestMap TweenMap, displayed in on the left, to allow control and capture the map’s bitmap data.

The second example uses a 3D plane to display the map’s data. I added a Perlin deformation with as3Dmod to create a wave or fabric like floating look.

The stats shows a rapidly increasing memory usage due to ModestMaps’ tile caching (defaults to 256 tiles). Once I have it cleaned up, I will upload the source code for these :)

I like HYPE

Friday, February 19th, 2010
Demo on HYPE's blog

Demo on HYPE's blog

Last night, while waiting for the London Flash Designer and Developer Meetup to start, I decided to create a demo using HYPE and Away3DLite. It is nice to be able to just tinker with complex renderings using very little code and focus on visuals.

In this demo Away3DLite is used to render 900 cubes and animate the camera. HYPE processes the sound being streamed (Magenta) and resizes the cubes accordingly. Two Bitmap Canvas are used to display the 3D rendering of Away3DLite. One is used to create the blur trail. The actual code needed to render this is less the 40 lines. The rest is AS3 structure.

Using frameworks like HYPE and Away3DLite allows us to go back to the innocent days of AS2 and use code as a pure creative enabler. That’s probably why I was a bit thrown off when another attendant of the meeting said he didn’t like using frameworks, which is ironic for a Flex developer.

I don’t think people appreciate how lucky we are to have open source frameworks like these available. Well, I do! Thank you for all your hard work. Please check out HYPE and Away3D for some serious fun!

Click here to view the demo.

Click here for the source code.

Using OpenStreetMap and Away3D

Thursday, February 11th, 2010
OpenStreetMap... The solution to Google's limitations

OpenStreetMap... The solution to Google's limitations

It was with much disappointment that I discovered Google would not allow us to manipulate its map tiles with Flash bitmap processing. Thus limiting greatly what is possible visually with the look and feel of their maps. Of course that also means no Away3D, PV3D, etc…

I managed to customize the look of Google Maps by using Tweener’s de-saturation feature to render the map tiles in Black and White. Many have posted on the Google Maps API bug reports and feature requests. Google is afraid that we would harvest their tiles and does not want to put a cross domain policy file.

I decided to revisit the issue and to look for alternate services that would allow such use. Of couse no luck with Yahoo! and Microsoft, just like Google, they want to protect their tiles.

But behold the power of open source: OpenStreetMap.org and ModestMaps. Using the Flash API from ModestMaps for openstreetmap and Away3D, I was able to map the maps onto a cube and have it renders beautifully. OpenStreetMap allows you to go trigger happy with their tiles, just as long as you add their security policy file to you project (see the source code). You can even download the tiles for offline use!

February’s Landing Page Experiment: Roaming

Monday, February 8th, 2010
Little Cubes Roaming Around...

3D Cubes Roaming in Away3D

Though a bit late, this month’s experiment builds on last month setup and adds a bit of AI. Cubes now roam and avoid each other when near collision. A very basic detection system using a vector and couple of recursive functions. All calculations are made using Away3D’s functions like distanceTo() and movement is handled by moveForward(). The newer post are represented by bigger cubes. The icons are from PJ Onori’s excellent iconic.

Click here to view this experiment. Source code can be viewed here.

Update: For Valentine’s Day here is a special version and its source code.

It’s a Puzzle! It’s a Maze!

Tuesday, January 19th, 2010
3D render of a maze with hedges

3D render of a maze with hedges

A few 3D renders, mostly exploration around Puzzles, Mazes and Transparency. My favorite, the one with actual vegetation didn’t make the cut :(

January’s Landing Page Experiment

Tuesday, January 19th, 2010
Randomized 3D Layout using Coordy and Away3D

Randomized 3D Layout using Coordy and Away3D

New year, new homepage! My new year’s resolution: Publish a new experiment every month… And update this blog more often!

This month it is using a newly discovered layout API called Coordy. The 3D is rendered using Away3D and tweens are handled via TweenMax. For coloring the cube I draw a random feed from the Kuler API and the blog data is a custom RSS Feed from my WordPress blog.PureMVC was used to structure the application. Coded in Flash Builder Beta 2 and designed in the Flash IDE.

Update: Added a new component: as3sfxr. This is a Flash 10 library to dynamically generate sounds for classic arcade games. It even included a random function!

Update: Souce code here.

Sound Spectrum Rendering

Tuesday, September 15th, 2009
Sound Spectrum Rendered using Awa3DLite

Sound Spectrum Rendered using Awa3DLite

Using Flash I generated animated sound spectrum renderings and edited them into two videos. The second video uses the new Away3DLite framework for Flash player 10. Amazingly the swf came in at 28kb and the framerate is great!

First video:
A 2D rendering using bars, circles, blur filters all rendered to a bitmap.

Second video:
3D renderings using Away3DLite and 484 cubes :)

Flash 3D Interactive video montage

Tuesday, August 18th, 2009
Video of interactive 3D projects

Video of interactive 3D projects

While going through some of the recent interactive 3D work I produced, I thought it would be nice to create a video showcase. I also wanted to explore the workflow for capturing and editing these flash projects in action. Music is by Danger.

Chad’s Eternal Beta Site…

Thursday, August 21st, 2008
Tokyo Starfish likes Chad...

Tokyo Starfish likes Chad...

Happy Birthday Chadster!

Chad and I have been trying to create his site for a looooooong time. I know we will eventually get it done… In the mean time I wanted to post some of the beta tests:

Old Beta: AS2. Neat little slide mechanism for the sections.

Latest Beta: AS3, Away3D…

Stop the Haze

Thursday, March 29th, 2007
Photoshop fun.. Unused :(

Photoshop fun.. Unused :(

As STC expended to Singapore, we were asked by a local non-profit to create elements to support their effort. This included evites, a small site, events support, etc…

For the site we used my slidy navigation script I had developed for my friend Chad’s site.

I also used my simple Z order script to develop animations to play on LCD TVs during various events. Another test using this simple z depth implementation.