@thi.ng/wasm-api-webgl
v1.0.16
Published
WebGL bridge API for hybrid TypeScript & WASM (Zig) applications
Maintainers
Readme
[!NOTE] This is one of 211 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
- @thi.ng/wasm-api-canvas - HTML Canvas2D bridge API for hybrid TypeScript & WASM (Zig) applications
- @thi.ng/webgl - WebGL & GLSL abstraction layer
Installation
yarn add @thi.ng/wasm-api-webglESM 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.27 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
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 - 2025 Karsten Schmidt // Apache License 2.0
