zcanvas

Compact JavaScript library that provides an Object based solution for working with HTMLCanvas drawables as if they were tangible, separate objects. Good for lightweight game engines and mobile friendly.

use-device-pixel-ratio

React hook for finding device pixel ratio (DPR), optionally capping/rounding