Tuesday, June 5, 2012

Shaken not stirred..

Work on the Motion Detection continues at a good rate.

I have completed the Shake to Refresh for Album mode. When a shake is detected, the cube and floating panels quickly shrink into the screen, and then swiftly restore back to their original size with the newly refreshed pictures. The time for this operation will depend on the speed of the phone, but is usually less than a second. Looks very cool!

Jerking the phone left or right now gives the cube a bit of extra spin in that direction. That took a good bit of working out, particularly because the direction depends of course on how the phone is held, working out which way is really "right" or "left" can vary enormously, particuarly on newer devices like tablets, which can have 4 distinct orientations, not just landscape and portrait.

Today got the maths working for the 3D background effect, the phone now seems like a window on the background, tilting it left or right shows the background from another angle, as if you were walking past a window and looking out, the view through the window would change. A very subtle, cool effect, but I need to make it super smooth, its still a bit jerky. I think a day or two more for that.

Then need to extend the jerking effect to give the cube a bounce off the "walls" of the phone.

All this new Motion Detection stuff will be in a major new 3.0 release. I want to do a nice Settings screen, with nice previews of the effects.

Last night I did a quick bug fix release 2.5, to fix a few issues that had come up from Album mode, mostly from when users had only a single picture in an SD card album.





No comments:

Post a Comment