High resistivity wire

Maybe you could whip up some conductive paint and fabricate a big long potentiometer/rheostat. Instructables spoiler alert.