JSPM

Found 189 results for triangle

simplicial-complex

Topological indexing for simplicial complexes

  • v1.0.0
  • 71.97
  • Published

cdt2d

Constrained Delaunay Triangulation in 2D

  • v1.0.0
  • 63.39
  • Published

circumcenter

Computes circumcenters of simplices

  • v1.0.0
  • 62.98
  • Published

compare-angle

Compares two angles with a common edge

  • v1.0.1
  • 62.27
  • Published

barycentric

Converts points to barycentric coordinates

  • v1.0.1
  • 60.46
  • Published

polytope-closest-point

Computes the closest point to a polytope in arbitrary dimensions

  • v1.0.0
  • 60.41
  • Published

makerjs

Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.

  • v0.18.1
  • 52.95
  • Published

manifold-3d

Geometry library for topological robustness

  • v3.2.1
  • 49.02
  • Published

poly2tri

A 2D constrained Delaunay triangulation library

  • v1.5.0
  • 45.71
  • Published

postcss-triangle

PostCSS plugin to create a triangle.

  • v2.0.0
  • 39.40
  • Published

triangle-normal

Get the normal vector of a 3D triangle

  • v0.0.0
  • 38.05
  • Published

point-in-triangle

test whether a point is inside a triangle

  • v1.0.1
  • 37.93
  • Published

plotboilerplate

A simple javascript plotting boilerplate for 2d stuff.

  • v1.25.0
  • 37.74
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 37.40
  • Published

triangle-triangle-intersection

return line segment representing the intersection between a pair of 3D triangles. based on Thomas Möller's algorithm.

  • v0.0.22
  • 36.91
  • Published

triangleos

Create a OS-like interface in html!

  • v1.0.4
  • 35.35
  • Published

triangle

Node.js library for the Triangle API.

  • v0.9.0
  • 34.20
  • Published

is-clockwise

test if 2D convex polygon is clockwise

  • v2.0.2
  • 34.19
  • Published

bunny

The Stanford bunny

  • v1.0.1
  • 34.04
  • Published

@thi.ng/geom-axidraw

Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands

  • v1.0.52
  • 31.87
  • Published

geometric-pack

Geometric pack with lots of available calculations for 2D and 3D geometry

  • v0.7.1
  • 30.79
  • Published

conway-hart

CommonJS port of George Hart's polyhedral notation library

  • v0.1.0
  • 30.45
  • Published

triangle-wasm

Javascript wrapper around Triangle - A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator

  • v1.0.0
  • 30.37
  • Published

fast-triangle-triangle-intersection

