This is how sewing machines work: