|
|
@ -25,7 +25,7 @@ function braid(params) { |
|
|
|
var lines = []; |
|
|
|
var lines = []; |
|
|
|
for(let i=0; i<params.num_points; i++) { |
|
|
|
for(let i=0; i<params.num_points; i++) { |
|
|
|
var l = new Path.Line(points[i][0], points[i][1]); |
|
|
|
var l = new Path.Line(points[i][0], points[i][1]); |
|
|
|
l.strokeColor = 'black'; |
|
|
|
l.strokeColor = 'red'; |
|
|
|
l.strokeWidth = 5; |
|
|
|
l.strokeWidth = 5; |
|
|
|
lines.push(l); |
|
|
|
lines.push(l); |
|
|
|
} |
|
|
|
} |
|
|
|