Press the S key to show the variables, press the H key to hide them. Also, press space if you want to reset everything. Customize your worm to make it look great!
This is pretty much just rope physics.