Open RGBWang opened 11 months ago
new Bezier(50, 25, 50, 25, 122, 185, 111, 185); var curve2 = new Bezier(9, 111, 8, 99, 136,78, 142, 58 ); var draw = function() { this.drawSkeleton(curve); this.drawCurve(curve); this.setColor("red"); this.drawCurve(curve2); this.setColor("black"); curve.intersects(curve2).forEach(pair => { var t = pair.split("/").map(v => parseFloat(v)); this.drawPoint(curve.get(t[0])); }); }
Don't just text-dump: please explain what's wrong, and how this code shows that off.
when copy the code in /docs/index.html , Githubissues. Githubissues is a development platform for aggregating issues.