time-hulls

0.0.114 • Public • Published

Build Status Codacy Badge Codacy Badge npm npm bundle size

time-hulls

Generates series of convex hulls for periods of timestamped, 2D point data

Install

npm install time-hulls

// or

yarn add time-hulls

Usage

import { TimeHullSeries } from 'time-hulls'

// or

const TimeHullSeries = require("time-hulls").TimeHullSeries

let points = []
for(i=0; i < 300; i++) points.push({ timestamp: i*100, x: Math.random(), y: Math.random() })

let series = new TimeHullSeries({
  points: points,
  period: 5000,
  timestep: 0,
  includeIncomplete: true,
})

series.getHulls()
series.getCentroids()

Full Documentation

https://mattsears18.github.io/time-hulls/

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.114
    0
    • latest

Version History

Package Sidebar

Install

npm i time-hulls

Weekly Downloads

0

Version

0.0.114

License

GPL-3.0-only

Unpacked Size

1.8 MB

Total Files

76

Last publish

Collaborators

  • mattsears18