Rectangular GridHelper possibility

Hello discourse.threejs.org Friends,

It may be interest to have a particular GridHelper.

Here:

https://jrlazz.eu5.org/nana/rectgrid.html

Thanks for the great Three.js Team!

José Roberto Lazzareschi

PS: Basically this part is the rect. grid code…

var plane=[];
var qty=6;
var hz_qty=20;
var vt_qty=10;
var half_hz=(qty*hz_qty)/2;
for(let p=1;p<=qty;p++){
	plane[p]=new THREE.GridHelper(hz_qty,vt_qty,'#666','#666');
	plane[p].position.set(-half_hz+(hz_qty*p)-hz_qty/2,0,0);
	scene.add(plane[p]);
}
1 Like