Integrates Hydra Vis

This commit is contained in:
2024-04-06 04:44:15 +05:30
parent 1f931bfb1f
commit 2cf9edc118
2 changed files with 11 additions and 11 deletions

2
hg.css
View File

@@ -253,7 +253,7 @@ dialog::backdrop {
justify-content: center; justify-content: center;
} }
#codef-canvas canvas { canvas {
position: absolute; position: absolute;
top: 0; top: 0;
} }

View File

@@ -255,15 +255,15 @@ https://retrowave.ru/${musicData.streamUrl}
// } // }
function initHydra() { function initHydra() {
// voronoi(350, 0.15) voronoi(350, 0.15)
// .modulateScale(osc(8).rotate(Math.sin(time)), .5) .modulateScale(osc(8).rotate(Math.sin(time)), .5)
// .thresh(.8) .thresh(.8)
// .modulateRotate(osc(7), .4) .modulateRotate(osc(7), .4)
// .thresh(.7) .thresh(.7)
// .diff(src(o0).scale(1.8)) .diff(src(o0).scale(1.8))
// .modulateScale(osc(2).modulateRotate(o0, .74)) .modulateScale(osc(2).modulateRotate(o0, .74))
// .diff(src(o0).rotate([-.012, .01, -.002, 0]).scrollY(0, [-1 / 199800, 0].fast(0.7))) .diff(src(o0).rotate([-.012, .01, -.002, 0]).scrollY(0, [-1 / 199800, 0].fast(0.7)))
// .brightness([-.02, -.17].smooth().fast(.5)).modulate(o0, () => a.fft[1] * .2) .brightness([-.02, -.17].smooth().fast(.5))//.modulate(o0, () => a.fft[1] * .2)
// .out() .out()
} }
})(); })();