Displaying 1 to 19 from 19 results

ndarray - 📈 Multidimensional arrays for JavaScript

Modular multidimensional arrays for JavaScript.ndarrays can be transposed, flipped, sheared and sliced in constant time per operation. They are useful for representing images, audio, volume graphics, matrices, strings and much more. They work both in node.js and with browserify.

chaikin-smooth - Chaikin's smoothing algorithm for 2D polylines

Chaikin's smoothing algorithm for 2D polylines.Performs the smoothing algorithm on the specified path, returning a list populated with the additional smoothed points. If the input path has a length of <= 2, the result will be a new array with the same points as the input.

layout-bmfont-text - word-wraps and lays out text glyphs

Provides layout and word-wrapping for left-to-right Latin text, primarily aimed at bitmap font rendering in Canvas/WebGL. The input font should be in the format of BMFont json, see here.You can use bmfont-lato for testing, or load-bmfont for Node/Browser loading.

concaveman - A very fast 2D concave hull algorithm in JavaScript

A very fast 2D concave hull algorithm in JavaScript (generates a general outline of a point set).The algorithm is based on ideas from the paper A New Concave Hull Algorithm and Concaveness Measure for n-dimensional Datasets, 2012 by Jin-Seo Park and Se-Jong Oh.

triangulate-contours - triangulates a series of 2D contours

Triangulates a series of contours using Tess2.js. Returns a simplicial complex with { positions, cells }. Works with 2D and 3D coordinates, and contours can be in reverse winding order for holes.positions are a series of points with the same number of components as the input, and cells is a list of faces with indices into the positions array.

svg-morph - morph animation between two svg path arrays

then load index.html in a browser.Create a new morph animation svg that morphs between the point arrays a and b. Each element in a and b is of the form [x,y].

node-surrender - draw lines and shapes on the terminal

Draw lines and shapes on the terminal.Create a new surrender object from opts.

Shapes - Net standard geometry/shape manipulation library, can be used to merge / split shapes

SixLabors.Shapes is a new cross-platform 2D polygon manipulation AP.At present the code is pre-release we have initial pre-releases availible on nuget.

vivid.ex - Vivid is a simple 2D rendering library written in Elixir.

Vivid is a simple 2D rendering library. I implemented a simple ASCII renderer for debugging and testing purposes, so at any time you can pipe almost any Vivid struct to IO.puts and the contents of the buffer will be rendered and printed onto the screen.

sstp - Convert rect/circle/ellipse/polygon elements to path element.

Convert rect/circle/ellipse/polygon elements to path element. Convert rect/circle/ellipse/polygon elements to path element. Don't contain line and polyline element. if need, please use rect instead.

Music-Cover-View - Subclass of ImageView that 'morphs' into a circle shape and can rotates

A Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. It's used by this Music Player prototype.

alpha-complex - Computes the alpha complex of a point set in any dimension

Alpha shapes are a generalization of Delaunay triangulations. Given a parameter alpha and a point set, they compute a simplicial complex which covers the point set in simplices whose circum radii are less than 1/alpha. This module works in node.js/iojs/browserify and supports point sets in any dimension.

shapeshifter - 🐺 Generate relational schemas, PropTypes, Flow aliases, and TypeScript interfaces from JSON or GraphQL schematic files

Shapeshifter is a command line tool for generating ECMAScript (ES) compatible files that export PropTypes, Flow aliases, and TypeScript interfaces, as well as relation schema classes from JS, JSON or GraphQL schematic files. Schematics can represent database tables, API endpoints, data structures, resources, internal shapes, and more.

node-shaper - Create through stream which limits speed to bytes per second/chunks per second

Inspired by node-throttle module, but acts as a through stream and splits input chunks if required to maintain target speed as close as possible. chunkRate - (default is 10) - output chunk rate. If target speed is 20000 bytes per second and chunk rate is 100, you'll have 100 chunks per second stream, each 200 bytes in size (on average). Note that if input stream is slower then target, chunks are sent immideately at input rate, wich could be higher than target chunk rate. If input is 1000 chunks per second, each 10 bytes shape(20000, 500) should give same 1000 chunk per second x 10 bytes stream.