In this section, we’ll be focussing on the helpers/general/points.ts and it’s helper helpers/general/transformations.ts file.
To understand this section, we need an intro to the THREE.Points class.
Points is a class which creates a mesh object based on a collection of 3D points.
It's particularly useful for rendering particle systems, star fields, or any other scenarios where you need to display a large number of individual points in 3D space. Each point can be customized with properties like size, color, and texture, allowing for versatile and efficient rendering of point-based geometries.
Let’s take a look and some cool pieces using the Points class and try to recreate them!
https://threejs.org/examples/?q=points#webgl_points_waves