JSPM

Found 190 results for triangle

triangle-normal

Get the normal vector of a 3D triangle

  • v0.0.0
  • 38.70
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 37.91
  • Published

point-in-triangle

test whether a point is inside a triangle

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

triangleos

Create a OS-like interface in html!

  • v1.0.4
  • 35.55
  • Published

bunny

The Stanford bunny

  • v1.0.1
  • 34.24
  • Published

triangle

Node.js library for the Triangle API.

  • v0.9.0
  • 33.22
  • Published

is-clockwise

test if 2D convex polygon is clockwise

  • v2.0.2
  • 33.17
  • 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
  • 32.16
  • Published

geometric-pack

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

  • v0.7.1
  • 30.97
  • Published

triangle-wasm

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

  • v1.0.0
  • 30.55
  • Published

conway-hart

CommonJS port of George Hart's polyhedral notation library

  • v0.1.0
  • 30.34
  • 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.95
    • Published

    bvh

    BVH

    • v0.5.0
    • 29.70
    • Published

    triangle-draw

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

    • v0.0.28
    • 28.30
    • Published

    avatar-builder

    Create a beautiful avatar for nodejs

    • v1.0.2
    • 27.55
    • Published

    shape-svg

    Make svg polygon & star shape

    • v0.4.0
    • 27.48
    • Published

    integer-sequences

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

    • v1.0.4
    • 24.05
    • Published

    bvh-tree

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

    • v1.0.1
    • 24.00
    • Published

    barycentric-coordinates

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

    • v0.0.7
    • 23.03
    • Published

    oscillators

    the finest javascript oscillators

    • v0.6.0
    • 22.31
    • 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.95
      • Published

      triangulr

      JavaScript class to generate maps of triangles

      • v1.0.3
      • 21.67
      • Published

      @casko/circular-sector

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

      • v2.0.21
      • 21.45
      • Published

      ee-image-worker

      smart, smooth & fast image resizing and cropping

      • v0.3.0
      • 20.80
      • Published

      triangles-index

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

      • v0.0.42
      • 20.64
      • Published

      bvh-tree-plus

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

      • v1.0.2
      • 20.64
      • Published

      gl-quads-to-tris

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

      • v1.0.0
      • 20.64
      • Published

      triangle-random-pts

      generate uniformly distributed random points in a 3d triangle

      • v0.0.13
      • 20.64
      • 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.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
          • 20.39
          • Published

          vue-triangle-separator

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

          • v0.1.17
          • 20.17
          • Published

          triangle-distance

          Highly optimized javascript distance function for triangles

          • v1.0.11
          • 19.31
          • Published

          triangle-area-fast

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

          • v0.0.25
          • 19.31
          • Published

          shape-poly

          Make CSS Polygon Shape

          • v0.0.9
          • 18.88
          • Published

          pixel-draw

          draw stuff directly onto a pixel buffer similar to a canvas

          • v0.0.1273
          • 18.86
          • Published

          react-delaunay-hero

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

          • v0.0.2
          • 18.75
          • Published

          glsl-waves

          Generate waves in 1d or 2d

          • v0.0.2
          • 18.29
          • Published

          triangule

          a library for triangulation and other triangle calculations

          • v1.0.13
          • 18.02
          • Published

          gl-mesh

          Static indexed mesh drawing for WebGL

          • v0.1.0
          • 17.92
          • Published

          react-penrose-triangle

          Customizable and controllable typed component powered by ThreeJS and MobX.

          • v1.0.7
          • 17.64
          • Published

          poly-parse

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

          • v1.0.7
          • 17.59
          • Published

          react-triangle

          draw svg triangle grid with react

          • v0.3.0
          • 17.51
          • Published

          3p

          Progressive triangle streams

          • v1.0.0
          • 17.39
          • Published

          shared-edge-angle

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

            • v1.0.4
            • 17.13
            • Published

            simplify-triangles

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

            • v0.0.17
            • 16.98
            • Published

            trianglesjs

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

            • v1.0.2
            • 16.52
            • Published

            trigonofy

            Library to generate colorful triangular background image

              • v0.0.8
              • 16.10
              • Published

              gl-big-triangle

              Draws a big triangle that fills your entire viewport.

              • v1.0.0
              • 15.71
              • Published

              triangular-numbers

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

              • v0.0.1
              • 15.42
              • Published

              nodepythagorean

              Pythagorean theorem triangle solver

              • v1.0.3
              • 15.24
              • Published

              triangled-spider-chart

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

              • v0.1.4-b
              • 15.07
              • Published

              polygon-info

              properties of regular polygons

              • v1.1.4
              • 14.86
              • Published

              triangle-ui-react

              A beautiful and intuitive component library for React.

              • v1.0.0
              • 14.64
              • Published

              re-poly2tri

              A 2D constrained Delaunay triangulation library

              • v1.5.1
              • 14.34
              • Published

              fx67ll-vue-ui

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

              • v0.4.0
              • 14.26
              • Published

              cooriented

              Checks relative orientation of cells

              • v0.1.0
              • 14.25
              • 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.88
              • Published

              mesh-geodesic

              Approximate geodesic distance for triangulated meshes

              • v0.0.0-a
              • 13.04
              • Published

              react-triangular-text

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

              • v1.0.2
              • 12.91
              • Published

              react-spiral

              A React component that renders text in a spiral shape

              • v1.0.16
              • 12.80
              • Published

              calqlate

              A nodejs module for performing calculations

              • v0.2.1
              • 12.36
              • Published

              triangle-buffer

              A DOM based 3D triangle renderer

              • v0.1.7
              • 11.84
              • 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.73
              • Published

              is-triangle

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

              • v0.1.0
              • 11.70
              • Published

              point-in-simplex

              Checks if a point is contained in a simplex

              • v0.0.0
              • 11.43
              • Published

              figur

              Make svg polygon & star shape

              • v0.0.3
              • 11.43
              • Published

              triangle-solution

              A set of formulas for solving a triangle

                • v1.0.3
                • 11.34
                • Published

                geometric-area

                This package contains the geometric formulas for calculating area.

                • v1.0.1
                • 11.34
                • Published

                big-triangle

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

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

                niho_nor

                  • v1.0.3
                  • 10.72
                  • Published

                  triangle-split

                  Iteratively split triangles to get a more uniform tessellation

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

                  @tailwindash/triangle

                  Tailwind plugin to build triangle with border attributes

                  • v1.0.5
                  • 10.28
                  • Published

                  shape-tri

                  Make CSS Triangle Shape

                  • v0.1.0
                  • 9.70
                  • 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.70
                  • Published

                  center-corner-vector-angle

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

                  • v1.0.0
                  • 9.63
                  • Published

                  twodee

                  Two dimensional geometry manipulation

                  • v0.2.5
                  • 9.46
                  • Published

                  @datatypes/face

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

                  • v0.2.0
                  • 8.03
                  • 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.80
                  • Published

                  image-tessellator

                  Draw triangles over an image to create a cool effect

                  • v1.0.6
                  • 7.80
                  • Published

                  glsl-quads-to-tris

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

                  • v1.0.0
                  • 7.76
                  • Published

                  @khulnasoft/triangle

                  Command-line interface for all things Khulnasoft Workers

                  • v1.21.0
                  • 7.55
                  • Published

                  @janschoepke/triangle-js

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

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

                  polygon-math

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

                    • v1.0.0
                    • 7.26
                    • Published

                    shapes.js

                    A creator for div with different shapes

                    • v1.0.1
                    • 7.05
                    • Published

                    triangle-taxonomist

                    A simple command-line tool for categorizing triangles. Edit

                    • v0.1.1
                    • 6.45
                    • Published

                    react-shape-svg

                    Make svg polygon & star shape for React

                    • v0.1.4
                    • 6.45
                    • Published

                    triangles-islands

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

                    • v0.0.2
                    • 6.37
                    • Published

                    styled-shapes

                    html shapes implemented with styled-system props

                    • v0.1.5
                    • 6.37
                    • Published

                    glsl-shapes

                    2d shapes in glsl

                    • v0.0.2
                    • 6.18
                    • Published

                    triangulator2

                    SVG triangle art generator

                    • v1.0.1
                    • 6.18
                    • Published

                    maxwell-triangle

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

                    • v1.0.1
                    • 5.52
                    • Published

                    sierpinski

                    Sierpinski triangles using canvas.

                    • v0.1.0
                    • 5.38
                    • Published

                    @kamataryo/tri-coords

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

                      • v1.0.0
                      • 5.38
                      • Published

                      threejs-geometry-lodtriangle

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

                      • v3.0.0
                      • 5.31
                      • Published

                      solve-triangle

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

                      • v1.0.4
                      • 5.16
                      • Published

                      svelte-figur

                      Make svg polygon & star shape for React

                      • v0.0.4
                      • 5.16
                      • Published

                      drawfigures

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

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

                        valid-triangle

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

                        • v1.0.0
                        • 3.90
                        • 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.38
                        • 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
                        • 0.00
                        • Published