- Add docs for API and supported Canvas2D features.
- Add overloaded context methods for 3D space (adding
z
parameter tomoveTo
,lineTo
,translate
...). - Add example for 3D space and perspective projection.
- Use Uint32Array for elements if buffer size exceeds 16 bit limit and extension is enabled.
- Add method to destroy/release all resource buffers.
- Fix viewport relative
thickness
. - Allow custom vertex and fragment shader input (as well as other draw command parameters).
- Export vertex transform GLSL method for custom vertex shaders.
- Add example for custom shaders.
- Add support for
fill
in 2d mode (will require separate resources and shader). - Allow intermediate
lineWidth
changes (divergent from Canvas2D behavior, but a nice feature).
- Investigate memory optimizations for line start / end position duplication.
- Add parameter for configuring segment precision (for
arc
). - Fix UV coordinates for skewed/mitered edges.
- Allow creating a
fill
without astroke
.