-
Select vertex with SliderControl, add vertex with another SliderControl
s = Math.round(effect(“Sellect”)(“Slider”).value);
numPts = Math.round(effect(“Duplicate”)(“Slider”).value);
sPt = content(“Shape 1”).content(“Path 1”).path.points()[s];
Path1= content(“Shape 2”).content(“Path 1”).path.points();
allPts = [];
for(i=0; i <= s;i++){
allPts.push(content(“Shape 1”).content(“Path 1”).path.points()[i]);
}
for(i=0; i < numPts;i++){
allPts.push(sPt);
}
for(i = 0; i < Path1.length; i++){
u=s+i;
allPts.push(content(“Shape 1”).content(“Path 1”).path.points()[u]);
}
createPath(allPts,[],[],false);
I have tried like this so far but not really working.
Is it possible with the working tangent?🙏