diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d4caba8..22cd892 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 16 - run: npm ci - run: npm run build - run: npm test diff --git a/README.md b/README.md index 5126657..2466c06 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # `segment-intersection` +![Screenshot](playground/screenshot.png) + Fast segment 2D intersection, that includes edge cases, such as segments touching points, or one segment being on top of the other. ## API diff --git a/playground/screenshot.png b/playground/screenshot.png new file mode 100644 index 0000000..bc3dd45 Binary files /dev/null and b/playground/screenshot.png differ