LINKS: 27 pipeline connections aligned with Paperclip 6 projects

This commit is contained in:
2026-04-04 19:05:30 +02:00
parent 58d84a6190
commit 7be39f6a97

View File

@@ -1102,7 +1102,7 @@ function drawOut(i){
function drawMultiPipe(){
var links=[[0,3,'#e94560',16],[0,4,'#e94560',12],[1,8,'#dc2626',18],[1,5,'#dc2626',12],[2,3,'#3b82f6',18],[2,14,'#3b82f6',12],[3,4,'#7c3aed',18],[4,5,'#059669',18],[5,8,'#10b981',18],[5,6,'#10b981',14],[6,12,'#f59e0b',16],[6,18,'#f59e0b',12],[7,6,'#ef4444',18],[9,2,'#a855f7',18],[9,12,'#a855f7',14],[11,9,'#64748b',14],[11,1,'#64748b',12],[13,5,'#8b5cf6',18],[13,20,'#8b5cf6',16],[16,13,'#f97316',16],[17,20,'#84cc16',16],[17,6,'#84cc16',12],[20,21,'#6366f1',18],[21,13,'#0d9488',16]];
var links=[[0, 4, "#e94560", 16], [4, 5, "#059669", 18], [5, 6, "#06b6d4", 18], [12, 1, "#a855f7", 18], [12, 11, "#a855f7", 14], [11, 8, "#ec4899", 16], [11, 9, "#ec4899", 12], [1, 2, "#3b82f6", 18], [1, 13, "#3b82f6", 14], [8, 10, "#f59e0b", 18], [8, 9, "#f59e0b", 16], [7, 8, "#ef4444", 16], [0, 3, "#e94560", 12], [3, 4, "#7c3aed", 18], [2, 3, "#7c3aed", 14], [14, 15, "#8b5cf6", 18], [15, 16, "#6366f1", 16], [14, 4, "#8b5cf6", 12], [17, 9, "#64748b", 14], [17, 6, "#64748b", 12], [17, 12, "#64748b", 10], [18, 19, "#84cc16", 18], [19, 20, "#84cc16", 14], [19, 4, "#84cc16", 12], [6, 0, "#dc2626", 12], [9, 7, "#eab308", 12], [13, 11, "#14b8a6", 14]];
var w=W||window.innerWidth,bx=w*0.46+20;
links.forEach(function(lk){var fi=lk[0],ti=lk[1],cl=lk[2],op=lk[3]||15;if(fi>=DP.length||ti>=DP.length)return;var fy=deptY(fi)+deptH(fi)/2,ty=deptY(ti)+deptH(ti)/2,off=Math.abs(ti-fi)*4+25,h2=op<16?'0'+op.toString(16):op.toString(16);X.save();X.beginPath();X.moveTo(bx+155,fy);X.bezierCurveTo(bx+155+off,fy,bx+155+off,ty,bx+155,ty);X.strokeStyle=cl+h2;X.lineWidth=1.2;X.setLineDash([3,5]);X.stroke();X.setLineDash([]);var t=((fr*0.003+fi*0.1+ti*0.07)%1),mt=1-t,px2=mt*mt*mt*(bx+155)+3*mt*mt*t*(bx+155+off)+3*mt*t*t*(bx+155+off)+t*t*t*(bx+155),py2=mt*mt*mt*fy+3*mt*mt*t*fy+3*mt*t*t*ty+t*t*t*ty;X.beginPath();X.arc(px2,py2,2,0,6.28);X.fillStyle=cl+'60';X.fill();X.restore()});
}