Commit 10852ca2 by PLN (Algolia)

Save: Post MultiSporTeuf

parent 6e8079aa
// From a picture of Galaxy Nasa 724203
// Private share: https://nech.pl/nights-galactic
s0.initImage("https://git.plnech.fr/pln/Hydra/raw/7ab247cae7f562ecc0f1c13a6646e5a71f6c0f1f/StarryNights/img/724203.jpg")
src(s0).out()
src(o0)
.blend(o0)
.blend(src(o1).scale(0.5,0.9).rotate(() => Math.sin(time/900) * 360), 0.25)
.out(o2)
src(o2)
.modulate(o0,() => Math.sin(time/2) % 2)
.scale(() => Math.sine(time) * 9 + 0.9)
.out(o1)
render(o3)
src(o1)
.blend(o0)
// .blend(o1,() => a.fft[3])
.brightness(0.23).contrast(1.4)
.luma()
.scale(() => 0.2625 + Math.sin(a.fft[0] + time) * 0.6 + 0.62)
.rotate(() => (time/4) % 360)
.out(o3)
render(o3)
//
//
//
// GLITCHP00L
//
//
//
// > hue() is often useful to combine with feedback.
//
//
//
src(o0)
.modulateRotate(noise(2,
[0,0,0,0,0.02].fast(1/8) // RANDOM MOVE FACTOR
), 0.03)
.hue(0.003)
.layer(
shape(2, 0.008)
.luma()
.color(0, 0, 0.85)
)
.rotate(0)
.out(o0)
src(o0)
.pixelate(() => 2048 - Math.sin(time / 100) * 1024)
.scale(() => 0.4 + 0.005 * Math.random() - 0.1 * Math.sin(time/10 % 360))
.modulate(src(o0), 0.08)
.rotate(() => time/32 % 360)
.out(o1)
src(o1)
.add(gradient(),-0.25)
.out(o2)
src(o2)
.contrast(0.9)
.brightness(-0.1)
.out(o3)
render(o3)
a.show()
a.setBins(4)
//
// render(o0)
// //
// // // // 1: Diamond NOISE
// noise(10.82,() => 0.002 * Math.sin(time/100))
// .modulate(osc(() => time / 10),1)
// .thresh(0.65)
// .out(o0)
// //
// src(o0)
// .rotate(() => Math.sin(time/25)).out(o1)
// //
//
// render()
//
// src(o3)
// .scale(0.9)
// .out(o2)
//
// src(o2)
// .kaleid(4)
// .out(o3)
//
//
// render(o1)
// //
// src(o1)
// .blend(src(o2).scale(0.99),0.3)
// .scale(1.0199)
// .out(o3)
//
// render(o3)
//
// TELEVISION BREAKS THE DIMENSION
osc(
// () => Math.sin(time/200)*(time % 3600)
// osc(() => a.fft[0]*100,
// 0 //() => a.fft[1]*10
// ,3)
)
.scale(() => 5*a.fft[2]+0.05)
.modulate(osc()
.rotate(() => 0.5*a.fft[1])
)
.out(o0)
render(o3)
src(o0)
.scale([0.5,0.25,0.125,0.015].fast(1/8))
.out(o2)
src(o2)
.blend(gradient(0.1).luma(0.02),0.38).color(() => Math.sin(time),0.4,0.9)
.modulateRotate(noise(20,4),() => Math.sin(time) / 10)
.out(o3)
render(o3)
// 3: THE FIGHT OF LIGHT
src(o0)
.modulateRotate(
noise(20,[0,0.1,0.2,0.3,0.4,0.5]),0.03)
.hue(() => 0.04 * a.fft[3])
.layer(
shape(
() => Math.ceil(1 + time % 12))
,0.15) // CHANGE SHAPE AND SIZE TO RESET GLITCHES
.luma() // KILL THE LUMA TO BLACK OUT
.color(
()),
[0,0.6,0,0],
[0.8,0.1,0.8,0.1]
))
// .contrast(1.15)
.brightness(-0.1)
// .diff(osc()) // NEXT SONG: DIFF IT UP!
.scale(0.9) // PLAY WITH SCALE TO MESS AROUND
.out(o0)
render(o1)
src(o0)
.rotate(() => Math.sin((a.fft[1] + time) % 360))
.out(o1)
src(o1)
.scale(() => a.fft[0] * 0.5 + 0.5)
.out(o2)
render(o2)
// LA COMMUNICATION
// C"EST LA _PERF_
src(o3).diff(osc(2, 0.1, 0.1)
.rotate(1.55)
.mult(
osc(12, 0.1, 2),
)
.kaleid(()=>(Math.floor((Math.sin(time*0.5)+2)*20)))
.mult(
shape(()=>(Math.floor((Math.sin(time*1.26) + 2) * 3)),0.5).rotate(0,-0.5)
)
)
.scale(()=>(Math.sin(time*-0.1)))
.out(o1)
render(o2)
voronoi(10, 1)
.brightness(-0.3)
.contrast(10)
.diff(shape(()=>(Math.floor((Math.sin(time*1.58) + 2) * 3)),0.5).rotate(0,1.56))
.out(o2)
src(o1)
.diff(src(o2))
.mult(shape(()=>(Math.floor((Math.sin(time*0.56) + 2) * 3)),0.5)
.rotate(0,()=>(Math.sin(time*0.2)*0.01))
.scale(()=>((Math.sin(time*0.33)+1.2)*4)))
.repeat(5,5)
// .kaleid(3,0.5)
.kaleid(8)
// .diff(src(o3))
.out(o3)
render(o1)
//Basé sur Pixelscape
//de Marianne Teixido <3
//https://github.com/MarianneTeixido
// Vive le code LIBRE
src(o0)
.saturate(() => Math.sin(time) * 10 + a.fft[1]*5)
.scale(.9)
// .color(1.01,1.01,1.01)
.hue(.01)
.modulateHue(src(o1).hue(.3).posterize(-1).contrast(.7),2)
.layer(src(o1)
// .luma()
.mult(gradient(1)
.saturate(.29)))
.out(o0)
noise(1, .2)
.rotate(2,.5)
.layer(src(o0)
.scrollX(.2))
.out(o1)
render()
src(o2)
.blend(voronoi(20,2),0.2)
// .thresh(0.26)
.modulateRotate(noise())
.out(o3)
// REBOOT
src(o3)
.modulateHue(osc())
.kaleid(2)
.scaleX(8)
.out(o0)
src(o0)
.out(o1)
src(o2)
.out(o3)
render()
// hue() is often useful to combine with feedback. In this example, o0 is gradually modulated and its hue is shifted at the same time.
src(o0).modulateRotate(noise(2,0),0.03).hue(0.003).layer(shape(2,0.125).luma().color(0,0,1)).out(o0)
src(o1).diff(osc(200, 0.1, 2)
.rotate(1.55)
.mult(
osc(50, 0.1, 2),
)
.kaleid(()=>(Math.sin(time*0.5)*20))
.mult(
shape(()=>(Math.floor(Math.sin(time*2))) * 5)
)
)
.scale(()=>(Math.sin(time*-0.1)))
.out(o1)
voronoi(100, 10)
.contrast(4)
.brightness(-1)
.mult(shape(3))
.out(o2)
src(o1).add(src(o2)).mult(shape(5,0.7))
.out(o3)
render(o3)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment