Public
Edited
Oct 31, 2023
3 forks
Importers
Also listed in…
CAP 4720 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md`### Shaders and ProgramInfo`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
FileAttachment("cubemaps_skybox.png").image()
Insert cell
FileAttachment("parkCubeMap.jpg").image()
Insert cell
cubemapImages = cubeimagesCroppedFromHCrossShape(testurl, 128)
Insert cell
cubemap1bimages = cubeimagesCroppedFromHCrossShape(
await FileAttachment("parkCubeMap.jpg").url(),
104
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cubemap3 = twgl.createTexture(gl, {
target: gl.TEXTURE_CUBE_MAP,
flipY: false,
src: [px1, nx1, py1, ny1, pz1, nz1],
min: gl.LINEAR_MIPMAP_LINEAR
})
Insert cell
px1 = getImageData(await FileAttachment("right.jpg").blob())
Insert cell
nx1 = getImageData(await FileAttachment("left.jpg").blob())
Insert cell
py1 = getImageData(await FileAttachment("back.jpg").blob())
Insert cell
ny1 = getImageData(await FileAttachment("front.jpg").blob())
Insert cell
nz1 = getImageData(await FileAttachment("front.jpg").blob())
Insert cell
pz1 = getImageData(await FileAttachment("back.jpg").blob())
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more