Skip to content

cleancoders/cljsts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLJSTS

ClojureScript library wrapper for JSTS : https://github.com/bjornharrtell/jsts

Current version wrapped: 2.12.1

Rationale

The cljsjs version of the library died at version 1.6.0. Meanwhile, the JSTS library has evolved.

Usage

Add the dependency to your deps.edn:

    io.github.cleancoders/cljsts   {:git/sha "20ab76d244310d6c5dbb2db114eb83c814ddf1f5"}

Require the library:

[com.cleancoders.cljsts]

Development

The jsts.min.js can be found starting here: https://cdnjs.com/libraries/jsts

Generate the jsts.ext.js here: https://jmmk.github.io/javascript-externs-generator/

  • use jsts as the "extern object"
  • add "getConvexHull": function () {} to ConvexHull
  • add "isCCW": function() {} to Orientation

About

ClojureScript wrapper for JSTS (https://github.com/bjornharrtell/jsts)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •