Source code: GitHub - cywarr/GenerativeThing
It’s all started from a question on discord of how to put a texture onto a grid of lines, that are tubes, distorted with noise. Then it was offered to use fat lines instead of a bunch of meshes with
Finding/computing of UV for segments became the hardest part.
First prototype: https://codepen.io/prisoner849/pen/OJQyQgM
Then I decided to evolve the idea and made the next iteration: https://codepen.io/prisoner849/pen/xxYwJoE
And the next thing was the adding of Selective Bloom: https://codepen.io/prisoner849/pen/xxYwNeB
But clicking the button to have a new generated picture seemed boring and here is a solution with Tween.js, making transition of triangles smooth in a loop: https://codepen.io/prisoner849/pen/abqdZmr
The final result i the combination of the last two codepens.