logo

code-section

Curver Development: the Transform Tool

March 25, 2016 - Admin Tags:

We've finished implementing a transformation tool to allow the user to move, scale, or rotate curves in Curver. The tool was designed to be simple and intuitive, like everything else in Curver.

The colorful background of the image to the right shows the "hit" map of the tool. It is not rendered on screen. Each color corresponds to a particular handle in the tool's interface. When the user clicks on the tool, the color below the cursor tells the tool which handle the user wants to interact with. This is simpler and less error-prone to implement than mathmatically calculating hit testing.

The rendered interface is still a placeholder, but it is sufficient for visualizing the final general design and layout of the tool.