Introduction to YCanvas

Hello YCanvas, who are you? I am an open source ActionScript 3 library that provides stage3D (GPU) engine for perfectly overlapping grid based zooming projects like world maps or onBoard. What? Ok, I am the engine that statnds behind onBoard, and I can handle much more. I can implement Wall Of Fame, WebCanvas, MapQuest, ArcGIS, Open Street Map or do some experiments like Flickr gallery, all this in one flash, few lines (10-20) of specific code per mode, all running at 60 FPS. Anyhing else would you like to see implemented? Just let me know… Do you want to know more and see it in action?

Enough talking, now impress me!

This is YCanvas explorer demo (run fullscreen), you can find sources on repository.

There is also simpliest possible implementation of YCanvas available with sources as well.

FAQ:

Q: Can you run on mobile/AIR?
A: Comes hand in hand with Stage3D available in AIR for mobile.

Q: Can you run google maps?
A: Technicaly yes, on AIR there is no problem at all. In case of Flash Player, however, engine uploads BitmapData to graphic cards, in order to upload it you need the access that would be granted via crossdomain.xml, and unfortunately google maps domains do not serve one.

Q: What are the requirements?
A: wmode=direct, flash player 11.1

Q: Do you have a CPU fallback in case there is no GPU available
A: Not yet.

Q: Do you have a support for moving, rotating, zooming?
A: The YCanvas api lets you set all of these manualy, or you can use available util classes in case you want to rotate around specific point or zoom to specific place. Checkout demo and explorer sources in repository.

Q: Do you have multi touch support, gesture suppport?
A: Yes, have a look at ApplicationRemotair in sources. You can use two finger gestures to move, rotate, scale.

Q: Do you have implementation for drawing?
A: Yes! Any display object on stage can be applied/drawn as simple as by calling one function. Read more in asdoc.

Q: I like it and I want to support. How?
A: Cool, feel free to donate via PayPal here. Thank you.

2 comments so far

  1. [...] [...]

  2. [...] the same time I released YCanvas, I have spotted an interesting starling experiment. I realized I can do this for YCanvas easily [...]

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes