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! ❤️
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.
ALPHA - bleeding edge / work-in-progress
Search or submit any issues for this package
- @thi.ng/wasm-api-canvas - HTML Canvas2D bridge API for hybrid TypeScript & WASM (Zig) applications
- @thi.ng/webgl - WebGL & GLSL abstraction layer
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>
Package sizes (brotli'd, pre-treeshake): ESM: 2.28 KB
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
One project in this repo's /examples directory is using this package:
Screenshot | Description | Live demo | Source |
---|---|---|---|
Basic Zig/WebAssembly WebGL demo | Demo | Source |
TODO
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
}
© 2024 Karsten Schmidt // Apache License 2.0