singhn9 commited on
Commit
5bac8a4
·
verified ·
1 Parent(s): c54dd7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -333,11 +333,13 @@ function draw() {
333
  const offset = Math.max(40, radius*0.28 + len*0.12);
334
  const ux = mx/len, uy = my/len;
335
  loopGroup.append("path")
336
- .attr("d", `M${sa.x},${sa.y} Q${mx+ux*offset},${my+uy*offset} ${sb.x},${sb.y}`)
337
  .attr("fill", "none")
338
- .attr("stroke", "#227a6d")
339
- .attr("stroke-width", 2.8)
340
- .attr("opacity", 0.95);
 
 
341
  });
342
 
343
  // --------------------------------------------------------------
 
333
  const offset = Math.max(40, radius*0.28 + len*0.12);
334
  const ux = mx/len, uy = my/len;
335
  loopGroup.append("path")
336
+ .attr("d", path)
337
  .attr("fill", "none")
338
+ .attr("stroke", "#9b59b6") // bright violet
339
+ .attr("stroke-width", 4.5) // thicker so stands out
340
+ .attr("opacity", 1)
341
+ .attr("stroke-linecap","round")
342
+ .attr("stroke-linejoin","round");
343
  });
344
 
345
  // --------------------------------------------------------------