News for hackers. Stuff that matters.
Re:Voronoi Diagrams on the GPU by nathancahill on Wednesday April 13, 2016 @09:05PM (#11493626)
Any good resources for getting started with WebGL? I'm going to start transitioning a large amount of slow <canvas> drawing to WebGL, and I'd love any pointers for someone getting started without any experience in graphics and gaming (which seems to be the starting point most tutorials use).
Re:Voronoi Diagrams on the GPU by rjkaplan on Wednesday April 13, 2016 @09:18PM (#11493670)
I recently got started with WebGL so I hope that others post more/better resources, but...

- I found this to be a good starting point for WebGL as a whole: https://webglfundamentals.org/

- This is a great resource for learning about GLSL and shaders (writing code that runs on the GPU): http://patriciogonzalezvivo.com/2015/thebookofshaders/

- As a starting point for implementing the Jump Flood Algorithm (which is what I used to implement the Voronoi Diagram demos) I found it helpful to read Chris Wellon's articles on GPGPU programming. Here's the first one: http://nullprogram.com/blog/2014/06/10/

Re:Voronoi Diagrams on the GPU by mattdesl on Wednesday April 13, 2016 @10:25PM (#11493924)
Re:Voronoi Diagrams on the GPU by Zecc on Thursday April 14, 2016 @10:57AM (#11497217)