Skip to content

Instantly share code, notes, and snippets.

View oncngncd's full-sized avatar

Onchain Genocide oncngncd

View GitHub Profile
@chardskarth
chardskarth / cursor_blaze.glsl
Created June 28, 2025 13:42
Awesome cursor animation shaders in Ghostty
float ease(float x) {
return pow(1.0 - x, 10.0);
}
float sdBox(in vec2 p, in vec2 xy, in vec2 b)
{
vec2 d = abs(p - xy) - b;
return length(max(d, 0.0)) + min(max(d.x, d.y), 0.0);
}