# Create the new neon signage tutorial HTML file neon_tutorial_html = ''' Neon Signage | After Effects | Blackstock Fine Art & Design

Neon Signage

Procedural Glow & Flickering Animation

Overview

100% Built-In Effects

Create realistic neon signage in After Effects without plugins. This workflow includes instant conversion of silhouetted assets into outline versions, procedural glow generation, authentic flickering animations, and multi-color support—all using native effects.

Key Features
  • Automatic outline generation from any silhouette
  • Layered glow system for realistic light diffusion
  • Procedural flickering with customizable probability
  • Multi-color signage with isolated animation control
  • Physical shadows and cable integration
Phase 1

Neon Input Composition

1
Create Base Composition

Create a new composition 1920×1080, 10 seconds. This is your input stage where all assets will be prepared for neon conversion.

Add text or silhouetted assets. For text, create a slightly "wonky" neon look using the Text Animator:

Set Position to 2, 6 and Rotation to . Delete the Range Selector and add a Wiggly Selector instead.

Set Wiggles/Second: 0 to freeze the randomization. Adjust Grouping Alignment (approx. -27 to -35) to center anchor points on letters.

2
Important Color Note

Ensure no assets are pure black—the outline generation process requires visible pixels to detect edges. Any other color works perfectly.

Phase 2

Automatic Outline Generation

3
Create Outlines Composition

Right-click your input comp and select New Comp from Selection. Rename to "Outlines". This composition automatically converts all silhouettes to outline versions.

4
Edge Detection Stack

Apply these effects in order:

1. CC Toner → Tones: Solid, Midtones: White (converts to pure white)
2. Solid Composite → Color: Black (fills transparent background)
3. Find Edges (detects all edges)
4. Extract → White Point: 0, White Softness: 255 (removes white fill)
5. CC Toner (duplicate) → Fills remaining pixels white
6. Simple Choker → Choke Matte: -1 (pads out lines)
CC Toner vs Fill

CC Toner is preferred over Fill because its Blend with Original interpolates between states rather than just fading opacity, offering more flexible color control.

5
Logo Integration

Drop pre-outlined logos or assets directly into this composition. They will pass through the effect stack unchanged while silhouetted assets automatically convert. Position everything where desired—all updates propagate automatically to the final neon composition.

Phase 3

Layered Glow Architecture

6
Main Glow Layer

Create "Neon Glow" composition from the Outlines comp. Add a background (brick wall texture works well), darkened with Color Balance (HLS) → Lightness: -87, Saturation: -45.

Import Outlines comp and apply Glow effect with these stacked instances:

Glow 1: Threshold 0, Radius 20, Intensity 0.3
Glow 2: Radius 60 (tripled)
Glow 3: Radius 180
Glow 4: Radius 540
CC Toner (final): Tones: Solid, Midtones: [Your Neon Color]

Set blending mode to Add. The CC Toner at the end maintains color purity despite RGB additive blending shifts.

7
Fill Glow Layer

Duplicate Outlines comp, name "Fill Glow", place below Main Glow:

1. Simple Choker: -10 (dramatically expands lines)
2. Fast Box Blur: Radius 200 (diffuses completely)
3. Curves: Adjust Alpha channel to brighten midtones
4. CC Toner: Link Midtones to Main Glow via pick whip

Set blending mode to Add. This creates ambient light diffusion that fills the scene.

8
Neon Tube Layer

Duplicate Outlines comp again, name "Neon Tube", place at top:

1. Simple Choker: Positive value (tightens the core)
2. Fast Box Blur: Radius 1 (softens edges)
3. Glow: Threshold 0, Radius 15, Intensity 0.5 (white hot center)

Set blending mode to Add. This maintains the bright "hot" center of physical neon tubes.

9
Original Tube (Off State)

Duplicate Outlines comp, name "Original Tube", place at bottom above background:

1. CC Toner: Solid, Midtones: Dark Gray (~14% brightness)
2. Fast Box Blur: Radius 2 (roundness simulation)
3. CC Toner: Link Midtones to Main Glow, Blend with Original: 80%
4. Layer Style → Inner Shadow: Normal mode, White, 90°, Distance 2, Size 3

This provides the physical tube presence when the neon is "off" or flickering.

Phase 4

Physical Shadow System

10
Hard Shadows

Duplicate Outlines comp, name "Neon Hard Shadows", place above Original Tube:

1. CC Toner: Solid, Dark color (~14% brightness)
2. Fast Box Blur: Radius 1
3. Transform: Scale 98% (creates perspective offset)
4. Set Matte: Take Matte From: Original Tube, Invert Matte (cuts out tubes)

Opacity: ~35%. The Transform effect creates perspective without moving the layer itself.

11
Soft Shadows

Duplicate Outlines comp, name "Neon Soft Shadows", place below Hard Shadows:

1. CC Toner: Solid, Very dark (~5% brightness)
2. Simple Choker: -2 (fattens lines for blur)
3. Transform: Scale 98%, Position Y +10px
4. Fast Box Blur: Radius 6 (soft diffusion)
5. Set Matte: Original Tube, Invert Matte

Opacity: ~25%. Creates the soft ambient occlusion that grounds the sign against the wall.

Phase 5

Flickering Animation System

12
Blackout Control (Master Switch)

Create black solid named "Blackouts". Set blending mode to Silhouette Alpha—this makes the layer function as an alpha map for everything beneath it without introducing black pixels.

Animate Opacity: 100% = fully off, 0% = fully on. Right-click Opacity → Add Property to Essential Graphics to expose in parent comps.

