![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@thi.ng/webgl
Advanced tools
[!NOTE] This is one of 201 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 & GLSL abstraction layer.
Largely declarative WebGL 1.0 / 2.0 abstraction layer, partially ported & updated from Clojure/ClojureScript versions of thi.ng/geom.
STABLE - used in production
Search or submit any issues for this package
yarn add @thi.ng/webgl
ESM import:
import * as gl from "@thi.ng/webgl";
Browser ESM import:
<script type="module" src="https://esm.run/@thi.ng/webgl"></script>
Package sizes (brotli'd, pre-treeshake): ESM: 11.67 KB
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
23 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 |
GPU-based data reduction using thi.ng/shader-ast & WebGL multi-pass pipeline | Demo | Source | |
![]() | Shader-AST meta-programming techniques for animated function plots | Demo | Source |
![]() | Evolutionary shader generation using genetic programming | Demo | Source |
![]() | HOF shader procedural noise function composition | Demo | Source |
![]() | WebGL & JS canvas2D raymarch shader cross-compilation | Demo | Source |
![]() | WebGL & JS canvas 2D SDF | Demo | Source |
![]() | WebGL & Canvas2D textured tunnel shader | Demo | Source |
![]() | Minimal shader graph developed during livestream #2 | Demo | Source |
![]() | Entity Component System w/ 100k 3D particles | Demo | Source |
![]() | rdom & WebGL-based image channel editor | Demo | Source |
![]() | WebGL multi-colored cube mesh | Demo | Source |
![]() | WebGL cube maps with async texture loading | Demo | Source |
![]() | Drawing to floating point offscreen / multi-pass shader pipeline | Demo | Source |
![]() | Game of Life implemented as WebGL2 multi-pass shader pipeline | Demo | Source |
![]() | WebGL instancing, animated grid | Demo | Source |
![]() | WebGL MSDF text rendering & particle system | Demo | Source |
Minimal multi-pass / GPGPU example | Demo | Source | |
![]() | Shadertoy-like WebGL setup | Demo | Source |
![]() | WebGL screenspace ambient occlusion | Demo | Source |
![]() | Interactively drawing to & reading from a WebGL offscreen render texture | Demo | Source |
![]() | Basic Zig/WebAssembly WebGL demo | Demo | Source |
TODO
If this project contributes to an academic publication, please cite it as:
@misc{thing-webgl,
title = "@thi.ng/webgl",
author = "Karsten Schmidt and others",
note = "https://thi.ng/webgl",
year = 2014
}
© 2014 - 2025 Karsten Schmidt // Apache License 2.0
FAQs
WebGL & GLSL abstraction layer
The npm package @thi.ng/webgl receives a total of 154 weekly downloads. As such, @thi.ng/webgl popularity was classified as not popular.
We found that @thi.ng/webgl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.