Tracing shapes with toothpicks