Insert three.js into a CMS?

Hello! I have written a three.js based code that shows me the inside of a sphere with a 360 ° photo mapped on it. Now I want to display it as background of a wordpress page. Is this very hard to do? I read here I have to host the code somewhere else and then embed it but I didn’t quite understand. Would be great if someone could explain to me how to do this roughly.

Many greetings,
Deniz