 = 1;
          i++;
        }
        return { ...data, row: i, col: j++ };
      });



      let camera, scene, renderer;
      let controls;

      const objects = [];
      const targets = { table: [], sphere: [], helix: [], grid: [] };

      init();
      animate();

      function init() {
        camera = new THREE.PerspectiveCamera(
          28,
          window.innerWidth / window.innerHeight,
          1,
          10000
        );
        camera.position.z = 3600;

        scene = new THREE.Sc