Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antv/g

Package Overview
Dependencies
Maintainers
0
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g

A core module for rendering engine implements DOM API.

  • 6.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
52K
decreased by-12.92%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 28 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc