Skip to content

Latest commit

 

History

History
 
 

wasm-api-webgl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@thi.ng/wasm-api-webgl

npm version npm downloads Mastodon Follow

Note

This is one of 199 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.

🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️

About

WebGL bridge API for hybrid TypeScript & WASM (Zig) applications. This is a support package for @thi.ng/wasm-api. It's also closely aligned with and directly interacts with @thi.ng/webgl.

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Related packages

Installation

yarn add @thi.ng/wasm-api-webgl

ESM import:

import * as waw from "@thi.ng/wasm-api-webgl";

Browser ESM import:

<script type="module" src="https://esm.run/@thi.ng/wasm-api-webgl"></script>

JSDelivr documentation

Package sizes (brotli'd, pre-treeshake): ESM: 2.28 KB

Dependencies

Note: @thi.ng/api is in most cases a type-only import (not used at runtime)

Usage examples

One project in this repo's /examples directory is using this package:

Screenshot Description Live demo Source
Basic Zig/WebAssembly WebGL demo Demo Source

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-wasm-api-webgl,
  title = "@thi.ng/wasm-api-webgl",
  author = "Karsten Schmidt",
  note = "https://thi.ng/wasm-api-webgl",
  year = 2024
}

License

© 2024 Karsten Schmidt // Apache License 2.0