Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.