Showing 21-40 of 434 packages
utility for working with polygons (arrays of vec2s)
A comprehensive TypeScript library for 2D vector manipulation, compatible with CanvasRenderingContext2D.
Functions to test if a point is outside ranges, namely useful for 3D/2D scenes that may have reversed bounds
animate a vec2 vector
`{ x, y }` type and utilities for working with them
**This is a Work In Progress!**
Represent multitouch with vec2
WebGL buffer wrapper
TypeScript definitions for polygon
Transpile GLSL to JS
Yet another tool to generate .d.ts bundle.
WebGL shader wrapper
An intuitive, lightweight 2d vector library with built-in canvas support.
A lightweight, dependency-free library to reduce boilerplate when writing fragment shaders.
useful 2d vector operations
2 Dimensional Vector Class
Yet another tool to generate .d.ts bundle.
Map a value from one range to another. Equivalent to Processing's map() function.
A simple collection of functions for working with two-component vectors.
[](https://snyk.io/test/github/Bartozzz/mads?targetFile=packages/mads-vec2/package.json) [![npm](https://img.shields.io/npm/v/mads-vec2