---
title: "Neon Trails"
canonical_url: "https://framerhub.io/components/neon-trails"
last_updated: "2026-11-09T16:24:43.842Z"
---

## Neon Trails

A 3D animation of neon lines moving forward in a spiral helix, with optional mouse control of the camera. Built with Three.js.

## Features

**Spiral helix.** Lines spiral forward through 3D space.

**Neon lines.** Bright lines in your choice of colors.

**Mouse orbit.** Mouse movement orbits the camera.

**5 colors.** Pick up to 5 colors. Each line uses one at random.

## Use Cases

**Tech sites.** Tech companies, SaaS products and digital agencies.

**Hero sections.** A sci-fi hero background.

**Product launches.** Movement on launch pages and announcements.

**Portfolios.** An artistic, moving background.

![Neon Trails Preview](/framerhub/img/components/control/neon-trails.jpg)

## How to Use

**Trail Colors**

- Color 1-5: Customize up to 5 colors for the neon trails

**Background**

- Background Color: Set a background color for the entire canvas

**Animation**

- Speed: Control how fast the trails move forward (0.1-5)
- Line Width: Thickness of the neon trails (0.01-0.2)
- Line Count: Number of spiral lines (10-100)
- Frequency: How often new trails are generated (0.1-10)
- Max Lines: Maximum number of simultaneous lines (10-200)

**Interaction**

- Mouse Control: Toggle camera orbit based on mouse movement
- Mouse Sensitivity: How much the camera reacts to mouse movement (0.1-2)
- Mouse Smoothing: Camera movement smoothness (0.01-0.2)

### Quick Tips

**Contrast.** Black or deep navy backgrounds with bright neon colors.

**Speed.** 0.5 to 1.5 feels cinematic. 2 to 4 feels energetic.

**Line count.** 10 to 30 lines look minimal. 50 to 100 look dense and cyberpunk.

**Mouse feel.** Low smoothing makes the camera respond quickly. High smoothing makes it glide.

## Credits

Built upon [Animated Mesh Lines](https://github.com/Jeremboo/animated-mesh-lines) by [Jeremboo](https://jeremieboulay.fr/portfolio/) for [Codrops](https://tympanus.net/codrops/).

---

**Need help?** [Contact us](/contact).

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
