Preview:
global proc deformerDemo()
{
	string $cyl[] = `polyCylinder -r 1 -h 100 -sx 20 -sy 50 -sz 1 -ax 0 1 0 -rcp 0 -cuv 3 -ch 1`;
	string $bend[] = `nonLinear -type bend`;
	// Result: bend1 bend1Handle
	expression -s ($bend[0]+".curvature = sin(time*4)*180;")  -o $bend[0] -ae 1 -uc all ;



}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter