
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@antv/coord
Advanced tools
$ npm install @antv/coord
import { Coordinate, Options } from '@antv/coord';
const optons: Options = {
x: 0,
y: 0,
width: 500,
height: 500,
transformations: [['cartesian']]
};
const coord = new Coordinate(options);
coord.transform('translate', 10, 10);
coord.map([0.5, 0.5]); // [260, 260]
coord.getSize(); // [500, 500]
coord.getCenter(); // [250, 250]
$ git clone git@github.com:antvis/coord.git
$ cd coord
$ npm i
$ npm t
Then send a pull request after coding.
MIT@AntV.
d3-geo is a module of D3.js that provides geographic projections and transformations. It is widely used for creating maps and handling geographic data. Compared to @antv/coord, d3-geo is more specialized in geographic coordinate systems and projections.
proj4 is a library for performing cartographic transformations. It supports a wide range of coordinate reference systems and is commonly used in GIS applications. While @antv/coord focuses on general coordinate systems, proj4 is more specialized in cartographic transformations.
gl-matrix is a high-performance matrix and vector library for WebGL. It provides functions for matrix and vector operations, which can be used for coordinate transformations. Compared to @antv/coord, gl-matrix is more low-level and general-purpose, suitable for 3D graphics applications.
FAQs
Toolkit for mapping elements of sets into geometric objects.
We found that @antv/coord demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 67 open source maintainers collaborating on the project.
Did you know?

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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.