how to make a rotatable globe like github [closed]

Can someone tell me how the github globe were made that is in the bottom of the welcome page? Because I viewed the code and it was a mp4 video and I can’t figure out how they made it so you can rotate it.enter image description here

I tried using three js but it takes too long to load because the code is too long, and I want it to load quickly.