摘要 |
Approaches enable three-dimensional (3D) display and interaction with interfaces (such as a webpage, an application, etc.) when the device is operating in a 3D view mode. For example, interface elements can be highlighted, emphasized, animated, or otherwise altered in appearance, and/or arrangement in the renderings of those interfaces based at least in part on an orientation of the device or a position of a user using the device. Further, the 3D view mode can provide for an animated 3D departure and appearance of elements as the device navigates from a current page to a new page. Further still, approaches provide for the ability to specify 3D attributes (such as the appearance, action, etc.) of the interface elements. In this way, a developer of such interfaces can use information (e.g., tags, CSS, JavaScript, etc.) to specify a 3D appearance change to be applied to at least one interface element when the 3D view mode is activated. |
主权项 |
1. A computing device, comprising:
a display screen; at least one computing device processor; a memory device including instructions that, when executed by the at least one computing device processor, enables the computing device to:
determine a relative position of a user with respect to the computing device;display a two-dimensional representation of a webpage on the display screen of the computing device, the webpage including a plurality of interface elements;detect a change in orientation of the computing device with respect to the relative position of the user;activate a three-dimensional view mode for the webpage in response to the change in orientation of the computing device; anddisplay a three-dimensional representation of at least a subset of the plurality of interface elements while the webpage is displayed in the three-dimensional view mode, wherein the three-dimensional representation of at least one of the plurality of interface elements is displayed to appear closer to a surface of the display screen than at least one other interface element of the plurality of interface elements. |