Logo

Home

  1. Welcome
  2. About Me
  3. Store

Creations

  1. Games
  2. Music
  3. Woodworking

Programming

  1. Tutorials
  2. Software

Weird Stuff

  1. Out of Body
  2. Experiments
  3. Hypotheticals
Logo

Home

  1. Welcome
  2. About Me
  3. Store

Creations

  1. Games
  2. Music
  3. Woodworking

Programming

  1. Tutorials
  2. Software

Weird Stuff

  1. Out of Body
  2. Experiments
  3. Hypotheticals

Oct 26, 2017

polybooljs

The polybooljs library is the result of my research into polygon clipping algorithms. It can clip polygons against each other using boolean operations (union, intersection, xor, difference), and can handle coincident edges.

  • polybooljs on GitHub (2017)
  • polybooljs on npm (2017)
  • Interactive Demo
  • Companion Tutorial

I updated and ported the library to TypeScript – it’s faster and uses ES modules:

  • polybool on GitHub (2024)
  • @velipso/polybool on npm (2024)



View All Posts

XML: RSS | Sitemap
© Copyright 2025 Sean Connelly, All Rights Reserved