redo colors again

This commit is contained in:
Stewart Allen 2020-11-11 08:07:02 -05:00
commit 071955ea7c
5 changed files with 54 additions and 33 deletions

View file

@ -221,6 +221,10 @@
return ret;
};
PRO.miter = function() {
// todo - to eliminate path sharps in renders
};
PRO.createConvexHull = function(points) {
function removeMiddle(a, b, c) {
let cross = (a.x - b.x) * (c.y - b.y) - (a.y - b.y) * (c.x - b.x);