Commit 368c9392 by PLN (Algolia)

neige

parent 3434d69a
s0.initCam(1)
src(s0)
.scroll(0.12,-0.07)
.scale(3.09, 0.7)
// .pixelate(102, 200)
.out(o0)
src(o0)
.saturate(() => 1 + 0.8 * Math.sin(time / 10))
.diff(src(o2)
.scale(() => 0.95 + 0.1 * Math.sin(time / 2))
, 0.5) //() => Math.sin(time / 4))
.out(o1)
src(o1)
.scale(1.00999)
.thresh(() => 0.65 - 0.24 * Math.sin(time / 10))
.out(o2)
src(o1)
.saturate(() => 2 + 2.5 * Math.cos(time / 20))
.out(o3)
render(o3)
s0.initCam(1)
src(s0)
.scroll(0.12,-0.04)
.scale(2.5, 0.8)
// .pixelate(102, 200)
.out(o0)
src(o0)
.saturate(() => 0.1 + 0.05 * Math.sin(time / 42))
.diff(src(o2)
.scale(() => 0.95 + 0.1 * Math.sin(time / 10))
, 0.5) //() => Math.sin(time / 4))
.out(o1)
src(o1)
.scale(0.999)
.thresh(() => 0.8 - 0.4 * Math.sin(time / 10))
.out(o2)
src(o1)// .scale(() => 0.95 + 0.1 * Math.sin(time / 12))
.saturate(() => 2 + 2.5 * Math.cos(time / 20))
.out(o3)
render(o3)
s0.initCam(1)
src(s0)
.scroll(0.12,-0.04)
.scale(2.5, 0.8)
// .pixelate(102, 20)
.out(o0)
// FIXMEEEEE
src(o0)
.saturate(() => 0.1 + 0.05 * Math.sin(time / 42))
.mult(src(o2)
.rotate(() => 5 * Math.sin(time / 100))
.thresh(() => 0.03 + 0.15 * Math.sin(time / 20)) // Spiral
.scale(() => 0.95 + 0.1 * Math.sin(time / 12))
) //() => Math.sin(time / 4))
.out(o1)
src(o1)
.scale(0.9)
.thresh(() => 0.8 - 0.4 * Math.sin(time / 10))
.out(o2)
src(o1)
.saturate(() => 2 + 2.5 * Math.cos(time / 20))
.out(o3)
render()
// 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")
s0.initImage("file:///home/pln/Work/Hydra/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)
......
......@@ -35,6 +35,7 @@ src(o1)
src(o2)
.contrast(0.9)
.blend(src(o2).colorama(), 0.4)
.brightness(-0.1)
.out(o3)
......
......@@ -74,10 +74,10 @@ src(o0)
,0.15) // CHANGE SHAPE AND SIZE TO RESET GLITCHES
.luma() // KILL THE LUMA TO BLACK OUT
.color(
()),
0,
[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!
......
......@@ -36,7 +36,7 @@ src(o2)
src(o3)
.modulateHue(osc())
.kaleid(2)
.scaleX(8)
.scale(1, 0.8)
.out(o0)
src(o0)
......@@ -45,4 +45,4 @@ src(o0)
src(o2)
.out(o3)
render()
render(o3)
......@@ -13,7 +13,9 @@ src(o0)
src(o0) // FIXME o2
, () => 5 + a.fft[1] * 20
)
// .scroll(0.4,2).scale(2) // FIXME
// .scroll(0.4,2)
.scale(2.25) // FIXME
.rotate(() => Math.sin(time))
.out(o1)
render(o1)
......@@ -29,9 +31,9 @@ render(o2)
//// ÉTAPE 4: D3S P1X3LS ? 0U ÇA D3S P1X3LS ? M0N 031L !
src(o1)
.brightness(-0.2)
.scale(() => 0.1 + 0.8 * a.fft[2]) // FIXME: SCALEDOWN
.scale(() => 0.9 - 0.8 * a.fft[0] + 1.6 * a.fft[2]) // FIXME: SCALEDOWN
// .modulateRepeat(src(o0),0.02)
.rotate(() => (0.05 * (time * (1 - Math.sin(a.fft[3])) % 360)))
.rotate(() => (0.0005 * (time * (1 - Math.sin(a.fft[3])) % 360)))
.out(o3)
render(o3)
......
s0.initImage("file:///home/pln/Work/Hydra/Neige/img/mer.jpg")
s1.initImage("file:///home/pln/Work/Hydra/Neige/img/fonds.jpg")
src(s0)
.scale(() => 1.5 + 0.5 * Math.sin(time/100))
// .scale(() => 1.05 + 0.05 * Math.sin(time/5))
.out(o0)
//
src(o0)
.diff(src(s1)
.rotate(() => 180 + 0.01 * Math.cos(time))
.scale(() => 0.1 + 0.001 * + Math.sin(time))
,0.5)
.out(o1)
//
src(o1)
.modulate(
osc(0.001,1)
)
.brightness(() => -0.05 * Math.sin(time/100)).contrast(1.35)
.out(o2)
src(o2)
.scroll(-0.05,0.0)
.scale(1.5,0.7)
.out(o3)
render(o3)
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
s0.initImage("file:///home/pln/Work/Hydra/Neige/img/mer.jpg")
s1.initImage("file:///home/pln/Work/Hydra/Neige/img/fonds.jpg")
src(s0)
.rotate(() => 0.05 + 0.015 * Math.sin(time/40))
// .scale(() => 1.05 + 0.05 * Math.sin(time/5))
.out(o0)
//
src(o0)
.blend(src(s1)
.rotate(() => 180 + 0.01 * Math.cos(time))
.scale(() => 0.1 + 0.001 * + Math.sin(time))
,0.5)
.out(o1)
//
src(o1)
.blend(src(o1)
.scale(() => 0.95 + 0.05 * Math.sin(time/100))
, 0.25)
.brightness(() => -0.05 * Math.sin(time/100)).contrast(1.35)
.out(o2)
src(o2)
.scroll(-0.05,0.0)
.scale(1.5,0.7)
.saturate(() => 028 * Math.cos(Math.pow(time, 0.733)))
.brightness(-0.15)
.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