Skip to content

Latest commit

 

History

History

geom-webgl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@thi.ng/geom-webgl

npm version npm downloads Mastodon Follow

Note

This is one of 189 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 geometry/shape conversion & interop.

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Installation

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>

JSDelivr documentation

For Node.js REPL:

const gw = await import("@thi.ng/geom-webgl");

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

Dependencies

Usage examples

Several 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

API

Generated API docs

TODO

Authors

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
}

License

© 2024 Karsten Schmidt // Apache License 2.0