Webgl 3D Picking objects in P5js with a color Buffer

P5js has a webgl mode that allows the creation of 3D worlds. But it lacks any kind of 3D picking. So lets implement a Colour buffer 3D picking for P5js for our sketches.

the code bellow is available at gist: Webgl 3D Picking in P5js with Colour Buffer

In a 3D webgl environment when you…

read the full story at sixhat.net

Anúncios
%d bloggers like this: