JSPM

Found 186 results for triangle

simplicial-complex

Topological indexing for simplicial complexes

  • v1.0.0
  • 72.42
  • Published

circumcenter

Computes circumcenters of simplices

  • v1.0.0
  • 63.19
  • Published

cdt2d

Constrained Delaunay Triangulation in 2D

  • v1.0.0
  • 63.15
  • Published

compare-angle

Compares two angles with a common edge

  • v1.0.1
  • 62.63
  • Published

barycentric

Converts points to barycentric coordinates

  • v1.0.1
  • 60.91
  • Published

polytope-closest-point

Computes the closest point to a polytope in arbitrary dimensions

  • v1.0.0
  • 60.88
  • 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
  • 58.05
  • Published

manifold-3d

Geometry library for topological robustness

  • v3.2.1
  • 51.06
  • Published

poly2tri

A 2D constrained Delaunay triangulation library

  • v1.5.0
  • 46.57
  • Published

postcss-triangle

PostCSS plugin to create a triangle.

  • v2.0.0
  • 40.29
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 37.82
  • Published

point-in-triangle

test whether a point is inside a triangle

  • v1.0.1
  • 37.53
  • Published

triangle-normal

Get the normal vector of a 3D triangle

  • v0.0.0
  • 37.47
  • Published

triangle

Node.js library for the Triangle API.

  • v0.9.0
  • 35.37
  • 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
  • 34.02
  • Published

is-clockwise

test if 2D convex polygon is clockwise

  • v2.0.2
  • 32.61
  • Published

bunny

The Stanford bunny

  • v1.0.1
  • 32.33
  • Published

@thi.ng/geom-axidraw

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

  • v1.0.48
  • 32.17
  • Published

conway-hart

