CSS Source for shapes3.css
This is the CSS for the shapes page, a document with short text placed on
surfaces of various shapes. A light blue background would indicate a line
specific to 3D.
This is the third of three CSS files for the shapes.html page. This one has
the styles for the segmented 'Whatever' mesh on the lower left.
The mesh is defined in standard 3D terms, namely vertices, polygons made
up of those vertices, and texture coordinates, which define how the bitmap is stretched over
the polygons. These numbers would need to be generated by a 3D modeling tool.
#whatever {
vertices: 0 0 0
0 -0.32460732984293194 0
0.3193717277486911 0 0
0.15706806282722513 -0.32460732984293194 0
0.38219895287958116 0 0
... /* and so on... */
texcoord: 0 1
0 0
0.3193717277486911 1
0.15706806282722513 0
0.3193717277486911 1
0.15706806282722513 0
... /* and so on... */
polygons: 0 1 2
1 3 2
4 5 6
5 7 6
8 9 10
9 11 10
... /* and so on... */
};