0.1.0 • Published 11 years ago

ndarray-tops v0.1.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

ndarray-tops

Returns the highest points of a 3d ndarray as a 2d ndarray.

example

var tops = require('ndarray-tops')
var ndarray = require('ndarray')
var size = 32

var terrain = ndarray(new Int8Array(size * size * size), [size, size, size])

var peaks = tops(terrain)

install

With npm do:

npm install ndarray-tops

Use browserify to require('ndarray-tops').

release history

  • 0.1.0 - initial release

license

Copyright (c) 2013 Kyle Robinson Young Licensed under the MIT license.

0.1.0

11 years ago