plane = {
let x = 100, y = 100;
const planeGeometry = new THREE.PlaneGeometry( 2, 2, x, y );
const planeMaterial = new THREE.MeshPhongMaterial( {color: 'white', shininess: 2024, side: THREE.DoubleSide, wireframe:false} );
for(let i=0; i<=x; i++){
for(let j=0; j<=y; j++){
const n = i*(x+1)+j;
const xx = (2*i-x)/x;
const yy = (2*j-y)/y;
const r = Math.random()*0.05;
planeGeometry.vertices[n].z = (xx*xx - yy*yy) + r;
}
}
planeGeometry.computeFaceNormals();
planeGeometry.computeVertexNormals();
return new THREE.Mesh(planeGeometry, planeMaterial);
}