# spite/THREE.MeshLine

Mesh replacement for THREE.Line

Repository: https://github.com/spite/THREE.MeshLine
Canonical: https://ross.abutalabs.com/products/threemeshline
Language: JavaScript
License: MIT
License Family: permissive
Topics: line, webgl, threejs, glsl, shader
Last push: 2024-03-22T08:31:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3939, "days_push": 894, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2339, forks 380 (observed 2026-08-28T04:06:38.583901+00:00)

## What it is
A JavaScript library that replaces THREE.Line in three.js by rendering lines as billboarded triangle strips instead of GL_LINE, enabling thick, textured, and customizable lines in WebGL. It provides MeshLine, MeshLineMaterial, and raycasting support for interactive line rendering.

## Use cases
- draw thick lines in three.js
- render SVG paths as 3D lines
- plot graphs with styled lines in WebGL
- create animated line trails or ribbons
- make lines with custom textures and materials
- add clickable/pickable lines to a 3D scene

## When to choose
- you need line widths beyond the 1px limit of GL_LINE
- you want textured, dashed, or gradient lines in three.js
- you need lines that respond to raycasting/interaction
- you're rendering SVG paths or graph data as 3D lines

## When to avoid
- you only need simple 1px debug lines (use THREE.Line)
- you're not using three.js or WebGL
- you need 2D canvas/SVG line drawing instead of 3D

## Facets
- artifact type: library
- maturity: stable
- function: graphics, animation, ui-components
- domain: web-development, graphics
- platform: browser, cross-platform
- tags: threejs, webgl, glsl, shaders, line-rendering, mesh-lines, game-development, web-server

## Member repositories
- spite/THREE.MeshLine (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.583901+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:27.119192+00:00, confidence not recorded.
  - readme: https://github.com/spite/THREE.MeshLine (fetched 2026-08-28T04:06:38.583901+00:00, sha 95f6e5b5122e)
  - registry_npm: https://registry.npmjs.org/three.meshline (fetched 2026-08-29T10:18:10.364941+00:00, sha c9881b4be801)
- Data as of 2026-08-30T08:39:29.467469+00:00.
