thelonious / kld-intersections

A library of intersection algorithms covering all SVG shape types
BSD 3-Clause "New" or "Revised" License
343 stars 55 forks source link

Can I use this library without nodejs server? #74

Open FlashTang opened 12 months ago

FlashTang commented 12 months ago

Hello Sir I want to use it locally (not localhost but pure html + js whitout server) Is it possible ?

FlashTang commented 12 months ago

Great! Just figured out , I didn't inlcude the following script, that‘s why I got error

<script>
      var ShapeInfo = KldIntersections.ShapeInfo;
      var Intersection = KldIntersections.Intersection;
</script>