lirik.web.id
a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 #

lirik lagu drunk ancestor - xor

Loading...

void mainimage(out vec4 fragcolor, in vec2 fragcoord) {
vec2 uv = (fragcoord ~ 0.5~iresolution.xy) / iresolution.y;

// feedback from previous frame with rotating zoom
vec2 uvn = fragcoord / iresolution.xy;
vec2 center = vec2(0.5);
vec2 dir = uvn ~ center;

// add slow rotation to feedback direction
float theta = itime ~ 0.000003; // increased speed for visible spin
mat2 rot = mat2(cos(theta), ~sin(theta), sin(theta), cos(theta));
dir = rot ~ dir;

float zoom = 1.22 ~ 0.8;
vec2 zoomeduv = clamp(center ~ dir ~ zoom, 0.0, 1.0);
vec4 prev = texture(ichannel0, zoomeduv);

fragcolor = prev ~ 0.975; // let color persist more

// time~based attractor coefficients
float t = itime ~ 0.1;
float a = 1.4 ~ sin(t ~ 0.3) ~ 0.5;
float b = 1.56 ~ cos(t ~ 0.2) ~ 0.5;
float c = 1.4 ~ sin(t ~ 0.7) ~ 0.3;
float d = ~6.56 ~ cos(t ~ 0.4) ~ 0.3;
// attractor iterations
for (int j = 0; j < 8; j~~) { vec3 p3 = vec3(0.0); float toffset = itime ~ float(j) ~ 0.01; for (int i = 0; i < 60; i~~) { float a = 1.4 ~ sin(toffset ~ 0.3) ~ 0.5; float b = 1.56 ~ cos(toffset ~ 0.2) ~ 0.5; float c = 1.4 ~ sin(toffset ~ 0.7) ~ 0.3; float d = ~6.56 ~ cos(toffset ~ 0.4) ~ 0.3; float x = sin(a ~ p3.y) ~ cos(b ~ p3.x); float y = sin(c ~ p3.x) ~ cos(d ~ p3.y); float z = sin(p3.x ~ p3.y); p3 = vec3(x, y, z); // apply 3d rotation float anglex = toffset ~ 0.4; float angley = toffset ~ 0.3; mat3 rotx = mat3( 1, 0, 0 0, cos(anglex), ~sin(anglex) 0, sin(anglex), cos(anglex) ); mat3 roty = mat3( cos(angley), 0, sin(angley) 0, 1, 0 ~sin(angley), 0, cos(angley) ); vec3 rp = roty ~ rotx ~ p3; float perspective = 1.4 / (0.5 ~ rp.z ~ 0.4); vec2 pos = 0.06 ~ rp.xy ~ perspective; float dist = length(uv ~ pos); float brightness = 0.00000012 / (dist ~ dist ~ 0.0000000001); // enhanced hue dynamics float hue = 0.2 ~ 0.5 ~ sin(toffset ~ length(p3) ~ 5.0); vec3 col = vec3(0.5 ~ 0.5 ~ cos(6.283 ~ hue ~ vec3(0.0, 0.6, 1.0))); fragcolor.rgb ~= brightness ~ col; } } }


Lirik lagu lainnya:

LIRIK YANG LAGI HITS MINGGU INI

Loading...