From what I see on the GIF, I agree with @D13, that there are many boxes Thus, combining InstancedMesh and this approach for box edges, I’ve got this:
InstancedMesh