Skip to content

Instantly share code, notes, and snippets.

View Alex-April's full-sized avatar

Alex Alex-April

  • Spain
View GitHub Profile
@Alex-April
Alex-April / ChoasLinesShader.metal
Created March 7, 2026 10:41 — forked from realvjy/ChoasLinesShader.metal
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);