Creates an immersive 3D background.
panorama()
transforms images containing 360˚ content, such as maps or HDRIs, into immersive 3D backgrounds that surround a sketch. Exploring the space requires changing the camera's perspective with functions such as orbitControl() or camera().
Examples
Syntax
panorama(img)
Parameters
img
p5.Image:
360˚ image to use as the background.
This page is generated from the comments in src/webgl/light.js . Please feel free to edit it and submit a pull request!