rect = function(v1, v2, v3, v4, material) {
const planeGeometry = new THREE.Geometry();
[v1, v2, v3, v4].forEach(v => planeGeometry.vertices.push(v));
planeGeometry.faces.push(new THREE.Face3(0, 1, 2));
planeGeometry.faces.push(new THREE.Face3(2, 3, 0));
planeGeometry.computeFaceNormals();
const plane = new THREE.Mesh( planeGeometry, material );
plane.rotation.set(disorder*Math.random(), disorder*Math.random(), disorder*Math.random())
return plane;
}