JSPM

Found 195 results for triangle

@turf/triangle-grid

Creates a triangular grid within a bounding box.

  • v7.3.5
  • 89.39
  • Published

simplicial-complex

Topological indexing for simplicial complexes

  • v1.0.0
  • 73.14
  • Published

cdt2d

Constrained Delaunay Triangulation in 2D

  • v1.0.0
  • 65.05
  • Published

circumcenter

Computes circumcenters of simplices

  • v1.0.0
  • 64.69
  • Published

compare-angle

Compares two angles with a common edge

  • v1.0.1
  • 63.91
  • 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.19.2
  • 62.45
  • Published

manifold-3d

Geometry library for topological robustness

  • v3.4.1
  • 61.05
  • Published

barycentric

Converts points to barycentric coordinates

  • v1.0.1
  • 60.90
  • Published

polytope-closest-point

Computes the closest point to a polytope in arbitrary dimensions

  • v1.0.0
  • 60.85
  • Published

poly2tri

A 2D constrained Delaunay triangulation library

  • v1.5.0
  • 50.04
  • Published

periodic-function

Periodic waveform functions — phase normalized to [0,1]

  • v2.1.0
  • 44.05
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 42.60
  • Published

postcss-triangle

PostCSS plugin to create a triangle.

  • v2.0.0
  • 40.79
  • Published

triangle-normal

Get the normal vector of a 3D triangle

  • v0.0.0
  • 40.22
  • Published

point-in-triangle

test whether a point is inside a triangle

  • v1.0.1
  • 38.82
  • Published

triangle-wasm

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

  • v1.0.0
  • 38.00
  • Published

bunny

The Stanford bunny

  • v1.0.1
  • 37.99
  • Published

@casko/circular-sector

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

  • v3.0.2
  • 37.27
  • Published

@thi.ng/geom-axidraw

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

  • v1.0.87
  • 37.18
  • 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.98
  • Published

triangulr

