Dilatation App
We create an app which dilates a triangle.
The user can drag the center of the dilation. The scale is presented as a slider.
We create an app which dilates a triangle.
The user can drag the center of the dilation. The scale is presented as a slider.
First draw the triangle, and create a dilatation.
Constrain the coordinates of the dilatation center, leaving the values as variables.
When we create the app, we specify that it should not autoscale. We specify that the coordinates can be dragged and that the scale factor is attached to a slider.
Here is the resulting app.