UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

5 lines (3 loc) 182 B
import {Texture} from 'three' export const whiteImageData = new ImageData(new Uint8ClampedArray([255, 255, 255, 255]), 1, 1) export const whiteTexture = new Texture(whiteImageData)