> Learn how to create meshes with the createLathe method.

Source: https://doc.babylonjs.com/features/introductionToFeatures/chap6/fountain

# Getting Started - A Lathe Turned Fountain

## A Lathe Turned Fountain

Time to introduce another of the many ways to create a mesh: the *CreateLathe* method. We start with a profile for the fountain.

![profile](https://doc.babylonjs.com/img/getstarted/profile.webp)

The profile is described, in an array, using the x and y components of a 3D vector.

```javascript
const fountainProfile = [
	new BABYLON.Vector3(0, 0, 0),
	new BABYLON.Vector3(10, 0, 0),
	new BABYLON.Vector3(10, 4, 0),
	new BABYLON.Vector3(8, 4, 0),
	new BABYLON.Vector3(8, 1, 0),
	new BABYLON.Vector3(1, 2, 0),
	new BABYLON.Vector3(1, 15, 0),
	new BABYLON.Vector3(3, 17, 0)
];
```

The array is used in the shape property of the options parameter in the *CreateLathe* method.

```javascript
const fountain = BABYLON.MeshBuilder.CreateLathe("fountain", {shape: fountainProfile, sideOrientation: BABYLON.Mesh.DOUBLESIDE}, scene);
```

As before, the scene parameter is optional. In this case, the mesh is set to double-sided because the inside is visible due to the slope at the top and the hollow middle.

- [Playground: Basic Lathe Fountain](https://playground.babylonjs.com/#TC31NV#3) - Use the createLathe method to create a fountain.

With appropriate scaling and positioning, this is added to the village.

- [Playground: Add the Fountain](https://playground.babylonjs.com/#KBS9I5#91) - Add the fountain into the village.

A fountain without a spray of water is a little boring, so we simulate the spray with particles.
