Main class Points, this is the entry point of an application with this library.

Source:
points.js, line 17
Example
import Points from 'points';
const points = new Points('canvas');

let renderPasses = [
    new RenderPass(vert1, frag1, compute1),
    new RenderPass(vert2, frag2, compute2)
];

await points.init(renderPasses);
update();

function update() {
    points.update();
    requestAnimationFrame(update);
}

Classes

RenderPass
RenderPasses
ShaderType

MIT

Documentation generated by JSDoc 4.0.4 using Docolatte theme on