Search results

163 packages found

Client side image cropper directive for AngularJS (rectangular area, aspect ratio, multi-touch)

published version 0.0.2, 9 years ago0 dependents licensed under $MIT
453

A packing algorithm for 2D bin packing that allows setting a max width or height. Largely based on code and a blog post by Jake Gordon and Bryan Burgers.

published version 1.0.1, 2 years ago1 dependents licensed under $MIT
521

Using a provided Opentype.js font object, draws a string, sized to fit inside a given rectangle on an HTML5 canvas

published version 1.0.2, 9 years ago2 dependents licensed under $ISC
473

A custom mode for MapboxGL Draw to draw rectangles that adds the functionality of keeping the rectangle's shape when adjusting a corner of the drawn rectangle

published version 1.2.2, a year ago0 dependents licensed under $MIT
488

Constraint a Rectangle into another by preserving the ratio.

published version 0.0.0, 10 years ago9 dependents licensed under $ISC
375

Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.

published version 0.0.0, 10 years ago10 dependents licensed under $ISC
420

A simple box with fixed aspect ratio

published version 1.3.3, 9 years ago0 dependents licensed under $MIT
407

This small library can scale any size according to other size.

published version 1.0.0, 5 years ago2 dependents licensed under $MIT
279

Find bounding box dimensions either within or surrounding arbitrary containers

published version 0.4.0, 10 years ago1 dependents licensed under $MIT
182

JavaScript 2D vector math library

published version 0.7.1, 4 months ago0 dependents licensed under $MIT
198

Simple collisions detector for 2d

published version 1.1.2, 4 months ago0 dependents licensed under $UNLICENSED
169

A function collection for working with rectangles

published version 0.0.4, 7 years ago2 dependents licensed under $MIT OR GPL-2.0
171

Adds basic drawing functionnalities to pngjs.

published version 0.0.6, 9 years ago2 dependents licensed under $MIT
172

Checks if a point is inside a shape.

published version 0.1.4, 5 years ago0 dependents licensed under $MIT
90

Interpolate 2 rectangles

published version 0.0.0, 10 years ago5 dependents licensed under $ISC
75

Fast 2d geometry math: Vector2, Rectangle, Circle, Matrix2x3 (2D transformation), Circle, BoundingBox, Line2, Segment2, Intersections, Distances, Transitions (animation/tween), Random numbers, Noise

published version 0.1.1, 9 years ago0 dependents licensed under $MIT
69

[![NPM](https://img.shields.io/npm/v/react-resizable-rotatable-draggable.svg)](https://www.npmjs.com/package/react-resizable-rotatable-draggable) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standar

published version 1.1.1, 5 months ago0 dependents licensed under $ISC
61

Force-directed graph where nodes are calculated as ellipses. Offers better layout than circular nodes when nodes are wide or tall, or vary, e.g. with text labels.

published version 0.1.1, 7 years ago1 dependents licensed under $BSD-3-Clause
63

Minimal decomposition of rectilinear polygons into rectangles

published version 1.0.0, 11 years ago3 dependents licensed under $MIT
56

Guillotine based packing algorithm

published version 1.0.2, 5 years ago0 dependents licensed under $MIT
58