A 2d WebGL renderer,
- support point,line,face,instanceMesh and custom shader
- support canvas transform & controller
- support webGL2.0
- use glMatrix as matrix library
- support DragonBones animation
- basic shape
- point
- line
- image
- shader
- InstanceMesh(webGL2)
- DragonBones animation
- game
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