Plugin jQuery: HexaFlip: A Flexible 3D Cube Plugin with CSS3 & JavaScript

HexaFlip: A Flexible 3D Cube Plugin with CSS3 & JavaScript
http://www.jqueryrain.com/?http://tympanus.net/Tutorials/HexaFlip/
http://tympanus.net/codrops/2013/03/07/hexaflip-a-flexible-3d-cube-plugin/
09/03/2013

Nội dung

HexaFlip: A Flexible 3D Cube Plugin with CSS3 & JavaScript

HexaFlip is a JavaScript UI plugin that let’s you use 3D cubes as interface elements. Dive into the process of creating the plugin and learn some best practices regarding flexible UI plugins.

I originally developed a simpler version of HexaFlip for an iPhone app I built called ChainCal where it served as a time-picker interface for setting alarms. Most mobile time-picker widgets are fashioned after a dial, but I reasoned that rotating cubes would serve for a more unique and memorable experience. As we all know, a cube has six (i.e. “hexa”) faces, but when rotating it around a single axis, we only have four to work with (front, top, back, and bottom). Thus if we built a cube interface using CSS alone, our interface would be limited to four options per choice. HexaFlip solves this issue and playfully challenges the user’s expectations by allowing the cube to cycle over a list of any length.


Nguồn: www.jqueryrain.com/2013/03/hexaflip-a-flexible-3d-cube-plugin-css3-javascript/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận