substrate

A high-speed three.js substrate for visualizing biofidelic data

View the Project on GitHub aplbrain/substrate

ObjLayer

Renders a .obj-formatted mesh from a string. For example,

let mesh = `
    v 0 0 0
    v 0 0 1
    v 0 1 0
    f 1 2 3
`;

new ObjLayer({
    getData: () => {
        return mesh;
    }
});