gfx-utils

2.4.5 • Public • Published

gfx-utils

A bunch of typescript/js utils for JS game development

Math Utils

  • Basic Statistical functions
  • Linear Interpolation/Mapping functions
  • Interpolation Functions
  • Collision Utils
    • 2D/3D Rectangles
    • Circle Collision

Loaders

  • Image Loaders
  • Howler-like Sound Loaders

Canvas

  • Make Fullscreen canvas

Tween Manager

  • Type-safe tweens on properties

Color Utils

  • HSV -> rgb

Weighted Maps

  • Basically a loot tables

Package Sidebar

Install

npm i gfx-utils

Weekly Downloads

3

Version

2.4.5

License

MIT

Unpacked Size

307 kB

Total Files

30

Last publish

Collaborators

  • danman113