@tldraw/vec

2D vector utilities for TLDraw and maybe you, too.

Usage no npm install needed!

<script type="module">
  import tldrawVec from 'https://cdn.skypack.dev/@tldraw/vec';
</script>

README

@tldraw/vec

This package contains the vector methods used by tldraw.

💕 Love this library? Consider becoming a sponsor.

Installation

yarn add @tldraw/vec
# or
npm i @tldraw/vec

Community

Support

Need help? Please open an issue for support.

Discussion

Want to connect with other devs? Visit the Discord channel.

License

This project is licensed under MIT.

If you're using the library in a commercial product, please consider becoming a sponsor.

Author