Just released v0.2.5 of inkface. In this release the Evas backend was implemented for inkface. (the one that drives Canola) I wrote the classic twitter app, using this new backend. Here are some screenshots.
This is the panther theme.
This one is the default theme.
Evas has an optimized backend canvas that does smooth animations even on devices like n810 and Openmoko Freerunner, which do not have h/w accelerated graphics. I have run above app on my Freerunner and the scrolling is definitely smoother than pygame. However, I have found that scrolling is the most expensive kind of animation, because in it the entire screen's contents are changed in two consecutive frames. Therefore even evas gets slower at some point. However if it is a case of small icon to be moved around, it will appear very smooth with evas.
I was again targetting this one for Maemo, but at last moment I hit a problem. For some reason on maemo there is some incompatibility of colorspace encoding (ARGB formats), between cairo and evas, so it won't render the cairo surfaces properly. Overall, the python-evas 0.3 module is not well documented and there are many quirks, so I couldn't get few things to work. I will come back to them later in future.
In summary, this opens a path to design canola like applications using inkface.
Sunday, April 12, 2009
Subscribe to:
Post Comments (Atom)
2 comments:
how about using pyclutter instead of pygame as the backend for canvas?
Yes, pyclutter has been used with inkface. You can find some basic tests here
Back then, the python bindings for clutter were not up-to-date because clutter team was busy releasing clutter 1.0. I don't know what's the status quo now. I am not active on this project these days, but the basic code can be found at above link and elsewhere in the repository.
Post a Comment