JavaScript class to generate maps of triangles

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

    plotboilerplate

    A simple javascript plotting boilerplate for 2d stuff.

    • v1.27.1
    • 34.96
    • Published

    shape-svg

    Make svg polygon & star shape

    • v0.4.0
    • 34.15
    • Published

    is-clockwise

    test if 2D convex polygon is clockwise

    • v2.0.2
    • 34.02
    • Published

    conway-hart

    CommonJS port of George Hart's polyhedral notation library

    • v0.1.0
    • 28.96
    • Published

    triangle

    Node.js library for the Triangle API.

    • v0.9.0
    • 28.87
    • Published

    triangleos

    Create a OS-like interface in html!

    • v1.1.0
    • 28.86
    • Published

    trimesh-boolean

    Triangle mesh boolean operations — supports open surfaces, terrain intersection, and mesh repair

    • v0.5.6
    • 28.80
    • 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
      • 28.51
      • Published

      oscillators

      the finest javascript oscillators

      • v0.6.0
      • 28.34
      • Published

      bvh-tree

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

      • v1.0.1
      • 25.97
      • Published

      avatar-builder

      Create a beautiful avatar for nodejs

      • v1.0.2
      • 25.96
      • Published

      bvh

      BVH

      • v0.5.0
      • 25.57
      • Published

      fx67ll-vue-ui

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

      • v0.5.0
      • 25.57
      • Published

      geometric-pack

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

      • v0.7.1
      • 25.21
      • Published

      barycentric-coordinates

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

      • v0.0.7
      • 25.06
      • Published

      triangle-draw

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

      • v0.0.28
      • 24.75
      • Published

      pixel-draw

      draw stuff directly onto a pixel buffer similar to a canvas

      • v0.0.1273
      • 23.74
      • Published

      re-poly2tri

      A 2D constrained Delaunay triangulation library

      • v1.5.1
      • 23.42
      • Published

      styled-shapes

      html shapes implemented with styled-system props

      • v0.1.5
      • 23.29
      • Published

      simplify-triangles

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

      • v0.0.17
      • 23.25
      • Published

      triangles-index

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

      • v0.0.42
      • 23.16
      • Published

      triangle-random-pts

      generate uniformly distributed random points in a 3d triangle

      • v0.0.13
      • 22.79
      • Published

      react-spiral

      A React component that renders text in a spiral shape

      • v1.0.16
      • 22.68
      • Published

      react-triangle

      draw svg triangle grid with react

      • v0.3.0
      • 21.80
      • Published

      @tailwindash/triangle

      Tailwind plugin to build triangle with border attributes

      • v1.0.5
      • 21.76
      • Published

      triangle-area-fast

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

      • v0.0.25
      • 21.64
      • Published

      triangle-distance

      Highly optimized javascript distance function for triangles

      • v1.0.11
      • 21.26
      • Published

      gl-quads-to-tris

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

      • v1.0.0
      • 21.14
      • Published

      bvh-tree-plus

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

      • v1.0.2
      • 21.14
      • Published

      integer-sequences

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

      • v1.0.4
      • 21.05
      • Published

      react-penrose-triangle

      Customizable and controllable typed component powered by ThreeJS and MobX.

      • v1.0.7
      • 20.94
      • Published

      shape-poly

      Make CSS Polygon Shape

      • v0.0.9
      • 20.33
      • Published

      poly-parse

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

      • v1.0.7
      • 20.30
      • Published

      triangule

      a library for triangulation and other triangle calculations

      • v1.0.16
      • 19.99
      • Published

      polygon-info

      properties of regular polygons

      • v1.1.4
      • 19.95
      • Published

      vue-triangle-separator

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

      • v0.1.17
      • 19.78
      • Published

      gl-mesh

      Static indexed mesh drawing for WebGL

      • v0.1.0
      • 19.47
      • 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
        • 19.19
        • Published

        candramov

        This is a canvas library which anybody can use in browser to integrate drawing basic shapes functionality into your web applications such as Box, Triangle, Lines, Circle, ellipsis and change circle x and y radius using just your mouse to draw and enable s

          • v1.0.13
          • 19.10
          • Published

          react-shape-svg

          Make svg polygon & star shape for React

          • v0.1.4
          • 18.97
          • Published

          triangle-buffer

          A DOM based 3D triangle renderer

          • v0.1.7
          • 18.80
          • Published

          twodee

          Two dimensional geometry manipulation

          • v0.2.5
          • 18.25
          • 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
          • 18.11
          • Published

          3p

          Progressive triangle streams

          • v1.0.0
          • 17.99
          • Published

          nodepythagorean

          Pythagorean theorem triangle solver

          • v1.0.3
          • 17.99
          • Published

          shared-edge-angle

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

            • v1.0.4
            • 17.99
            • Published

            cooriented

            Checks relative orientation of cells

            • v0.1.0
            • 17.82
            • Published

            triangular-numbers

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

            • v0.0.1
            • 17.74
            • Published

            gl-big-triangle

            Draws a big triangle that fills your entire viewport.

            • v1.0.0
            • 17.49
            • Published

            triangle-solution

            A set of formulas for solving a triangle

              • v1.0.3
              • 17.48
              • Published

              figur

              Make svg polygon & star shape

              • v0.0.3
              • 17.08
              • Published

              image-tessellator

              Draw triangles over an image to create a cool effect

              • v1.0.6
              • 16.78
              • Published

              trigonofy

              Library to generate colorful triangular background image

                • v0.0.8
                • 16.62
                • Published

                mesh-geodesic

                Approximate geodesic distance for triangulated meshes

                • v0.0.0-a
                • 16.62
                • Published

                triangled-spider-chart

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

                • v0.1.4-b
                • 16.43
                • Published

                triangle-taxonomist

                A simple command-line tool for categorizing triangles. Edit

                • v0.1.1
                • 16.43
                • Published

                tess-extrude

                Extrude 2D polygon outlines into THREE.BufferGeometry using Delaunay tessellation (triangle-wasm)

                • v0.2.1
                • 16.18
                • Published

                calqlate

                A nodejs module for performing calculations

                • v0.2.1
                • 16.14
                • Published

                solve-triangle

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

                • v1.0.5
                • 16.14
                • Published

                glsl-waves

                Generate waves in 1d or 2d

                • v0.0.2
                • 16.03
                • 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
                • 16.02
                • Published

                triangle-split

                Iteratively split triangles to get a more uniform tessellation

                • v1.0.1
                • 15.94
                • Published

                @datatypes/face

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

                • v0.2.0
                • 15.88
                • Published

                center-corner-vector-angle

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

                • v1.0.0
                • 15.74
                • Published

                @7syllable/photon-core

                Photon is a modern JavaScript library for creating and sharing modular line drawings for CNC and laser cutters. Resurrected from Microsoft's Maker.js.

                • v0.18.1
                • 15.18
                • Published

                react-delaunay-hero

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

                • v0.0.2
                • 14.83
                • 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
                • 14.83
                • Published

                shape-tri

                Make CSS Triangle Shape

                • v0.1.0
                • 14.83
                • Published

                react-triangular-text

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

                • v1.0.2
                • 14.64
                • Published

                is-triangle

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

                • v0.1.0
                • 14.61
                • 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
                • 14.21
                • Published

                triangulator2

                SVG triangle art generator

                • v1.0.1
                • 14.16
                • Published

                point-in-simplex

                Checks if a point is contained in a simplex

                • v0.0.0
                • 13.81
                • Published

                threejs-geometry-lodtriangle

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

                • v3.0.0
                • 13.79
                • Published

                valid-triangle

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

                • v1.0.0
                • 13.66
                • Published

                triangle-ui-react

                A beautiful and intuitive component library for React.

                • v1.0.0
                • 13.40
                • Published

                glsl-shapes

                2d shapes in glsl

                • v0.0.2
                • 13.40
                • Published

                @khulnasoft/triangle

                Command-line interface for all things Khulnasoft Workers

                • v1.21.0
                • 13.34
                • 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
                • 13.12
                • Published

                react-figur

                Make svg polygon & star shape for React

                • v0.0.3
                • 13.07
                • Published

                @janschoepke/triangle-js

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

                • v1.0.0
                • 12.62
                • Published

                niho_nor

                  • v1.0.3
                  • 12.58
                  • Published

                  shapeworkerjs

                  ​A comprehensive JavaScript library for 2D and 3D geometric calculations (area, perimeter, volume, surface area).

                  • v1.0.0
                  • 12.23
                  • Published

                  big-triangle

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

                  • v1.0.0
                  • 12.23
                  • Published

                  svelte-figur

                  Make svg polygon & star shape for React

                  • v0.0.4
                  • 12.19
                  • Published

                  permjs

                  A library providing mathematical permutation, combination, and factorials.

                  • v1.0.0
                  • 12.08
                  • Published

                  sierpinski

                  Sierpinski triangles using canvas.

                  • v0.1.0
                  • 12.08
                  • Published

                  glsl-quads-to-tris

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

                  • v1.0.0
                  • 11.81
                  • Published

                  trianglesjs

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

                  • v1.0.2
                  • 11.81
                  • Published

                  maxwell-triangle

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

                  • v1.0.1
                  • 11.81
                  • Published

                  shapes.js

                  A creator for div with different shapes

                  • v1.0.1
                  • 11.09
                  • Published

                  geometric-area

                  This package contains the geometric formulas for calculating area.

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

                  drawfigures

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

                    • v1.0.2
                    • 9.77
                    • Published

                    @kamataryo/tri-coords

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

                      • v1.0.0
                      • 9.61
                      • Published

                      triangles-islands

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

                      • v0.0.2
                      • 9.44
                      • 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
                        • 7.90
                        • 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
                        • 7.61
                        • Published

                        polygon-math

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

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