This could possibly also serve as a starting point:
From the Collection of examples from discourse.threejs.org
2018
eXtended eXamples
The package is packed using outdated geometry, but it is about the process of changing points in their location.
Here is the current BufferGeometry
A simple fold



