Unity Smooth Line Trail

November 13, 2025 · View on GitHub

A simple Unity component that uses a LineRenderer as a custom trail renderer and applies smoothing using Chaikin’s Algorithm.

TestTrail
Default TrailRenderer vs Custom Smooth Line Trail (shown under low frame rate)

References

  • Chaikin’s Algorithm (ObservableHQ)
  • Math Magician – Path Smoothing with Chaikin