//Hydra Glitchy Slit Scan
//Flor de Fuego
//https://flordefuego.github.io/
s0.initCam()
src(s0)
.saturate(-20).contrast(1.3)
.layer(
src(o0)
.mask(shape(4,2)
.scale(0.6,0.7)
.scrollX(0.25))
.scrollX(0.001)
).modulate(o0,0.001)
.out(o0)
video src with chromatic consistence +
modulate +
kaleid cyclic variations using bpm for rhythm of change
tiny desk https://www.youtube.com/watch?v=apUE3nAeszw
colors concerts https://www.youtube.com/watch?v=FS-Y9vVOvUw
s0.initScreen()
src(s0)
.diff(o0)
.modulate(o0)
.out(o0)
—
s0.initScreen()
src(s0)
.kaleid(20)
.modulateKaleid(o0, 3)
//.diff(o0)
.rotate(({time}) => time * .2)
.out(o0)
pb.setName("piaaaac")
var ifr = document.createElement("iframe")
var hc = document.getElementById("hydra-canvas")
var code = document.querySelector("CodeMirror cm-s-tomorrow-night-eighties CodeMirror-wrap")
hc.parentElement.insertBefore(ifr, hc)
console.log("ifr", ifr)
ifr.onload = () => {
ifr.style.zIndex = 1000
ifr.style.backgroundColor = "yellow"
ifr.style.position = "absolute"
ifr.style.width = "50%"
ifr.style.height = "100%"
ifr.style.top = "0px"
ifr.style.right = "0px"
if(!ifr.src){
ifr.src = "https://alexpiacentini.com"
}
code.style.zIndex = 1001
}
osc(10, .2, 1)
.out()
osc([220], [.2, .01], [2, 4, 50, 22])
.kaleid(-2)
.repeat(15)
.rotate(sin(2))
.out()
——————————————
osc([220], [.2, .01], [2, 4, 50, 22])
.kaleid(-2)
.repeat(15)
.rotate(sin(2))
.out(o0)
s1.initCam()
src(s0).out(o1)
src(o0).blend(s1).out(o2)
src(o0).modulate(s1).out(o2)
render()
———————————————
osc([200], [.2, .01], [2, 4, 50, 22])
.color(2, [3,55])
.rotate(sin(2))
.repeat(50)
.kaleid(2000)
.out(o0)
https://youtu.be/cw7tPDrFIQg
—
a. times square + ocean live feeds
b. fractal feedback
osc([7], [2, .1], [12, 14, 22])
.color(10)
.rotate(sin(2))
.modulate(o0)
.repeat(() => mouse.x 0.01)
.kaleid(() => mouse.y 0.01)
.modulate(o0)
.out(o0)
osc([20], [.2, .01], [2, 4, 22])
.color(1, 1, 1)
.rotate(sin(2))
.repeat(0)
.kaleid(3)
.modulate(o0)
.out(o0)
osc([200], [.2, .01], [2, 4, 50, 22])
.color(2, [3,55])
.rotate(sin(2))
.repeat(0)
.kaleid(10)
.out(o0)
// by Olivia Jack
// @ojack
osc(20, 0.01, 1.1)
.kaleid(5)
.color(2.83,0.91,0.39)
.rotate(0, 0.1)
.modulate(o0, () => mouse.x * 0.0003)
.scale(1.01)
.out(o0)
var the_bpm = 120
var bpm = the_bpm / 60
// use:
[1, 2, 3].fast(bpm)
—
() => mouse.x / window.innerWidth // 0—1
—
a.fft[0] // volume audio in
—
// instead of numbers you can use arrays
// each item will be used cyclicly
osc(200, [.2, .01], [2, 4, 50, 22])
—
mouse.x // mouse pos
—
scrollX(a, b) // a amount, b speed