https://github.com/alxndr13/ghostty-shaders
https://github.com/alxndr13/ghostty-shaders
ghostty ghostty-terminal shaders
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alxndr13/ghostty-shaders
- Owner: alxndr13
- License: other
- Created: 2025-07-29T17:37:47.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-07-29T17:37:56.000Z (2 months ago)
- Last Synced: 2025-09-09T16:41:45.117Z (about 1 month ago)
- Topics: ghostty, ghostty-terminal, shaders
- Language: GLSL
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ghostty Shaders
This is a collection of Ghostty shaders which I adapted for my personal use.
## Adaptive Cursor Trail Blaze
**File**: [./adaptive-cursor-trail-blaze.glsl](./adaptive-cursor-trail-blaze.glsl)
A Ghostty shader that creates a cursor trail effect with adaptive intensity based on movement distance.
> [!NOTE]
> based on: https://github.com/hackr-sh/ghostty-shaders/blob/3d7e56a3c46b2b6ba552ee338e35dc52b33042fa/cursor_blaze.glsl### Key Differences from Original
- **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) and `MAX_DISTANCE` (0.08) to scale trail intensity from 20% to 100%
- **Color scheme**: Uses Catppuccin Frappe Blue instead of Peach for the trail colorThis prevents overwhelming visual effects during normal typing while maintaining the full blaze effect for longer cursor movements.
## License
MIT