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 geometry/shape conversion & interop.
ALPHA - bleeding edge / work-in-progress
Search or submit any issues for this package
yarn add @thi.ng/geom-webgl
ESM import:
import * as gw from "@thi.ng/geom-webgl";
Browser ESM import:
<script type="module" src="https://esm.run/@thi.ng/geom-webgl"></script>
For Node.js REPL:
const gw = await import("@thi.ng/geom-webgl");
Package sizes (brotli'd, pre-treeshake): ESM: 1.19 KB
- @thi.ng/api
- @thi.ng/checks
- @thi.ng/defmulti
- @thi.ng/errors
- @thi.ng/geom
- @thi.ng/object-utils
- @thi.ng/transducers
- @thi.ng/vector-pools
- @thi.ng/vectors
- @thi.ng/webgl
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
Two projects in this repo's /examples directory are using this package:
Screenshot | Description | Live demo | Source |
---|---|---|---|
Augmenting thi.ng/geom shapes for WebGL, using instancing & attribute buffers | Demo | Source | |
Converting thi.ng/geom shape types for WebGL | Demo | Source |
TODO
If this project contributes to an academic publication, please cite it as:
@misc{thing-geom-webgl,
title = "@thi.ng/geom-webgl",
author = "Karsten Schmidt",
note = "https://thi.ng/geom-webgl",
year = 2024
}
© 2024 Karsten Schmidt // Apache License 2.0