Meet SmartSleeve: a textile sensor that senses gestures and deformations using a hybrid gesture detection pipeline. For instance, it can detect twirl, twist, fold, and other gestures. It has a modular architecture, so new gestures can be tried all the time. As the researchers explain:
hybrid gesture detection framework uses a learning-based algorithm and heuristics to greatly expand the possible interactions for flexible, pressure-sensitive textile sensors as its unified pipeline senses both 2D surface gestures and more complex 2.5D deformation gestures.
The above video shows what you can do with something like this.