UNPKG

1.05 kBMarkdownView Raw
1English | [简体中文](./README-zh_CN.md)
2
3The graphics and event system is compatible with the DOM Element & Event API, and the animation system is compatible with the Web Animations API, so it can be adapted to existing Web-side ecologies such as D3, Hammer.js gesture library, etc. at a very low cost.
4
5The usage is as follows, providing the following core objects and APIs.
6
7```js
8import { Canvas, Circle } from '@antv/g';
9```
10
11It is necessary to work with [Renderer](https://g-next.antv.vision/en/docs/api/renderer/renderer) to draw the graphics out.
12
13### Canvas
14
15https://g-next.antv.vision/en/docs/api/canvas
16
17### Camera
18
19https://g-next.antv.vision/en/docs/api/camera
20
21### DisplayObject
22
23https://g-next.antv.vision/en/docs/api/basic/display-object
24
25### Events
26
27https://g-next.antv.vision/en/docs/api/event
28
29### Animation
30
31https://g-next.antv.vision/en/docs/api/animation/waapi
32
33## Inspired by
34
35- [Sprite.js](https://github.com/spritejs/spritejs)
36- [Theia 中的服务和扩展点](https://theia-ide.org/docs/services_and_contributions)