Hi, today we like to make a simple black hole stimulation website. We have andromeda galaxy and horsehead galaxy for the sample run, you can change your loved galaxy image.
In this, we will control the camera view and make a gravitational lens view on the image, which looks like a blackhole enter on that universe, by this stimulation you can understand the light travel and universe collapse on the image corners.
To change the universe image, go to line 40 and change the res/”image name”
new THREE.TextureLoader()).load("res/andromeda.jpeg", function (texture)
Of-course its very basic stimulation look on web. You can use it on any of your website if they need or if you need to add some special effect on your site. Thankyou!