> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to generate random patterns on the surface of a part

## Objective:

There are many ways to generate random textures on the surface of an object with nTop. This tutorial explains a straightforward technique that allows you to map a random array of any shape on any part's surface. You can also perform this workflow using [this technique.](/help-articles/knowledge-base/textures/how-to-add-texture-to-a-surface-using-random-points) We suggest experimenting with each technique to find the best workflow for your application.

## Applies to:

* Surface texturing
* Implicit modeling

## Procedure:

1. Start with any implicit body.
2. Using the **Mesh from Implicit Body** block, create a surface mesh of your start part.
3. Generate the points with **Random Points on Mesh**.
4. Create an implicit body as the seed object to duplicate on the surface.
5. Create a plane at the centroid of the seed object.
6. Create a list of random planes using the list of random points.
7. Use the **Orient Object** block to create the array of objects.

![The Orient Object block being used to place 3000 spheres at planes on the surface of a body.](https://files.learn.ntop.com/help-articles/textures/1500004848761.png)

8. **Merge Meshes** to join the list into a single object.
9. Convert the merged mesh object to an implicit object.
10. Utilize a Boolean operation to apply the texture to the part.

![A body with dimples applied. The dimples are created by subtracting the surface spheres from the original body.](https://files.learn.ntop.com/help-articles/textures/1500004713462.png)

And that's it! You've successfully generated a random pattern on the surface of the part!

## Download the Example file:

* [Example file](https://files.learn.ntop.com/Support%20Article%20Example%20Files/Knowledge%20Base/Textures/Random%20Pattern%20on%20Part%20Example.ntop)

## Keywords:

*texture pattern random how-to orient surace*
