texture-slot-allocator
TypeScript icon, indicating that this package has built-in type declarations

1.0.24 • Public • Published

texture-slot-allocator

Component for allocating texture slots for spritesheets, for use in WebGL projects.

Install bun

https://bun.sh/

curl -fsSL https://bun.sh/install | bash

Commands

  • start: "bun run index.ts",
  • bundle: "bun run bundler/bundler.ts",
  • list: "bun run samples/list-scripts.tsx",
  • example: "cd example && bun start && cd ..",
  • fileSample: "bun run samples/file.tsx && cat samples/data/test.json",
  • httpSample: "bun run samples/server.tsx"

Run example

https://jacklehamster.github.io/texture-slot-allocator/example/

Github Source

https://github.com/jacklehamster/texture-slot-allocator/

Package Sidebar

Install

npm i texture-slot-allocator

Weekly Downloads

3

Version

1.0.24

License

MIT

Unpacked Size

74 kB

Total Files

15

Last publish

Collaborators

  • vincentlequang