1 Sep 2014For some of my projects I want the reader to drag something around on a diagram. I use the position to control some aspect of the diagram. The curved roads page[1] uses this. I want an easy way to constrain the ways you can drag something, and I also want a way to transform the variable being controlled into a position on the screen. I’m going to describe the implementation. Here’s an ex