Javascript Clipper Icon

Javascript Clipper

Boolean operations and offsetting library in Javascript

5.0 Stars (4)
39 Downloads (This Week)
Last Update:
Download Javascript_Clipper_6.1.3.2.zip
Browse All Files

Screenshots

Description

The Javascript Clipper library performs clipping and offsetting for both lines and polygons. All four boolean clipping operations are supported - intersection, union, difference and exclusive-or. Polygons can be of any shape including self-intersecting polygons.

Javascript Clipper is a port of Angus Johnson's Clipper library: https://sourceforge.net/projects/polyclipping/

LIVE DEMO: http://jsclipper.sourceforge.net/6.1.3.2/main_demo.html

Information and examples:
http://jsclipper.sourceforge.net/6.1.3.2/

Donate Javascript Clipper Project: https://sourceforge.net/p/jsclipper/wiki/Donations/

Use cases:
* Over 1500 schools in the UK uses Javascript Clipper in Digimap for Schools service. Digimap for Schools is an online mapping service for use by teachers and pupils. Read more:
https://mobilegeo.wordpress.com/ and
http://digimapforschools.edina.ac.uk/cosmo-free/osmapper

Javascript Clipper Web Site

Features

  • Line and polygon clipping - intersection, union, difference & xor
  • Line and polygon offsetting with 3 types of joining - miter, square and round
  • Polygons can be of any shape, including self-intersecting polygons
  • Minkowski Addition and Minkowski Difference functions included
  • The library is written in Javascript
  • Comprehensive documentation
  • Demos use inline SVG and Canvas libraries
  • The library is significantly faster than commercial alternatives
  • Uses Tom Wu's fast big integer library

KEEP ME UPDATED

User Ratings

★★★★★
★★★★
★★★
★★
4
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
Write a Review

User Reviews

  • janmikeska
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    The most awesome JavaScript library for working with polygons there is. The demo page is very useful for testing functionality without having to set up any code. Thanks for sharing Timo.

    Posted 07/04/2014
  • caa1211
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    This is a solid and awesome project. Absolutely be the best JS clip library, not only a detail document but also a full functions demo site, thanks for your contribution in the world :)

    Posted 06/12/2014
  • maheshnaik
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I will relearn javascript just for this program. Must be good as it is a port of the awesome clipping code of Angus.

    Posted 11/28/2013
  • andres5050
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    A nice translation of a nice library. Many thanks, you saved me a ton of work altough it would be nice if we had new version in JS for Monday's deadline. That would definetely impress the guys at work. Congrats to the author =)

    Posted 11/06/2013
Read more reviews

Additional Project Details

User Interface

Web-based

Programming Language

JavaScript

Registered

2012-12-10
Screenshots can attract more users to your project.
Features can attract more users to your project.