No, this does not work since the parameters are used once to generate the geometry. If you change the parameters, you have to create a new CylinderGeometry
, which is an expensive operation.
Maybe you can use morph target animation to achieve your desired effect.