---
title: "regl"
description: "Functional stateless WebGL abstraction where draw commands are declared as data and the library manages all GL state."
canonical: "https://vibing.inc/library/regl-vg-1790"
category: "Shaders, WebGL & Creative Coding"
subcategory: "WebGL micro-library"
license: "MIT"
author: "Mikola Lysenko (@mikolalysenko)"
source: "https://github.com/regl-project/regl"
---

# regl
Functional stateless WebGL abstraction where draw commands are declared as data and the library manages all GL state.
## Facts
- Source: https://github.com/regl-project/regl
- Category: Shaders, WebGL & Creative Coding / WebGL micro-library
- Author: Mikola Lysenko (@mikolalysenko)
- Licence: MIT
- Tags: webgl, functional, gpu, rendering
## Why it's a gem
Declarative GL commands eliminate an entire class of hard-to-find state-leak bugs.
---
Listed in The Vibeary: https://vibing.inc/library/regl-vg-1790 · JSON: https://vibing.inc/api/public/library/gems/regl-vg-1790