All examples · Meshes and 3D · As Markdown, for AIs

Pictures on shapes

What this example shows

Shapes made with createGeometry from corners and triangles alone, their picture places worked out by name: 'box' for the building and the rock, 'cylinder' for the barrel, 'sphere' for the ball and 'planar' for the floor. Where two faces want one corner at two places of the picture, the engine splits it.

Press space to lay the bricks stretched once over the building, or by the shape's own units with uvScale, where the long wall and the short one get bricks of one size. The floor is laid by its own units too, so its tiles stay put while the swell moves it.

Starting
Starting
—