@antv/g
A core module for rendering engine implements DOM API.
Last updated 3 years ago by panyuqi .
MIT · Repository · Bugs · Original npm
$ cnpm install @antv/g 
SYNC missed versions from official npm registry.

English | 简体中文

The graphics and event system is compatible with the DOM Element & Event API, and the animation system is compatible with the Web Animation API, so it can be adapted to existing Web-side ecologies such as D3, Hammer.js gesture library, etc. at a very low cost.

The usage is as follows, providing the following core objects and APIs.

import { Canvas, Circle } from '@antv/g';

It is necessary to work with Renderer to draw the graphics out.

Canvas

https://g-next.antv.vision/en/docs/api/canvas

Camera

https://g-next.antv.vision/en/docs/api/camera

DisplayObject

https://g-next.antv.vision/en/docs/api/basic/display-object

Events

https://g-next.antv.vision/en/docs/api/event

Animation

https://g-next.antv.vision/en/docs/api/animation

Inspired by

Current Tags

  • 5.8.5                                ...           latest (3 years ago)

8 Versions

  • 5.1.8-alpha.1                                ...           3 years ago
  • 5.8.5                                ...           3 years ago
  • 5.0.6                                ...           4 years ago
  • 1.0.0-alpha.37                                ...           4 years ago
  • 2.0.7-beta.6                                ...           7 years ago
  • 3.5.0-beta.6                                ...           5 years ago
  • 3.4.10                                ...           5 years ago
  • 3.3.6                                ...           6 years ago

Copyright 2013 - present © cnpmjs.org