Alexander Deplov

Rotate copies around center by using Math.PI

Rotate copies around center by using Math.PI

Code

var amount = 12
var radius = 120

for (var i = 0; i < amount; i++){
    var path = new Path.Rectangle({
        size: 50,
        strokeColor: 'blue',
        position: view.center + [100, 0]
    })
    
    
    var angle = i * Math.PI * 2 / amount
    
    path.position.x = view.center.x + radius * Math.cos(angle)
    path.position.y = view.center.y + radius * Math.sin(angle)
    
}