Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lace/hyla
Immutable 2D and 3D computational geometry in TypeScript
https://github.com/lace/hyla
2d-geometry 3d-geometry computational-geometry geometry polyline
Last synced: about 1 month ago
JSON representation
Immutable 2D and 3D computational geometry in TypeScript
- Host: GitHub
- URL: https://github.com/lace/hyla
- Owner: lace
- License: bsd-2-clause
- Created: 2021-06-07T15:53:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T19:53:43.000Z (5 months ago)
- Last Synced: 2024-11-01T11:37:30.746Z (about 2 months ago)
- Topics: 2d-geometry, 3d-geometry, computational-geometry, geometry, polyline
- Language: TypeScript
- Homepage:
- Size: 361 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# hyla
[![version](https://img.shields.io/npm/v/hyla?style=flat-square)][npm]
[![license](https://img.shields.io/npm/l/hyla?style=flat-square)][npm]
[![build](https://img.shields.io/circleci/project/github/lace/hyla?style=flat-square)][build]
[![code style](https://img.shields.io/badge/code_style-prettier-ff69b4?style=flat-square)][prettier][npm]: https://npmjs.com/hyla/
[build]: https://circleci.com/gh/lace/hyla/tree/main
[prettier]: https://prettier.io/Immutable 2D and 3D computational geometry library in TypeScript.
The goal of this library is to provide lightweight implementations of primitives
like planes, polygonal chains, and axis-aligned bounding boxes, along with
geometric operations.It aims to be efficient and avoid unnecessary copies. So far there have been no
attempts to replace loops with vectorized operations, though this may be done in
the future.Counterpart to the Python library [polliwog][].
**This project is experimental!**
[polliwog]: https://github.com/lace/polliwog
## Contribute
Pull requests welcome!
## License
The project is licensed under the MIT license.