User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
design_guide_transforms [2018/04/15 00:38]
z3dev
design_guide_transforms [2018/04/15 00:39] (current)
z3dev
Line 5: Line 5:
 <code javascript>​ <code javascript>​
 let circleA = circle({radius:​ 5}) let circleA = circle({radius:​ 5})
-let circleB = circleA.scale([5,​10]) // a new copy, scaled as requested+let circleB = circleA.scale([5,​10]) // a new cicle, scaled as requested
 </​code>​ </​code>​
  
Line 12: Line 12:
 <code javascript>​ <code javascript>​
 let circleA = circle({radius:​ 5}) let circleA = circle({radius:​ 5})
-circleA = circleA.scale([5,​10]) // a new copy, scaled as requested, reassigned to the original+circleA = circleA.scale([5,​10]) // a new circle, scaled as requested, reassigned to the original
 </​code>​ </​code>​