Makio MeshLineA performant and customizable line solution for Three.js.
TSL-powered lines with gradients, dashes, textures and more.
TSL-powered lines with gradients, dashes, textures and more.
Makio MeshLine is built for the cases where THREE.Line is too limited and older MeshLine approaches feel dated. It gives you wide and thick lines for Three.js with gradients, dashes, textures, shadows, GPU-driven positions, and instancing, all wrapped in a small fluent API.
It is designed around Three.js TSL and WebGPURenderer, so the same line system works across WebGPU and WebGL2 backends while staying friendly to creative coding, interactive scenes, data visualization, and stylized rendering.
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 |