This is a collection of Ghostty shaders which I adapted for my personal use.
File: ./adaptive-cursor-trail-blaze.glsl
A Ghostty shader that creates a cursor trail effect with adaptive intensity based on movement distance.
Note
- Distance-based intensity scaling: Trail effect adapts to cursor movement distance - subtle trails for small movements (1-2 characters), full effect for larger movements
- Adaptive thresholds: Uses
MIN_DISTANCE
(0.02) andMAX_DISTANCE
(0.08) to scale trail intensity from 20% to 100% - Color scheme: Uses Catppuccin Frappe Blue instead of Peach for the trail color
This prevents overwhelming visual effects during normal typing while maintaining the full blaze effect for longer cursor movements.
MIT