13
Procedural Flicker System

Create black solid named "Flicker", set to Silhouette Alpha. Draw masks around individual assets (one mask per letter/shape). Add two Slider Controls:

  • Flicker Probability: Chance of flicker per frame (e.g., 32 = 1 in 32 chance)
  • Flicker Max: Maximum opacity reduction (e.g., 50 = dims to 50%)

Add expression to first Mask Opacity (Alt-click stopwatch):

probability = effect("Flicker Probability")("Slider"); maxFlicker = effect("Flicker Max")("Slider"); r = random(probability); if (r < 1) { random(maxFlicker) } else { 0 }

Copy expression to all mask opacities. Expose both sliders to Essential Graphics for parent comp control.

14
Layer-Specific Control

In the main Neon Glow comp, select glow layers and set their Essential Properties:

  • Original Tube, Hard Shadows, Soft Shadows: Flicker Max = 0 (never flicker)
  • Main Glow, Fill Glow, Neon Tube: Link Flicker properties to Neon Tube layer

This ensures physical tubes remain visible while only the light emission flickers.

15
Boot-Up Animation Sequence

Animate the Blackout from 100% → 0% over 6 seconds. Simultaneously animate Flicker Probability and Flicker Max:

  • Start: Probability 3 (constant flickering), Max 100 (full dimming possible)
  • End: Probability 32 (occasional flicker), Max 30 (subtle dimming)

This creates the characteristic fluorescent "struggling to ignite" effect that settles into steady operation.

16
Glow Intensity Curve

To prevent the glow from being "too hot" during startup, add Curves to Main Glow (top of stack), set to Alpha channel, and crunch the midpoints down to the crosshair intersection. Add Fast Box Blur (Radius 0.2) before glows to soften the resulting hard edges.

Phase 6

Multi-Color Signage

17
Isolate Color Groups

Pre-compose all neon layers into "Neon Sign 1". Enable Collapse Transformations to preserve blending modes. Create folder structure duplicating Input, Outlines, and Sign comps for each color needed.

In "Neon Input 2", remove assets intended for other colors. Alt-drag replacement in Outlines 2 comp to auto-replace while preserving effects. Adjust CC Toner Midtones to new color (e.g., raspberry pink).

18
Composite Colors

In main Neon Glow comp, duplicate Neon Sign 1, Alt-drag Neon Sign 2 to replace. Each color preserves all keyframes but can be offset in timing for sequential "turn-on" effects.

Phase 7

Realistic Details

19
Breaking Continuous Lines

Real neon signs never have perfectly continuous lines. In Outlines comp, add black solid "Cutouts" with Silhouette Alpha. Draw small masks at connection points between letters/shapes to simulate tube breaks and electrode housings.

20
Light Spots (Atmospheric)

Import the classic "light spot" PNG (512×512 soft white gradient). Add CC Toner with warm orange midtones, set blending mode to Add. Position off-frame to create subtle colored atmospheric lighting that interacts with the scene.

21
Cabling

Create "Cables" composition from Outlines. Set Outlines layers as Guide Layers. Use Pen Tool (no fill, 5px stroke) to draw hanging cables connecting shapes to power sources. Add Inner Shadow layer style for 3D definition. Duplicate for shadow layer with Transform offset and Fast Box Blur.

22
Animated Signage (Chasing)

For animated "chasing" patterns: Animate shapes in Input comp (rotation, position). In Sign comp, add Echo effect to Original Tube layer: Echo Time: -1s, Number of Echoes: 1. Update Set Matte on shadow layers to look at Original Tube with Effects & Masks enabled. This creates the ghost trail of recently-lit tubes.

Phase 8

Final Compositing

23
Atmospheric Integration

Import fog/smoke footage. Pre-compose with duplicate Neon Glow layer (top of stack). Inside pre-comp:

1. Color Balance (HLS): Increase saturation
2. Fast Box Blur: Radius 100, Repeat Edge Pixels
3. Set blending mode to Color (injects color without affecting luminosity)
4. Shift Channels: Take Alpha From: Luminance (creates cutout based on brightness)
5. Enable Preserve Underlying Transparency

Adjust smoke opacity to taste. This creates colored atmospheric haze that matches the neon emission.

24
Color Grading

Add Adjustment Layer with Lumetri Color. In Creative section, apply "SL Clean Straight NDR" LUT for pop and vibrance. Adjust vignetting to darken edges and focus attention on signage.

Reference

Layer Architecture Summary

TOP: Neon Tube (hot center, white glow)
Main Glow (layered RGB glow, color controlled)
Fill Glow (ambient diffusion, linked color)
Blackouts (Silhouette Alpha master switch)
Flicker (Silhouette Alpha, masked per asset)
Cables (wiring with shadows)
Neon Hard Shadows (perspective offset, 35% opacity)
Neon Soft Shadows (diffused, 25% opacity)
BOTTOM: Original Tube (off state, physical presence)
Background (brick wall, darkened)
Workflow Philosophy

All design changes happen in Neon Input—move, scale, rotate, or replace assets and the entire neon system updates automatically. No need to recreate masks, paths, or animations. This non-destructive, procedural approach allows rapid iteration while maintaining complex lighting relationships.

Return to After Effects
''' # Save the file with open('/mnt/kimi/output/tutorials-after-effects-neon.html', 'w', encoding='utf-8') as f: f.write(neon_tutorial_html) print("✓ Created tutorials-after-effects-neon.html")