question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rewrite WebGL code in regl

See original GitHub issue

The time has come to 🔪 the gl-vis project.

These multiple small modules are becoming harder and harder to maintain. A lot of helper methods are currently duplicated across several modules - which is adding a lot 🍔 to our bundle size.

@mikolalysenko’s new WebGL framework regl solves a lot of long-standing gl-vis issues such as multiple scopes per gl-context and improved memory management.

I placed this issue on the v2.0.0 milestone because it might be a good opportunity to make the switch in-phase with bumping d3 to v4 but this is subject to change.

@dfcreative @monfera @bpostlethwaite

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:3
  • Comments:22 (18 by maintainers)

github_iconTop GitHub Comments

3reactions
dycommented, Aug 17, 2017

regl-error2d, faster and w/o memory limitations. Should say working with regl is pure pleasure.

3reactions
etpinardcommented, Jul 6, 2017

scattergl v2 wishlist:

  • plot 1e6 points in 1000ms
  • fast updates (~ 100ms)
  • reuse SVG cartesian axis/subplot logic and renderers
  • share 1 gl context across all subplots on given gd (or even better 1 gl context per page)
  • per-point support for marker size, color, symbol, opacity and line width, line color
Read more comments on GitHub >

github_iconTop Results From Across the Web

Beautifully Animate Points with WebGL and regl - Peter Beshai
Learn how to draw and smoothly animate 100000 points in a web browser with WebGL and regl.
Read more >
An Intro to regl for Data Visualization - Jim Vallandingham
The regl framework simplifies the task of developing WebGL code by providing a more functional interface. It takes cues from the React world ......
Read more >
how does WebGL work? - learn regl!
This command will compile your code using browserify, set up a local http server with your code in a basic html scaffold and...
Read more >
mikolalysenko/regl - Gitter
I wrote this code! gave an intro talk to coworkers to demonstrate some fundamentals ... but I did end up roughing it out...
Read more >
REGL API
A draw command wraps up all of the WebGL state associated with a draw ... Each draw command can specify the source code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found