In this example CircleDynamicallyFormable ( from the Collection of examples from discourse.threejs.org ) I had made a mistake, and since I had used side: THREE.DoubleSide, I had not noticed it. Since then I make sure to test only front and back. The note about the error is still in the code:
line 103
const setFace = ( ) => {
faceIndices[ idxCount ] = a;
//faceIndices[ idxCount + 1 ] = b;
//faceIndices[ idxCount + 2 ] = c;
faceIndices[ idxCount + 1 ] = c; // swapped here c and b
faceIndices[ idxCount + 2 ] = b; // otherwise, the geometry is backsided
idxCount += 3;
}
You can test the wrong variant.