2 Posts

Creative code

shader2.gif.webp

Using p5 shaders for post processing

Introduction p5 can be used for 3D graphics, although it makes much more sense to use something like three.js if you want to do any serious 3d browser development. Where WebGL really shines in p5, in …

shader1.gif.webp

Introduction to Shaders in P5

Introduction Shaders are a powerful way to apply powerful logic to the individual pixels in a p5 sketch. We write them in the GLSL language (a form of C) then they are compiled and (generally) run on …