What is G and its core features?
masterG is a high-performance 2D/3D graphics rendering engine used by AntV. It provides a consistent API across multiple underlying rendering technologies including Canvas2D, SVG, WebGL, WebGPU, CanvasKit, and Node.js.
Key Features:
- Compatible API: Graphics and event systems are compatible with DOM Element & Event API; animation system is compatible with Web Animations API.
- Multi-environment Support: Supports runtime switching between renderers and server-side rendering.
- High Performance: Includes WebGPU-based GPGPU support for parallelizable algorithms in graph scenarios.
- Extensible Plugin System: A rich ecosystem of plugins for rendering, picking, interaction, physics, layout, and more.