Bead Field
Code
@grid: 1 / 100% / #000;
@content: @pattern(
d: 0;
repeat(48) {
p: vec3(rot(pos, t/4) * d, d + t);
d: d + .7length(fract(p) - .5) - .1;
}
fill: ramp(d/12,
#fff, #fd7 .1, #e46 .3, #07121f
);
); @grid: 1 / 100% / #000;
@content: @pattern(
d: 0;
repeat(48) {
p: vec3(rot(pos, t/4) * d, d + t);
d: d + .7length(fract(p) - .5) - .1;
}
fill: ramp(d/12,
#fff, #fd7 .1, #e46 .3, #07121f
);
);