quat

A high-performance quaternion library for 3D math, inspired by gl-matrix.

matrix-rotate

Rotate a 2D matrix by 90 degrees clockwise with one command

@vicimpa/glm

A lightweight, class-based alternative to gl-matrix providing vector, matrix, and quaternion math utilities for 2D/3D graphics, game development, and WebGL/WebGPU applications.