# Point Clouds

Open the source tree to the PointCloudDemo.

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Fe2b3b6157da9ba63775e37a544a8fb4bde0af396.png?generation=1606735223912962\&alt=media)

The core of creating a point cloud is quite simple. Here we create 100 points at random positions in the range of `(-0.5, -0.5, -0.5)` to `(0.5, 0.5, 0.5)`.

Then we add the collection of points to the scene with a point size of `50`

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2F69f66a10cb7ab5826e55569c13045f44decd5b52.png?generation=1606735223606018\&alt=media)

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Ff1aaff07e7b4d765b98b5b891014b1102c44731a.png?generation=1606735344992216\&alt=media)
