Makio MeshLineWide lines for Three.js.
TSL-powered lines with gradients, dashes, textures and more.
TSL-powered lines with gradients, dashes, textures and more.
Makio MeshLine is an open-source Three.js line library for drawing wide and thick lines with gradients, dashes, textures, and shadows. Its MeshLine API supports GPU-driven positions and instancing for animated trails, creative coding, and data visualization.
Built with Three.js Shading Language (TSL), it runs on WebGPURenderer with WebGPU and WebGL2 backends.
circlePositions, squarePositions, sineWavePositions, and straightLine.| Capability | Included |
|---|---|
| Wide and thick lines | Yes |
| Gradients and dashed lines | Yes |
| Texture and alpha maps | Yes |
| TSL material hooks | Yes |
| GPU-driven positions | Yes |
| Instancing | Yes |
| Shadow casting | Yes |
WebGPU and WebGL2 via WebGPURenderer | Yes |