Displaying 1 to 20 from 43 results

numjs - Like NumPy, in JavaScript

  •    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

  •    Javascript

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.




flubber - Tools for smoother shape animations.

  •    Javascript

Some best-guess methods for smoothly interpolating between 2-D shapes. Let's say you want to animate between two SVG paths or canvas shapes in a visualization. If you plug in their coordinates or their path strings to something like d3.transition(), it might work if the shapes correspond to each other really well - for example, turning a triangle into a different triangle. But once your shapes don't really correspond, you'll get unpredictable results with weird inversions and sudden jumps.

ndarray - 📈 Multidimensional arrays for JavaScript

  •    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.

torchtyping - Type annotations and dynamic checking for a tensor's shape, dtype, names, etc.

  •    Python

with programmatic checking that the shape (dtype, ...) specification is met. Bye-bye bugs! Say hello to enforced, clear documentation of your code.


Leaflet

  •    Javascript

Zoopla inspired freehand polygon creation using Leaflet.js.

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

  •    Javascript

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

  •    Javascript

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

  •    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

  •    Javascript

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

  •    Javascript

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

  •    Javascript

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

  •    CSharp

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.

  •    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.

object-shape - Get a description of a JS object's shape.

  •    Javascript

Returns a String description of a given object's shape.