Owner: P5 Editor porting project
API: P5 (r2)
World type: No Mind
Paramenters for the scale() function are values * specified as decimal percentages. For example, the method * call scale(2.0) will increase the dimension of the shape by * 200 percent. Objects always scale from the origin. This example * shows how transforms accumulate and also how scale and translate * interact depending on their order.
Type: Public. Plain JS.
View plain JS.
Get Embed code.
Get New window embed code.
Get Autorun embed code.
3 runs
Run | |
Edit | Must be logged in. |
Update image | Must be logged in. |
Clone | Must be logged in. |
New Mind | Only valid for Worlds that use Minds. |
Change World type | Must be owner. |
Change API | Must be owner. |
Delete | Must be owner. |