CommonJS port of George Hart's polyhedral notation library

  • v0.1.0
  • 28.19
  • 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
    • 27.60
    • Published

    shape-svg

    Make svg polygon & star shape

    • v0.4.0
    • 27.23
    • Published

    triangle-wasm

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

    • v1.0.0
    • 26.80
    • Published

    triangule

    a library for triangulation and other triangle calculations

    • v1.0.12
    • 26.76
    • Published

    plotboilerplate

    A simple javascript plotting boilerplate for 2d stuff.

    • v1.24.0
    • 25.68
    • Published

    oscillators

    the finest javascript oscillators

    • v0.6.0
    • 25.14
    • Published

    bvh-tree

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

    • v1.0.1
    • 25.08
    • Published

    avatar-builder

    Create a beautiful avatar for nodejs

    • v1.0.2
    • 24.20
    • Published

    glsl-waves

    Generate waves in 1d or 2d

    • v0.0.2
    • 24.10
    • Published

    gl-big-triangle

    Draws a big triangle that fills your entire viewport.

    • v1.0.0
    • 22.44
    • Published

    integer-sequences

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

    • v1.0.4
    • 21.13
    • Published

    triangulr

    JavaScript class to generate maps of triangles

    • v1.0.3
    • 19.42
    • Published

    triangle-draw

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

    • v0.0.28
    • 16.72
    • Published

    geometric-pack

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

    • v0.7.1
    • 14.18
    • Published

    gl-mesh

    Static indexed mesh drawing for WebGL

    • v0.1.0
    • 13.88
    • 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
      • 13.79
      • Published

      barycentric-coordinates

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

      • v0.0.7
      • 13.29
      • Published

      @tailwindash/triangle

      Tailwind plugin to build triangle with border attributes

      • v1.0.5
      • 13.23
      • Published

      triangle-buffer

      A DOM based 3D triangle renderer

      • v0.1.7
      • 13.12
      • Published

      react-triangle

      draw svg triangle grid with react

      • v0.3.0
      • 13.08
      • Published

      styled-shapes

      html shapes implemented with styled-system props

      • v0.1.5
      • 13.07
      • 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
        • 13.01
        • Published

        gl-quads-to-tris

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

        • v1.0.0
        • 12.68
        • Published

        fx67ll-vue-ui

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

        • v0.4.0
        • 12.68
        • 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
        • 12.52
        • Published

        mesh-geodesic

        Approximate geodesic distance for triangulated meshes

        • v0.0.0-a
        • 12.42
        • Published

        bvh-tree-plus

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

        • v1.0.2
        • 11.87
        • Published

        bvh

        BVH

        • v0.5.0
        • 11.42
        • 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.27
        • Published

        react-spiral

        A React component that renders text in a spiral shape

        • v1.0.16
        • 11.05
        • Published

        simplify-triangles

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

        • v0.0.17
        • 10.95
        • Published

        cooriented

        Checks relative orientation of cells

        • v0.1.0
        • 10.95
        • Published

        pixel-draw

        draw stuff directly onto a pixel buffer similar to a canvas

        • v0.0.1273
        • 10.93
        • Published

        poly-parse

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

        • v1.0.7
        • 10.45
        • Published

        react-penrose-triangle

        Customizable and controllable typed component powered by ThreeJS and MobX.

        • v1.0.7
        • 10.40
        • Published

        shape-poly

        Make CSS Polygon Shape

        • v0.0.9
        • 10.40
        • Published

        triangle-random-pts

        generate uniformly distributed random points in a 3d triangle

        • v0.0.13
        • 10.40
        • Published

        3p

        Progressive triangle streams

        • v1.0.0
        • 10.12
        • Published

        calqlate

        A nodejs module for performing calculations

        • v0.2.1
        • 10.12
        • Published

        geometric-area

        This package contains the geometric formulas for calculating area.

        • v1.0.1
        • 10.12
        • Published

        point-in-simplex

        Checks if a point is contained in a simplex

        • v0.0.0
        • 9.93
        • Published

        @casko/circular-sector

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

        • v2.0.21
        • 9.93
        • Published

        polygon-info

        properties of regular polygons

        • v1.1.4
        • 9.90
        • 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
        • 9.82
        • Published

        twodee

        Two dimensional geometry manipulation

        • v0.2.5
        • 9.38
        • Published

        @datatypes/face

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

        • v0.2.0
        • 9.34
        • Published

        nodepythagorean

        Pythagorean theorem triangle solver

        • v1.0.3
        • 8.50
        • 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
        • 8.50
        • Published

        re-poly2tri

        A 2D constrained Delaunay triangulation library

        • v1.5.1
        • 8.19
        • Published

        vue-triangle-separator

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

        • v0.1.17
        • 8.08
        • Published

        react-delaunay-hero

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

        • v0.0.2
        • 7.83
        • Published

        is-triangle

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

        • v0.1.0
        • 7.83
        • Published

        triangled-spider-chart

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

        • v0.1.4-b
        • 7.30
        • Published

        sierpinski

        Sierpinski triangles using canvas.

        • v0.1.0
        • 7.30
        • Published

        polygon-math

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

          • v1.0.0
          • 7.27
          • Published

          trianglesjs

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

          • v1.0.2
          • 6.62
          • Published

          center-corner-vector-angle

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

          • v1.0.0
          • 6.49
          • Published

          react-shape-svg

          Make svg polygon & star shape for React

          • v0.1.4
          • 6.40
          • 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.38
          • Published

          triangle-split

          Iteratively split triangles to get a more uniform tessellation

          • v1.0.1
          • 5.59
          • Published

          react-triangular-text

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

          • v1.0.2
          • 5.34
          • Published

          threejs-geometry-lodtriangle

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

          • v3.0.0
          • 5.32
          • Published

          triangle-area-fast

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

          • v0.0.25
          • 5.32
          • Published

          shared-edge-angle

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

            • v1.0.4
            • 5.18
            • Published

            triangle-solution

            A set of formulas for solving a triangle

              • v1.0.3
              • 4.24
              • Published

              big-triangle

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

              • v1.0.0
              • 4.17
              • Published

              shape-tri

              Make CSS Triangle Shape

              • v0.1.0
              • 4.17
              • Published

              maxwell-triangle

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

              • v1.0.1
              • 4.17
              • 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
              • 4.17
              • Published

              triangles-index

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

              • v0.0.42
              • 4.09
              • Published

              figur

              Make svg polygon & star shape

              • v0.0.3
              • 4.04
              • Published

              shapes.js

              A creator for div with different shapes

              • v1.0.1
              • 3.91
              • Published

              valid-triangle

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

              • v1.0.0
              • 3.91
              • Published

              glsl-shapes

              2d shapes in glsl

              • v0.0.2
              • 3.91
              • Published

              triangular-numbers

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

              • v0.0.1
              • 3.91
              • Published

              triangulator2

              SVG triangle art generator

              • v1.0.1
              • 3.91
              • Published

              svelte-figur

              Make svg polygon & star shape for React

              • v0.0.4
              • 3.91
              • Published

              glsl-quads-to-tris

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

              • v1.0.0
              • 2.47
              • Published

              drawfigures

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

                • v1.0.2
                • 2.44
                • 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
                • 2.44
                • Published

                @kamataryo/tri-coords

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

                  • v1.0.0
                  • 2.36
                  • Published

                  permjs

                  A library providing mathematical permutation, combination, and factorials.

                  • v1.0.0
                  • 2.36
                  • Published

                  solve-triangle

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

                  • v1.0.4
                  • 2.29
                  • Published

                  triangle-ui-react

                  A beautiful and intuitive component library for React.

                  • v1.0.0
                  • 2.29
                  • Published

                  image-tessellator

                  Draw triangles over an image to create a cool effect

                  • v1.0.6
                  • 2.29
                  • Published

                  triangle-distance

                  Highly optimized javascript distance function for triangles

                  • v1.0.11
                  • 0.00
                  • 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
                  • 0.00
                  • Published

                  @khulnasoft/triangle

                  Command-line interface for all things Khulnasoft Workers

                  • v1.21.0
                  • 0.00
                  • Published

                  @janschoepke/triangle-js

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

                  • v1.0.0
                  • 0.00
                  • Published

                  ee-image-worker

                  smart, smooth & fast image resizing and cropping

                  • v0.3.0
                  • 0.00
                  • Published

                  trigonofy

                  Library to generate colorful triangular background image

                    • v0.0.8
                    • 0.00
                    • 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
                    • 0.00
                    • Published

                    react-figur

                    Make svg polygon & star shape for React

                    • v0.0.3
                    • 0.00
                    • Published