Skip to main content

EquirectProjection

import { EquirectProjection } from "@egjs/view360";

EquirectProjection (Equirectangular Projection) is a projection that is used to display panoramic images in the form of spheres.
Typically, the image used in EquirectProjection looks similar to the image below.

equirect

When you use EquirectProjection to display the image above, it looks like this.

{
projection: new EquirectProjection({
src: "/pano/equirect/equi_4096.jpg",
})
}