{"library":"regl","type":"library","category":null,"description":"regl is a fast, functional WebGL framework that simplifies graphics programming by abstracting the WebGL API into \"resources\" and \"commands.\" It emphasizes a data-flow approach, minimizing shared state to optimize performance. Instead of direct WebGL calls, developers define declarative commands describing the entire state for a draw call, which regl then compiles into optimized JavaScript. The current stable version is 2.1.1, last published a year ago as of November 2024. regl does not adhere to a strict release cadence, with updates occurring as needed for fixes and features. Its key differentiators include its functional paradigm, automatic state batching for performance, and a minimalistic API compared to raw WebGL, which appeals to users looking for a less verbose and more declarative approach to real-time graphics while maintaining high performance and stability.","language":"javascript","status":"active","version":"2.1.1","tags":["javascript","webgl","stackgl","regl","gl","graphics","computer graphics","opengl","glsl","typescript"],"install":[{"cmd":"npm install regl","imports":["import createREGL from 'regl';\nconst regl = createREGL();","const regl = require('regl')();","import type { REGL, Buffer, Texture } from 'regl';"]},{"cmd":"yarn add regl","imports":[]},{"cmd":"pnpm add regl","imports":[]}],"homepage":"https://regl.party","github":"https://github.com/regl-project/regl","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/regl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/regl/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}