Displaying 1 to 20 from 32 results

numjs - Like NumPy, in JavaScript


Besides its obvious scientific uses, NumJs can also be used as an efficient multi-dimensional container of generic data. NumJs is licensed under the MIT license, enabling reuse with almost no restrictions.

konva - Konva


Konva is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more. You can draw things onto the stage, add event listeners to them, move them, scale them, and rotate them independently from other shapes to support high performance animations, even if your application uses thousands of shapes. Served hot with a side of awesomeness.




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.

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.