regl
regl copied to clipboard
👑 Functional WebGL
`regl` is an awesome library to use! I really like it! For my use case, I need to do some asynchronous staff in the command body function and wait for...
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
I'm using regl in an environment that has enabled [Trusted Types](https://web.dev/trusted-types/) (fortunately in "Report Only" mode for now). It reports on [this line in `codegen.js`](https://github.com/regl-project/regl/blob/3de86bf154b4634d53b365f83f0223aa09143f3d/lib/util/codegen.js#L169), where a function is constructed...
I'd like to port [this](https://observablehq.com/@jobleonard/slit-scanning-on-the-gpu) using regl, since the functional nature of regl makes a good developing experience. I've wrapped webgl2 using the technique in #561. And I'm wondering is...
Hello, I realized that the regl's animation unexpectedly displaced and scaled when resizing the window of https://bl.ocks.org/pbeshai/raw/5309144c8a5faa3dfec5401cc850c7b5/?raw=true . Any workarounds are suggested? The following is an example:  in Google...
Hello, I observed that too frequent ```regl``` draws freezed/crashed web browsers (tested in Google Chrome 100.0.4896.75(macOS)). How to prevent too frequent draws for the sake of safety? The following method...
When an error happens inside the `regl.frame` loop, to prevent logging it again and again infinitely, I usually do: ```js function frameCatch (frameFunc) { const loop = regl.frame((...args) => {...
Steps to reproduce: 1) Add REGL from CDN: https://cdn.jsdelivr.net/npm/[email protected]/dist/regl.js 2) Create some code with context parameters in regl.texture() scope ``` const regl = createREGL(); const tex0 = regl.texture({ width: regl.context('drawingBufferWidth'),...
# Problem When I use regl command with a simple shader code, and set a framebuffer property.The result pixel always filled with ZERO. I think there's sth went wrong in...
Hi, I am currently developing a video player in Regl that allows the user to zoom and pan whilst playing a live video feed. In an effort to reduce system...