Wooow that's really smooth !! I'm in love 💛
this is a pretty cool way to generate shapes, using functions in the vertex shaders. I've only ever thought to use them in the fragment shader
this is a really good example of how to make stuff with webgl, by doing all of the animations in the shaders. Have you looked into three.bas yet? It's extremely close to what you're already doing; it would also allow you to do things like modify three.js's phong shader and take advantage of all the hard work three already does, and it adds extra functions like quaternions for rotations. https://medium.com/@Zadvorsky/into-vertex-shaders-part-3-memory-management-9a1204221a0a
thank you !!😊
Need to know how to enable it? Go here.