
Dave Pagurek@davepagurek· Jun 19 Environment SDFs are based on angles, and are all automatically blurrable, so you can animate environment light in a way that would be too expensive to do with image based lighting.

Dave Pagurek@davepagurek· Jun 19 I've been looking into a way to generate environments for lighting in p5 using strands shader code. That ended up turning into a little library called p5.env to help write some special SDFs that work for this purpose!

Dave Pagurek@davepagurek· Jun 18 a very ace message from some public art. happy pride!

Dave Pagurek@davepagurek· May 28 Just released p5.js 2.3! Come try out compute shaders! github.com/processing/p...

Dave Pagurek@davepagurek· Mar 31 We're running TerribleHack again April 26! More info at terriblehack.website!

Dave Pagurek@davepagurek· Mar 27 One million particles in p5.js WebGPU mode editor.p5js.org/davepagurek/...

Dave Pagurek@davepagurek· Mar 15 p5.strands boids! editor.p5js.org/davepagurek/... Video compression does not like this much, but my 2021 macbook runs 10,000 boids with no spatial partitioning or anything, just a regular old for loop, with no problem

Dave Pagurek@davepagurek· Mar 14 my second attempt got a bit better, and then I tried twice on my phone to see if it was any different and it was like the same, so I may have hit the limit of my eyes before the limit of my screen lol

Dave Pagurek@davepagurek· Mar 13 ok i did the thing. thank you 2011 thunderbolt display for still having good colors

Dave Pagurek@davepagurek· Feb 15 here's ten thousand of them. Frame rate seems good, video compression less so lol

Dave Pagurek@davepagurek· Feb 15 ok folks we are adding compute shaders to p5! the bouncing balls in this test sketch have their state updated in a compute shader.

Dave Pagurek@davepagurek· Feb 8 it's been a long week for Pigeon too

Dave Pagurek@davepagurek· Feb 8 underground is fast but it's always nice when you can see the sun


Dave Pagurek@davepagurek· Feb 2 a comic panel for every hour of today! ending a little early because I need to put my stuff away

Dave Pagurek@davepagurek· Jan 31 #genuary 31: shaders. Well, it's been mostly shaders this whole month, but here's one more, making a disco ball with starburst lens flares. openprocessing.org/sketch/2860946 #p5js #p5v2

Dave Pagurek@davepagurek· Jan 30 #genuary 30, it's not a bug, it's a feature. WebGL clips away surfaces that are too close or far from the camera. You can control that distance. I've used that to make an x-ray thing here, featuring this completely not cursed creative coded person. openprocessing.org/sketch/2860277 #p5v2 #p5js

Dave Pagurek@davepagurek· Jan 29 #genuary 29: evolution. I've recreated/evolved a sketch from a Processing alpha from 2002 up to current p5. Writeup here: www.davepagurek.com/blog/sketch-... #p5v3 #p5js #processing

Dave Pagurek@davepagurek· Jan 28 #genuary 28: No libraries, just HTML. Here what basically amounts to a fragment shader, but done by checking and unchecking a grid of checkboxes. openprocessing.org/sketch/2858648 #p5js #p5v2

Dave Pagurek@davepagurek· Jan 27 #genuary 27: lifeform. Here's a frog. A p5.strands shader warps it in an arc as it jumps. openprocessing.org/sketch/2857739 #p5js #p5v2

Dave Pagurek@davepagurek· Jan 26 #genuary 26: recursive grids. Tap the square and it will shatter! This is done by recursively picking a line on each shape and then cutting it in two along that line. openprocessing.org/sketch/2856899 #p5v2 #p5js

Dave Pagurek@davepagurek· Jan 25 #genuary 25: organic geometry. Here are a bunch of bugs made of stretched spheres and cylinders, moving around using some noise, with ap5.strands shader bump mapping and doing a bit of iridescence. openprocessing.org/sketch/2856313 #p5js #p5v2


Dave Pagurek@davepagurek· Jan 23 #genuary 23: Transparency. Started as practice for some other projects. Uses some CSG and some p5.strands shaders to update how light is mixed together when the base material colour is transparent. openprocessing.org/sketch/2855229 #p5js #p5v2

Dave Pagurek@davepagurek· Jan 22 #genuary 22: plotter ready. Here's a 3D rendering in p5, with a dithered shader applied, and then the opaque pixels are turned into dots in an SVG! openprocessing.org/sketch/2854186 #p5js #p5v2

Dave Pagurek@davepagurek· Jan 21 #genuary 21: Bauhaus poster. Just to see if I could, the positioning is done in a p5.strands shader. openprocessing.org/sketch/2852887 #p5js #p5v2

Dave Pagurek@davepagurek· Jan 20 #genuary 20: one line. Split the light beam into its components! The secret is... this is actually many lines, rendered via p5.strands instancing, but they come together to make one line. openprocessing.org/sketch/2851676 #p5js #p5v2