Taper

Deform the mesh similar to the taper option in Blender’s built-in Simple Deform modifier.