Patent ID: 9053581
Filing Date: 2015-06-09
Classification: G06T

Abstract:
1. A method for rendering elements in a browser, comprising: determining a first element and a line grid element to be rendered in three dimensions (3D) in the browser, wherein the browser is configured to treat individual elements as having independent 3D spaces in the browser; transforming and projecting the first element into a 3D space for the browser in which lines of the line grid element will be drawn; wherein transforming and projecting the first element comprises: determining, based on a document object model, a hierarchical structure of elements including the first element, wherein each element in the document object model is a 3D object associated with a respective independent 3D space in the browser; and traversing the hierarchical structure to transform and project the first element into the 3D space associated with a next element in the hierarchical structure; determining geometry information for the first element in the 3D space after the transform and projection into the 3D space; calculating, by a computing device, in the 3D space, one or more positions to hide one or more lines of the line grid element based on the geometry information for the first element and geometry information for the one or more lines of the line grid element; and rendering the one or more lines in the 3D space in the browser, wherein portions of the one or more lines are hidden based on the calculated one or more positions.