Fast and robust triangle-triangle intersection test with high precision for cross and coplanar triangles based on the algorithm by Devillers & Guigue.

    • v1.0.7
    • 29.77
    • Published

    bvh

    BVH

    • v0.5.0
    • 28.28
    • Published

    shape-svg

    Make svg polygon & star shape

    • v0.4.0
    • 27.23
    • Published

    avatar-builder

    Create a beautiful avatar for nodejs

    • v1.0.2
    • 26.64
    • Published

    triangle-draw

    draw a filled triangle directly onto a pixel buffer, with textures or interpolated vertex colors

    • v0.0.28
    • 26.57
    • Published

    bvh-tree

    A Bounding Volume Hierarchy data structure, for fast ray-mesh intersection

    • v1.0.1
    • 23.79
    • Published

    integer-sequences

    Functional library for precise access to integer sequences such as prime numbers, square numbers, triangle numbers, etc

    • v1.0.4
    • 23.78
    • Published

    barycentric-coordinates

    get barycentric coordinates for triangle and tetrahedron, convert to/from cartesian coordinates, interpolate vertex normals

    • v0.0.7
    • 23.59
    • Published

    oscillators

    the finest javascript oscillators

    • v0.6.0
    • 22.01
    • Published

    fast-prime

    Fastest Prime Number Calculation logic for nodejs and browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)

      • v0.1.0
      • 21.83
      • Published

      triangulr

      JavaScript class to generate maps of triangles

      • v1.0.3
      • 21.47
      • Published

      @casko/circular-sector

      A set of functions computing cartesian coordinates, describing circular and annular sectors.

      • v2.0.21
      • 21.25
      • Published

      triangles-index

      index a set of triangles into a set of positions/pts and cells. merge vertices fast.

      • v0.0.42
      • 20.90
      • Published

      ee-image-worker

      smart, smooth & fast image resizing and cropping

      • v0.3.0
      • 20.61
      • Published

      triangle-random-pts

      generate uniformly distributed random points in a 3d triangle

      • v0.0.13
      • 20.40
      • Published

      particle-three-sides-to-move

      An Astro component that generates interactive particles with only three possible directional choices, forming a triangle.

        • v0.0.1
        • 20.35
        • Published

        bvh-tree-plus

        A Bounding Volume Hierarchy data structure, for fast ray-mesh intersection

        • v1.0.2
        • 20.29
        • Published

        gl-quads-to-tris

        Helper module that converts an array of quad indices to an array of triangles indices

        • v1.0.0
        • 20.29
        • Published

        fast-prime-client

        Fastest Prime Number Calculation logic for browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)

          • v0.1.0
          • 20.27
          • Published

          vue-triangle-separator

          Quickly add full-bleed SVG-powered triangle separators to your page.

          • v0.1.17
          • 20.16
          • Published

          triangle-distance

          Highly optimized javascript distance function for triangles

          • v1.0.11
          • 19.20
          • Published

          triangle-area-fast

          quickly get area of 3d triangle, using cross-product

          • v0.0.25
          • 19.20
          • Published

          shape-poly

          Make CSS Polygon Shape

          • v0.0.9
          • 18.77
          • Published

          react-delaunay-hero

          A react component to display an Hero with a delaunay triangulation in background.

          • v0.0.2
          • 18.64
          • Published

          gl-mesh

          Static indexed mesh drawing for WebGL

          • v0.1.0
          • 18.50
          • Published

          react-triangle

          draw svg triangle grid with react

          • v0.3.0
          • 18.32
          • Published

          glsl-waves

          Generate waves in 1d or 2d

          • v0.0.2
          • 18.12
          • Published

          simplify-triangles

          quadratic error mesh decimation. simplified interface for npm mesh-simplifier - use simple triangles instead of Three.js geometry.

          • v0.0.17
          • 18.02
          • Published

          poly-parse

          Parses .poly or .node files and returns a JSON.

          • v1.0.7
          • 18.01
          • Published

          triangule

          a library for triangulation and other triangle calculations

          • v1.0.13
          • 18.01
          • Published

          pixel-draw

          draw stuff directly onto a pixel buffer similar to a canvas

          • v0.0.1273
          • 17.77
          • Published

          react-penrose-triangle

          Customizable and controllable typed component powered by ThreeJS and MobX.

          • v1.0.7
          • 17.54
          • Published

          3p

          Progressive triangle streams

          • v1.0.0
          • 17.29
          • Published

          shared-edge-angle

          calculate the angle between two triangles in 3d with a shared edge

            • v1.0.4
            • 17.03
            • Published

            cooriented

            Checks relative orientation of cells

            • v0.1.0
            • 16.62
            • Published

            trianglesjs

            A very simple way to create cool triangle patterns on your webpage!

            • v1.0.2
            • 16.30
            • Published

            re-poly2tri

            A 2D constrained Delaunay triangulation library

            • v1.5.1
            • 16.13
            • Published

            trigonofy

            Library to generate colorful triangular background image

              • v0.0.8
              • 15.96
              • Published

              gl-big-triangle

              Draws a big triangle that fills your entire viewport.

              • v1.0.0
              • 15.57
              • Published

              triangular-numbers

              Get the nth triangular number, or the triangular root of any number

              • v0.0.1
              • 15.33
              • Published

              nodepythagorean

              Pythagorean theorem triangle solver

              • v1.0.3
              • 15.15
              • Published

              triangled-spider-chart

              A Vue.js component that display a triangled style spider chart.

              • v0.1.4-b
              • 14.93
              • Published

              fx67ll-vue-ui

              practice vue components like elementui & do sth different ez to use

              • v0.4.0
              • 14.87
              • Published

              polygon-info

              properties of regular polygons

              • v1.1.4
              • 14.78
              • Published

              triangle-ui-react

              A beautiful and intuitive component library for React.

              • v1.0.0
              • 14.56
              • Published

              react-triangular-text

              React utility to display text in a equilateral triangular shape. Supports monospaced fonts for better alignment.

              • v1.0.2
              • 14.47
              • Published

              mesh-to-spheres

              convert a triangle mesh into a set of spheres that occupy approximately the same volume as the mesh

              • v0.0.3
              • 13.69
              • Published

              react-spiral

              A React component that renders text in a spiral shape

              • v1.0.16
              • 13.25
              • Published

              figur

              Make svg polygon & star shape

              • v0.0.3
              • 13.21
              • Published

              mesh-geodesic

              Approximate geodesic distance for triangulated meshes

              • v0.0.0-a
              • 12.97
              • Published

              calqlate

              A nodejs module for performing calculations

              • v0.2.1
              • 12.29
              • Published

              triangle-buffer

              A DOM based 3D triangle renderer

              • v0.1.7
              • 11.73
              • Published

              is-triangle

              return whether an array of points (in any dimension) describe a triangle

              • v0.1.0
              • 11.63
              • Published

              prettier-plugin-ocd

              A Prettier plugin that automatically formats JSX attributes in ascending length order (creating a left triangle pattern), making React components more visually organized and consistent.

              • v1.0.0
              • 11.57
              • Published

              point-in-simplex

              Checks if a point is contained in a simplex

              • v0.0.0
              • 11.33
              • Published

              geometric-area

              This package contains the geometric formulas for calculating area.

              • v1.0.1
              • 11.27
              • Published

              big-triangle

              2-4 dimensional "big triangle" useful for full-screen webgl shaders

              • v1.0.0
              • 11.13
              • Published

              triangle-homography

              Computes the 4 x 4 transformation matrix T such that TA = B, where A, is the known triangle and B is the target triangle

              • v0.1.0
              • 10.91
              • Published

              center-corner-vector-angle

              angle between the center and each corner of a regular minimal polygon in n dimensions

              • v1.0.0
              • 10.80
              • Published

              @lekhanhsinh/universal-grid

              A library for making grid with vairous built-in tilings, heavily inspired by [Red Blob Games'](http://www.redblobgames.com/grids/hexagons/) and libary [Honeycomb](https://github.com/flauwekeul/honeycomb)

              • v0.4.0
              • 10.47
              • Published

              triangle-split

              Iteratively split triangles to get a more uniform tessellation

              • v1.0.1
              • 10.38
              • Published

              triangle-solution

              A set of formulas for solving a triangle

                • v1.0.3
                • 10.34
                • Published

                niho_nor

                  • v1.0.3
                  • 10.28
                  • Published

                  @tailwindash/triangle

                  Tailwind plugin to build triangle with border attributes

                  • v1.0.5
                  • 10.14
                  • Published

                  @omidteimoori/node-red-data-generator

                  A customizable Node-RED node to simulate various data patterns including sinusoidal, random, rising, falling, square, triangle, and sawtooth. Ideal for testing and prototyping dashboards, PLC interfaces, and IoT flows.

                  • v1.0.0
                  • 9.57
                  • Published

                  shape-tri

                  Make CSS Triangle Shape

                  • v0.1.0
                  • 9.57
                  • Published

                  twodee

                  Two dimensional geometry manipulation

                  • v0.2.5
                  • 9.37
                  • Published

                  @datatypes/face

                  Class for 2-faces to use as facets of polyhedrons and polygon meshes

                  • v0.2.0
                  • 7.99
                  • Published

                  @localzet/triangle

                  1. [Node.js LTS](https://nodejs.org/en/) 2. Навыки [Typescript](https://github.com/microsoft/typescript) _(не должен быть установлен глобально)_ 3. Навыки [Tailwind CSS](https://tailwindcss.com/) 4. (Рекомендуется) [VSCode](https://code.visualstudio.co

                  • v1.5.0
                  • 7.75
                  • Published

                  image-tessellator

                  Draw triangles over an image to create a cool effect

                  • v1.0.6
                  • 7.75
                  • Published

                  glsl-quads-to-tris

                  Helper module that converts an array of quad indices to an array of triangles indices

                  • v1.0.0
                  • 7.63
                  • Published

                  @janschoepke/triangle-js

                  A smart and tiny, no-dependency JavaScript/CSS library for creating beautiful colored triangle backgrounds.

                  • v1.0.0
                  • 7.45
                  • Published

                  @khulnasoft/triangle

                  Command-line interface for all things Khulnasoft Workers

                  • v1.21.0
                  • 7.45
                  • Published

                  triangle-geohash

                  triangle-geohash is pretty much geohash but with triangles. Earth is split into an icosahedron, and each one of those triangles is split into 4 sub triangles. Hashes are formatted in the following way: [primary triangle number]|[sub triangle numbers], so

                  • v0.0.3
                  • 7.45
                  • Published

                  react-shape-svg

                  Make svg polygon & star shape for React

                  • v0.1.4
                  • 7.35
                  • Published

                  polygon-math

                  A TypeScript library for calculating areas of triangles and quadrilaterals using Bretschneider's formula

                    • v1.0.0
                    • 7.22
                    • Published

                    shapes.js

                    A creator for div with different shapes

                    • v1.0.1
                    • 7.01
                    • Published

                    triangle-taxonomist

                    A simple command-line tool for categorizing triangles. Edit

                    • v0.1.1
                    • 6.40
                    • Published

                    triangles-islands

                    breaks up a triangle mesh into "islands" (connected components)

                    • v0.0.2
                    • 6.33
                    • Published

                    styled-shapes

                    html shapes implemented with styled-system props

                    • v0.1.5
                    • 6.33
                    • Published

                    glsl-shapes

                    2d shapes in glsl

                    • v0.0.2
                    • 6.15
                    • Published

                    triangulator2

                    SVG triangle art generator

                    • v1.0.1
                    • 6.15
                    • Published

                    maxwell-triangle

                    Get color values inside a Maxwell triangle from positions and vice versa.

                    • v1.0.1
                    • 5.45
                    • Published

                    @kamataryo/tri-coords

                    三角形の3辺の長さから座標を計算するCLIツール

                      • v1.0.0
                      • 5.38
                      • Published

                      sierpinski

                      Sierpinski triangles using canvas.

                      • v0.1.0
                      • 5.33
                      • Published

                      threejs-geometry-lodtriangle

                      A level-of-detail triangle geometry base meant to graph 2d alorithms. Great for landscapes.

                      • v3.0.0
                      • 5.28
                      • Published

                      solve-triangle

                      Triangle solver. Calculates side lengths, angle values, area, centroid, incircle, circumcircle and altitudes.

                      • v1.0.4
                      • 5.13
                      • Published

                      svelte-figur

                      Make svg polygon & star shape for React

                      • v0.0.4
                      • 5.13
                      • Published

                      drawfigures

                      This package is designed for drawing geometrical figures. It has 4 functions so far.

                        • v1.0.2
                        • 4.12
                        • Published

                        react-safety-triangle

                        This package contains an implementation of the Safety Triangle concept for context menu's, inspired by this article: https://www.smashingmagazine.com/2023/08/better-context-menus-safe-triangles/

                        • v1.0.1
                        • 3.99
                        • Published

                        valid-triangle

                        Given 3 side lengths, return true or false if valid triangle can be formed

                        • v1.0.0
                        • 3.88
                        • Published

                        react-figur

                        Make svg polygon & star shape for React

                        • v0.0.3
                        • 2.46
                        • Published

                        permjs

                        A library providing mathematical permutation, combination, and factorials.

                        • v1.0.0
                        • 2.36
                        • Published