Showing posts with label Carousel. Show all posts
Showing posts with label Carousel. Show all posts

Tuesday, March 15, 2011

WPF 2D Image Carousel - CodeProject

Introduction

This article describes how I went about creating a 2D image carousel. The reason for creating it,... I just wanted to see if I could. I was actually watching a Blackberry Playbook video and I wondered whether I could create a carousel like control that replicated the carousel features in the video. The Playbook's though is more elegant and I may all but envy. My carousel UserControl, aptly named ImageCarousel, only deals with images and five images at that. Sad as that may be you'll hopefully pick up something useful from this article so read on if you're still interested.


WPF 2D Image Carousel - CodeProject
Enhanced by Zemanta

Friday, January 14, 2011

Android 3D Carousel - CodeProject

Introduction to article

For a while I was looking for 3D carousel control for Android platform. The only one I found was UltimateFaves at [1]. But as it turned out it uses OpenGL. And it’s not open source. I thought if it is possible to avoid a use of OpenGL. Continuing my investigations I stamped on Coverflow Widget at [2]. And it uses standard Android 2D libraries. So the idea was the same – to use Gallery class for the carousel. The Coverflow Widget just rotates images and I wanted to rotate all group of them. Well, at least it implies the use of simple trig methods. More complicated stuff goes with the Gallery class. If you’d look through the article about Coverflow Widget at [3] you’d see a bunch of problems, such as unavailability of default scope variables in AbsSpinner and AdapterView classes. So I went the same way and rewrote some classes. And the Scroller class will be replaced by the Rotator class wich looks like Scroller but it rotates the group of images.


Android 3D Carousel - CodeProject
Enhanced by Zemanta