also see: crochet tilt potentiometer,, time sensing bracelet,
Made using the zig-zag stitch on the sewing machine to sew/embroider a conductive and a resistive trace side by side. Then any conductive object can be used to bridge the contact between the traces and measure the position/distance from measuring point through the change in resistance.
In the example video bellow a metal tea-spoon is used as a “conductive wiper finger”.
Syuzi Pakhchyan describes this method in her book Fashioning Technology, by example of a linear slider potentiometer using a magnet to keep the conductive wiper finger in place.