How to realize the 3D version of gluttonous Snake turning Technology through webgl

I want to implement a 3D version of Snake through babylonJS or THREE.js.
where, when the snake turns, I want it to turn in a way similar to the image below.

In other words, I want the snake to turn more smoothly, just like a vehicle turn in real life.
so, do I need to use bone animation to achieve this goal? If necessary, can you put forward a suggestion / solution to guide me on how to achieve it?

Menu