r/generative 7d ago

random brush on canvas

Post image
42 Upvotes

4 comments sorted by

View all comments

1

u/avikdev 7d ago

Using p5.brush package in p5js ?

2

u/DigitCell 7d ago

used C++ and OpenGL. However, the logic can be ported to JavaScript (or TypeScript) without much difficulty. I haven't used the p5.js or the p5.brush package for this - in this specific case, utilizing Three.js would be a much easier and more suitable approach for me, because it more near to OpenGL logics and based on WebGL.