Add animated pixel-art snowflakes to your Ghostty terminal for a cozy winter coding atmosphere without affecting text readability.
Swap between the snow and stars shader by changing one line in your Ghostty config to match your mood or season.
Adjust the parallax layers and fall speed values in the GLSL file to create a faster, denser snowfall or a slower, sparser effect.
Requires the Ghostty terminal emulator, only two config lines needed after copying the shader file.
This repository contains two custom visual effects for Ghostty, a terminal emulator. The effects are written in GLSL, a language used to write programs that run on the graphics card and produce visual output. One shader adds animated pixel-art snowflakes that drift and sway across the terminal window. The other adds sparse twinkling plus-shaped stars. Both effects draw on top of your terminal content without covering the text, so your commands and output remain readable underneath. Installation involves copying the .glsl files into Ghostty's shaders directory, then adding two lines to your Ghostty config file pointing to whichever shader you want and telling Ghostty to animate it. Switching between them means changing one line and reloading the config. Both shaders have a set of adjustable values near the top of the file. For the snow effect you can control things like how many parallax layers there are, how fast the flakes fall, the diagonal drift strength, and how chunky the pixel grid looks. The stars shader has similar controls for density, twinkle speed, and layer count. The snow shader is based on a 2013 shader by Andrew Baldwin, reimplemented in pixel-art style by Eli Saliman. The project is released under CC BY-NC-SA 3.0, which allows sharing and adapting the work for non-commercial purposes with attribution, under the same license.
← elisaliman on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.