Skip to content

Instantly share code, notes, and snippets.

View JPDye's full-sized avatar
🙂

Joseph Dye JPDye

🙂
View GitHub Profile
@JPDye
JPDye / gist:ca55c7f53dd31ae7f42d83d28feae570
Last active April 5, 2026 08:01
niri pixelated animations
animations {
window-open {
duration-ms 500
curve "linear"
custom-shader r"
vec4 open_color(vec3 coords_geo, vec3 size_geo) {
if (coords_geo.x < 0.0 || coords_geo.x > 1.0 ||
coords_geo.y < 0.0 || coords_geo.y > 1.0)
return vec4(0.0);