TWGL – A tiny WebGL helper library
TWGL.js, a tiny WebGL helper library
TWGL – A tiny WebGL helper library launched on April 6, 2015 with 33 votes, #987 of 3,600 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 11 years on.
In plain words
TWGL is a lightweight JavaScript library that simplifies WebGL development by reducing verbose API calls. It provides core helper functions for setting up shaders, buffers, attributes, and uniforms, making it ideal for developers who want to work directly with WebGL at a lower level without the overhead of larger frameworks. The library works with any math library that stores matrices as Float32Arrays or JavaScript arrays.
written from the facts on this page · September 2026
From the sources
This library's sole purpose is to make using the WebGL API less verbose. If you want to get stuff done use three.js . If you want to do stuff low-level with WebGL consider using TWGL . WebGL is a very verbose API. Setting up shaders, buffers, attributes and uniforms takes a lot of code. A simple lit cube in WebGL might easily take over 60 calls into WebGL. There's a few extra helpers and lower-level functions if you need them but those 6 functions are the core of TWGL. You are welcome to use any math library as long as it stores matrices as flat Float32Array or JavaScript arrays. See the examples. Otherwise there's a few different versions TWGL's is an attempt to make WebGL simpler by…from twgljs.org
Does a similar job
all alternatives →
TG – Fast geometry library for C2023 · github.com · ▲201Geometry library for C - Fast point-in-polygon. Contribute to tidwall/tg development by creating an account on GitHub.
- RTReal-Time 3D Gaussian Splatting in WebGL2023 · antimatter15.com · ▲309
A conformant WebGL implementation for Node.js2016 · github.com · ▲57🎃 Windowless WebGL for node.js. Contribute to stackgl/headless-gl development by creating an account on GitHub.
- GJG9.js – Automatically Interactive Differentiable Graphics2016 · omrelli.ug · ▲237
WebGL Playground2014 · jessevdk.github.io · ▲89- WGWebGL Games2015 · webgl.nu · ▲83
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 22h ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, April 2015
the whole month →
Hunter▲1,703Find any company logo by domain with Hunter’s free logo API. No account, no API key. The simplest Clearbit Logo API replacement, switch in 30 seconds.
Growth · 2015 · hunter.io



saas that helps convert
Life & fun · 2015 · transformy.io
- AR
Life & fun · 2015 · tiffzhang.com
