A 2d WebGL renderer,
the uniform below will be auto append to shader
uniform mat3 transform; // model transform matrix
uniform mat3 modelView; // modelView matrix
uniform float pixelRatio; //
uniform float ratio; // canvas width/height
such as:
vec3 mPosition = transform * modelView * vec3(position,1.);
you can use config.z to change the order of meshes
vec3 mPosition = transform * modelView * vec3(position,z);
npm i
npm run start
maybe it will be a new origin webgl skia-like lib