Coloring every point in Points with a different color

its what title says, is there a way to do that?

You can use vertex coloring for this. Please have a look at the code of the following example:

https://threejs.org/examples/#webgl_buffergeometry_points

hi mugen. i am a beginner when it comes to programming and i want to use Geometry instead of buffergeometry. can you tell me on this example please.

var pointGeometry = new THREE.Geometry();
pointGeometry.vertices.push( new THREE.Vector3( 0, 1, 0), new THREE.Vector3( 0, 2, 0), new THREE.Vector3( 0, 3, 0) );
			
var pointMaterial = new THREE.PointsMaterial( { color: 0x888888 , size: 0.15 } ); ///what to do here

pointOnGeo = new THREE.Points( pointGeometry, pointMaterial );

Hope, this one helps :wink:

https://jsfiddle.net/f2Lommf5/615/

BTW: Read the docs to learn more about Geometry: three.js docs