@antv/g
TypeScript icon, indicating that this package has built-in type declarations

6.0.2 • Public • Published

English | 简体中文

The 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.

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/waapi

Inspired by

Readme

Keywords

Package Sidebar

Install

npm i @antv/g

Weekly Downloads

44,552

Version

6.0.2

License

MIT

Unpacked Size

1.69 MB

Total Files

10

Last publish

Collaborators

  • lvisei
  • yisi.wang
  • basketduck
  • biupiubiupiu
  • flash1
  • dreammy23
  • laixingui.lxg
  • zhangjunjie-loki
  • rainy25ghz
  • zeyuwang
  • yanxiong
  • susiwen8
  • freestyle21
  • soundquiet
  • elaine.q.10
  • sturuby
  • sakuya223
  • serializedowen
  • xdzhao
  • yangzhanmei
  • wjgogogo
  • leungwensen
  • dori
  • iaaron
  • yard
  • simaq
  • dxq613
  • intchous
  • susan_ann
  • jinke.li
  • lzxue
  • army8735
  • atool
  • baizn
  • dengfuping
  • neoddish
  • jeffy2012
  • zqlu
  • afc163
  • pomelo-nwu
  • kopiluwaky
  • ccnuzindex
  • panyuqi
  • bubkoo
  • zengyue
  • kasmine
  • boyu.zlj
  • l1ud0ngq1
  • newbyvector
  • winniexing
  • chenluli
  • kn9117
  • xdddst
  • semious2020
  • esora
  • nadia_liu
  • bbsqq
  • mxz96102
  • openwayne
  • pearmini
  • pddpd
  • yiqianyao
  • zhanba
  • cxxxxxn
  • xcf(-_-)
  • siqishen
  • boyyangzai