Hi, community!
The starting point of this topic is here: How to bend a grid of particles into kinda sphere-looking shape?
There it was made with pure javascript.
So I decided to make it in a more performant way, using shaders: when we know radius and position of a sphere, we can bend the plane with big amount of points.
Example: https://codepen.io/prisoner849/full/zYZzmXB
Picture:
Related resource: Function Smoothing Explained! - YouTube