Skip to main content

EquiangularProjection

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

EquiangularProjection is a projection type based on EquiAngular Cubemap (EAC).
EAC is a format that is usually used in YouTube videos, and generally looks like this:

eac

Displaying the image above with the EquiangularProjection is as follows:

{
projection: new EquiangularProjection({
src: "/pano/eac/eac.jpg",
})
}

Another example, also check Original YouTube video.

{
projection: new EquiangularProjection({
src: "/pano/eac/bathroom.mp4",
video: true,
})
}