Continuum soft actuators based on reprogrammable geometric constraints