UNPKG

@thi.ng/geom-arc

Version:

2D circular / elliptic arc operations

94 lines (64 loc) 2.63 kB
<!-- This file is generated - DO NOT EDIT! --> <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files --> # ![@thi.ng/geom-arc](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-geom-arc.svg?f2269b4e) [![npm version](https://img.shields.io/npm/v/@thi.ng/geom-arc.svg)](https://www.npmjs.com/package/@thi.ng/geom-arc) ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/geom-arc.svg) [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi) > [!NOTE] > This is one of 212 standalone projects, maintained as part > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo > and anti-framework. > > 🚀 Please help me to work full-time on these projects by [sponsoring me on > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️ - [About](#about) - [Status](#status) - [Installation](#installation) - [Dependencies](#dependencies) - [API](#api) - [Authors](#authors) - [License](#license) ## About 2D circular / elliptic arc operations. This is a support package for [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom). ## Status **STABLE** - used in production [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bgeom-arc%5D+in%3Atitle) ## Installation ```bash yarn add @thi.ng/geom-arc ``` ESM import: ```ts import * as arc from "@thi.ng/geom-arc"; ``` Browser ESM import: ```html <script type="module" src="https://esm.run/@thi.ng/geom-arc"></script> ``` [JSDelivr documentation](https://www.jsdelivr.com/) For Node.js REPL: ```js const arc = await import("@thi.ng/geom-arc"); ``` Package sizes (brotli'd, pre-treeshake): ESM: 1.27 KB ## Dependencies - [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks) - [@thi.ng/geom-resample](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-resample) - [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/develop/packages/math) - [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors) ## API [Generated API docs](https://docs.thi.ng/umbrella/geom-arc/) TODO ## Authors - [Karsten Schmidt](https://thi.ng) If this project contributes to an academic publication, please cite it as: ```bibtex @misc{thing-geom-arc, title = "@thi.ng/geom-arc", author = "Karsten Schmidt", note = "https://thi.ng/geom-arc", year = 2018 } ``` ## License &copy; 2018 - 2025 Karsten Schmidt // Apache License 2.0