0.5.0 • Published 6 months ago

@footgun/cobalt v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Cobalt

A chunk of cobalt

A 2D Web GPU renderer.

Goals

  • pure WebGpu: no fallbacks to WebGl or canvas
  • minimal abstractions: provide very light abstractions over what webgpu provides
  • gl-matrix/wgpu-matrix compatible: use primitives compatible with how webgpu and webgl store rendering data (float32 arrays)
  • works in both browsers and node+SDL
  • GC friendly: does not thrash the garbage collector. uses API design that won't allocate memory all over the place
  • back-to-front z-indexing

install

npm install @footgun/cobalt

Runnable demos are available in examples/.

0.3.0

11 months ago

0.2.0

11 months ago

0.5.0

6 months ago

0.3.2

9 months ago

0.4.0

6 months ago

0.3.1

11 months ago

0.3.3

8 months ago

0.1.1

12 months ago

0.1.0

12 months ago