I would like to know how to change the size of a shape but while keeping the same proportions. Say I make a pentagon using the pen tool and I want to keep the same shape of the pentagon but in a different size, what do i do? I am using the 'Move ___ steps" tool and the "Turn___ degrees" tool. Do i divide the number by something or are there any rules to this? Thank you.
Offline
ManaUser wrote:
If you increase the size of the moves (while keeping everything else the same) it would draw the same shape bigger.
Yes, just make move__steps a larger number.
Offline
Make a variable named scale. Multiply all moves by scale. If you want to change the location that the shape grows or shrinks around start by moving from that point with the pen up. Change the value of scale to change the size.
set [scale v] to (2.5) pen up go to x: (0) y: (0) point in direction (90) move ((scale) * (12)) steps set pen size to ((scale) * (2)) pen down turn right (135) degrees move ((scale) * (18)) steps turn right (90) degrees move ((scale) * (24)) steps
Last edited by axorion (2012-05-18 07:47:37)
Offline
No matter of the scale of the shape, the interior angles will be the same. So move [Scale Steps] and turn through whatever the angle corresponding to the shape is. Simple!
Offline