A three.js material that turns any mesh into light. Drag to turn, scroll to zoom. Source in js/holo-material.js; the rest of the library is on the main page.
one mesh, one materialdrag to turn, scroll to zoom
Loading the surface
Three calls. The bounds are read from the object after it is placed, so apply the material last.
import { makeHologramMaterial, applyHologram, tickHologram }
from "./js/holo-material.js";
const holo = makeHologramMaterial({ color: "#7EE0FF" });
applyHologram(mesh, holo); // after mesh is positioned and scaled
// each frame:
tickHologram(holo, timeInSeconds);