}
        });
        ctx.fillStyle = color;
        ctx.fill();
        ctx.stroke();
    }

    fillRect(points1, "#ffaaaaaa");
    fillRect(points2, "#aaffaaaa");

    // console.log(OverlapArea.isInside([100, 100], [[0, 0], [200, 0], [200, 200], [0, 200]]))
    // console.log(OverlapArea.isInside(points2[0], points1))

    const points3 = OverlapArea.getOverlapPoints(points1, points2);
    OverlapArea.getUnoverlapAreas(points2, points1);
    console.log(points3);
    fillRect(points3, "#aaaaffaa");
</sc