Makio MeshLine Interactive Demos

Interactive Three.js WebGPU and WebGL2 examples for Makio MeshLine 1.4.0: wide lines, gradients, dashes, textures, shadows, GPU positions, and instancing.

Simple examples

  • Basic — overview: Start with one shape and explore MeshLine width, dashes, gradients, textures, opacity, and size attenuation.
  • Waves — animated positions: Animated Three.js wave lines updating positions every frame in WebGPU and WebGL2.
  • Follow — trail physics: Responsive cursor-following trails built by updating dynamic point arrays with spring physics.
  • Vertex Colors — vertex colors: Per-vertex RGB colors along each MeshLine for gradients, color ramps, and stylized strokes.
  • GPU Circle — gpu positions: Parametric circles animated directly on the GPU with TSL position nodes and zero CPU uploads.
  • GPU Instancing — instancing: Hundreds of instanced lines rendered in a single draw call with per-instance attributes and TSL hooks.
  • Shadows — shadow casting: Wide and dashed MeshLines casting shadows under moving spotlights in Three.js.

Advanced demos

  • Sandbox — playground: Interactive playground with live controls to tune MeshLine options and export ready-to-copy Three.js code.
  • Rice Field — storage buffers: Thousands of wind-swept blades rendered with MeshLine instancing, storage buffers, and custom TSL shaders.
  • Draw Lines — drawing: Interactive pointer painting that turns strokes into smooth dynamic MeshLines.
  • Flying Baguettes — multi-line batch: Dozens of textured MeshLines batched into a single geometry and draw call.
  • Venus & David — mesh paths: Sculpture contour lines morphing smoothly between Venus and David on the GPU.
  • Bamboooo — instancing + shadows: Procedural bamboo grove rendered with instanced MeshLines and soft shadow casting.
  • Laser Heist — raycast vs picker: Interactive comparison between CPU raycasting and GPU ID picking with MeshLinePicker.