
    // group.appendChild(el);
    group.appendChild(el2);
    group.appendChild(path);
    group.appendChild(l);
    group.appendChild(p);

    group.attr({
      transformOrigin: [256, 256],
    });

    fglayer.appendChild(group);

    function update(t) {
      group.attr({
        transform: `rotate(${0.1 * t})`,
      });
      // requestAnimationFrame(update);
    }

    update(0);

    path.addEventListener('click', (e) => {
      console.log(e, e.currentTarget);
      e.stopPropagation();
    });

