cleaner gesture example that simplifies things to the line and arc cases