Group transform is out of order. It does not transform the group but the elements. This leads to the suspicion that position and rotation are not transformation chains on object trees but attributes. That would be the wrong architecture.
I am very sorry, but please explain. Why is this a nice looking Svelte / Three / CSG app, but the basics are wrong?
Someone built something useful and you complain that it's "nice looking"? Consider reframing your feedback.