Skip to content

Latest commit

 

History

History

geom

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@thi.ng/geom

npm version npm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

Functional, polymorphic API for 2D geometry types & SVG generation.

This project is a partially ported from the Clojure version of the same name. All polymorphic operations built on @thi.ng/defmulti.

Up-to-date feature matrix spreadsheet

This package acts as a higher-level frontend for most of the following related packages (which are more low-level, lightweight and usable by themselves too):

Support packages

Status

BETA - possibly breaking changes forthcoming

Installation

yarn add @thi.ng/geom

Dependencies

Usage examples

Several demos in this repo's /examples directory are using this package.

A selection:

geom-convex-hull

screenshot

Live demo | Source

geom-tessel

screenshot

Live demo | Source

gesture-analysis

screenshot

Mouse gesture / stroke analysis, simplification, corner detection

Live demo | Source

imgui

screenshot

Canvas based Immediate Mode GUI components

Live demo | Source

iso-plasma

screenshot

Animated sine plasma effect visualized using contour lines

Live demo | Source

poly-spline

Live demo | Source

rotating-voronoi

screenshot

Live demo | Source

scenegraph

screenshot

Live demo | Source

scenegraph-image

screenshot

Live demo | Source

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

© 2013 - 2019 Karsten Schmidt // Apache Software License 2.0