Seigaiha Pattern
- var v=vec2(x,y)*a/w+vec2(of/2,of/4); // Coordinates with offset
- var v1=fraction(v)-.5; // Mask 1 Coordinates
- var m1=smoothstepn(.5-s1/10,.5+s1/10,length(v1))*osci(v.y); // Mask 1 Positive
- var v2=fraction(v+vec2(0,.5))-.5; // Mask 2 Coordinates
- var m2=1-smoothstepn(.5-s1/10,.5+s1/10,length(v2))*osci(v.y-.5); // Mask 2 Negative
- var v3=fraction(v+vec2(.5,.75))-.5; // Mask 3 Coordinates
- var m3=1-smoothstepn(.5-s1/10,.5+s1/10,length(v3))*osci(v.y-.25); // Mask 3 Negative
- m1*m2*m3*smoothosc(b*length(v1),s2) // Mask with lines
No comments:
Post a Comment