Commit a121b804 by PLN (Algolia)

Session: Bad Ice

parent 98ddab5a
......@@ -13,7 +13,8 @@ src(s0)
.out(o0)
src(o0)
.modulate(src(o1).scale(() => 1 + 0.5 * Math.sin(a.fft[0])))
.scale(1.32)
.scale(1.2)
.scroll(-0.05,0)
.out(o1)
// Neige
voronoi(() => 100 + 100 * (a.fft[3] - 1.5 * a.fft[0]),() => 0.2)
......
......@@ -19,7 +19,8 @@ src(o2)
.saturate(() => 2.5 + 0.75 * Math.sin(time/20))
.rotate(() => (time / 20 % 360))
.diff(shape(100, 0.33, 0.001).scale(() => Math.sin(time / 200)+ 0.1))
.kaleid(8) .diff(src(o2))
.kaleid(0.1)
// .diff(src(o2))
// .blend(s0)
.brightness(() => -0.65)
.saturate(2)
......
// s0.initImage("/home/pln/Work/Hydra/MIRROR/img/1000023404.jpg")
s0.initImage("/home/pln/Work/Hydra/MIRROR/img/1000023408.jpg")
s1.initCam(1)
src(s1)
.scroll(
() => 0.1 + 0.09 * Math.sin(time/170),
() => 0.1 + 0.09 * Math.cos(time/94)
)
.scale(1.4, 0.8)
.brightness(() => -0.03 + 0.2 * Math.cos(time / 100))
// .luma(() => 0.2 + 0.6 * Math.sin(time / 9))
.out()
src(o0)
.modulate(voronoi(() => 3 * Math.floor(4 * Math.sin(time/40)),0.01).scale(0.99))
.out(o1)
src(o0)
// .modulate(src(o1).scale(1.0).luma(0.2).invert())
// .modulate(src(o1).scale(() => 1 + 0.2 * Math.sin(time / 200)))
.out(o2)
src(o1)
.modulate(src(o2).scrollY(0.2).scale(() => 0.2 + 0.1 * Math.cos(time / 100))) // FOR 408.jpg
// .modulate(src(s1).luma(0.5).sub(src(o2).scroll(0.6)).colorama(2), 0.8)
.scale(() => 2.5 + 0.5 * (time / 10 % 30))
.add(noise(100,0.2).luma(0.9).scale(0.5))
.out(o3)
render()
s0.initImage("/home/pln/Work/Hydra/zephyr/maze.png")
s1.initImage("/home/pln/Work/Hydra/StarryNights/img/september-13-2019-arches-cluster.jpg")
// s1.initCam(1)
src(s0)
// .modulate(noise())
.scale(0.7)
// .repeatX(2)
.scroll(0,0.13)
.out(o0)
src(o0)
.add(src(s1)
.scale(() => 0.6 + 0.2 * Math.sin(time/10))
.luma(() => 0.9 + 0.5 * Math.sin(time / 13))
.brightness(() => -0.2 + 0.2 * Math.sin(time / 20))
)
.mask(src(s0).luma(0.5).invert())
.out(o1)
src(o1)
.scale(0.9)
.out(o2)
src(o2)
.modulate(src(s0).scrollY(0.2).scale(() => 0.2 + 0.1 * Math.cos(time / 100))) // FOR 408.jpg
.modulate(src(s0).sub(src(o2).scroll(0.6)).colorama(2), 0.8)
// .scale(() => 2.5 + 0.5 * (time / 10 % 30))
.add(noise(100,0.2).luma(0.9).scale(0.5))
.out(o3)
render(o3)
......@@ -5,21 +5,21 @@ s0.initImage("/home/pln/Work/Hydra/oeuf.jpg")
src(s0).scale(1.6,0.69).out()
src(o0)
.modulate(src(o0).scale(() => 0.8 + 0.4 * Math.sin(time / 29)))
.modulate(src(o0).scale(() => 0.8 + 0.4 * Math.sin(time / 290)))
.modulateScale(src(o0)
.scale(() => 0.24 + 0.5 * ((time / 42) % 20))
.scale(() => 0.24 + 0.5 * ((time / 420) % 20))
)
.out(o1)
src(o1)
.blend(src(o3).scale(1.0099), 0.6)
.brightness(-0.005)
.brightness(-0.05)
.out(o2)
src(o2)
.modulate(src(o1).scale(0.9), 0.6)
.scale(() => 3.5 + 1.5 * Math.cos(time / 29))
.brightness(-0.113)
.scale(() => 3.5 + 1.5 * Math.cos(time / 129))
// .brightness(-0.113)
.contrast(1.57)
.hue(0.5)
.out(o3)
......
......@@ -23,13 +23,13 @@ src(o2)
// .rotate(() => (time/8 % 360) - 0.1 * a.fft[3])
.contrast(() => 1.2 + 0.12 * Math.sin(a.fft[0]))
// .hue(0.02)
.brightness(-0.115)
.brightness(-0.14)
.pixelate(() => 2000 - 2000 * a.fft[3],2000 - 2000 * a.fft[2]) // Pixel Highs
.out(o3)
a.show()
a.setScale(4.5)
a.setSmooth(0.65)
a.setScale(2.5)
a.setSmooth(0.25)
a.setCutoff(0.4)
a.setBins(4)
......
......@@ -14,6 +14,8 @@ src(o1)
src(o2)
.blend(src(o2).scale(0.993), 0.8)
.brightness(0.05)
.contrast(1.1)
.out(o3)
render(o3)
\ No newline at end of file
render(o3)
......@@ -3,7 +3,8 @@
// https://nech.pl/ariane13
// Original image credit: NASA; ESA; M. Postman, STScI; T. Lauer, NOAO, Tucson; CLASH team.
s0.initImage("https://git.plnech.fr/pln/Hydra/raw/e8cd9c3651615342ee7af334fe21684585409941/StarryNights/img/april-13-2019-galaxy-cluster-abell-2261.jpg")
s0.initImage("/home/pln/Work/Hydra/StarryNights/img/april-13-2019-galaxy-cluster-abell-2261.jpg")
// s0.initImage("https://git.plnech.fr/pln/Hydra/raw/e8cd9c3651615342ee7af334fe21684585409941/StarryNights/img/april-13-2019-galaxy-cluster-abell-2261.jpg")
src(s0)
.brightness(0.13).contrast(1.72)
.out(o0)
......@@ -24,12 +25,12 @@ src(o0)
.blend(o0)
.blend(src(o1).scale(0.5,0.9)
.contrast(1.05)
.rotate(() => -time/periodeRotation % 360)
.rotate(() => -time/13 % 360)
, 0.35)
.out(o2)
src(o2)
.modulate(o0,() => Math.sin(time/periodeGravite)/10)
.modulate(o0,() => Math.sin(time/13)/10)
.out(o1)
src(o1)
......
......@@ -4,7 +4,7 @@
// this image of galaxy cluster SMACS 0723 is overflowing with detail
// https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-delivers-deepest-infrared-image-of-universe-yet
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/Webb_deepest_yet.jpg")
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/Webb_deepest_yet.png")
src(s0)
// .contrast(() => 1 + 0.28 * Math.sin(time/42))
......@@ -17,7 +17,7 @@ src(s0)
.out(o1)
src(o0)
.modulateScale(osc(1.2,0.2))
.modulateScale(osc(1.2,0.02))
.out(o2)
......@@ -30,12 +30,13 @@ src(o2)
.mask(
src(o1)
.scale(() => 1 + 0.5 * Math.sin(time / 100))
.modulate(noise(() => 0 + Math.sin(time / 13)))
.modulate(noise(() => 0 + Math.sin(time / 23)))
.rotate(() => time / 10 % 360)
)
.colorama(() => 0.1 * Math.cos(time / 50))
, () => 0.2 + 0.09 * Math.sin(time)
, () => 0.2 + 0.09 * Math.sin(time/4)
)
.brightness(-0.15)
.out(o3)
render(o3)
......@@ -6,7 +6,8 @@
// of two gas-rich galaxies. It is also one of the strongest sources
// of radio emission in the sky.
s0.initImage("/home/pln/Work/Hydra/StarryNights/img/march-4-2019-galaxy-fornax-a.jpg")
// s0.initImage("/home/pln/Work/Hydra/StarryNights/img/march-4-2019-galaxy-fornax-a.jpg")
s0.initImage("https://git.plnech.fr/pln/Hydra/raw/fadf3c87cb23d0e933e30962f6e2d530e2ab483a/StarryNights/img/march-4-2019-galaxy-fornax-a.jpg")
// Source celeste: Fornax A
src(s0)
.scale(() => 1 - 0.05 * Math.sin(time / 4))
......@@ -20,7 +21,7 @@ src(o0)
.scale(2)
.rotate(() => time/43 % 360)
.scale([0.999,1.001]),
() => 0.7 - 0.6 * Math.sin(time/2)
() => 0.7 - 0.6 * Math.sin(time/20)
)
.out(o1)
// Oeuvre au blanc: filtre lumineux
......@@ -34,7 +35,7 @@ src(o0)
//Oeuvre au jaune: Masque geometrique
src(o1)
.blend(src(o1),() => 0.8 + 0.6 * Math.sin(time/(1312)))
.blend(o2,() => 0.4 + 0.8 * Math.sin(time / 4))
.blend(o2,() => 0.4 + 0.8 * Math.sin(time / 45))
// Oeuvre au rouge: Etoiles solaires
.add(noise(93,0.01)
.scroll(() => time/195.7)
......
s0.initImage("/home/pln/Work/Hydra/img/heather-shevlin-3B_NrzTjajc-unsplash.jpg")
a.hide();a.setScale(8);a.setCutoff(0.8);a.setSmooth(0.97) // 0.87 LA VOIX DU DESERT
src(s0)
// .scroll(() => -0 + 0.08 * Math.sin(time / 103), () => 0.15 + 0.08 * Math.sin(time / 200)) // LES MIRAGES DU DESERT
.scale(1.28).out(o0)
src(o0)
.blend(src(s0).invert(),() => 0.5 - 0.9 * a.fft[3] - (1 - a.fft[0]) * 0.4)
// .blend(src(s0).modulate(s0,() => 0.1 + 1.3 * (time % 360)), () => a.fft[2]) // LE SABLE DU DESERT
.out(o1)
src(o1)
.scale(() => 1 + 0.05 * a.fft[3])
.luma(() => 0.95)
.rotate(() => time/24 % 360)
.out(o2)
src(o1)
.add(src(s0).luma(() => 0.8 - 0.4 * a.fft[0]).invert(), 0.5) // LE BLUES DU DESERT // 0.5 LA FIN DU BLUES
.brightness(() => -0.8 + 0.12 * a.fft[0] - 0.05 * a.fft[1] + 0.05 * a.fft[2] + 0.02 * a.fft[3])
// .scale(() => 1. + 0.125 * a.fft[0] - 0.02 * a.fft[3]) // LE VENT DU DESERT
.out(o3)
render(o3)
......@@ -2,7 +2,9 @@ s0.initImage("file:///home/pln/Work/Hydra/biarritz/fougere.jpeg")
a.show()
a.setBins(4)
a.setSmooth(0.6)
a.setSmooth(0.7)
a.setCutoff(2)
a.setScale(5)
src(s0)
.scroll(0.11,-0.12)
......@@ -10,12 +12,12 @@ src(s0)
.out(o0)
src(o2)
.kaleid(() => 4 + 0.1 * a.fft[0])
.rotate(() => 0.05 * Math.cos(time / 60))
.blend(src(o2).kaleid(() => 4 + 0.1 * a.fft[0]), 0.5)
.rotate(() => 0.05 * Math.cos(time / 6))
.contrast(2)
.scale(() => 2 - 0 * a.fft[3])
.modulate(noise(10,0.05).luma(0.9 - a.fft[2]).scale(2))
.modulate(noise(20,0.15).luma(0.9 - 0.9 * a.fft[2]).scale(0.5))
.scale(() => 2 - 0.1 * a.fft[0])
.modulate(noise(10,0.005).luma(0.9 - 2 * a.fft[2]).scale(20))
.modulate(osc(0.1,0.0015).luma(0.9 - 0.9 * a.fft[2]).scale(0.5))
.out(o1)
......@@ -31,14 +33,15 @@ src(o2)
.modulate(
src(s0)
.modulate(src(s0)
.scale(() => 1.01 + 0.9 * Math.cos(time / 8880)
.scale(() => 1.01 + 0.9 * Math.cos(time / 20)
))
// .scale(() => 2 + 198 * (time % 198))
)
.scroll(() => - 0.2 + Math.sin(time / 320), () => 0.5 + 2.2 * Math.cos(time / 2300))
.scale(() => 2 + 1 * Math.sin(time / 420))
.blend(o1,0.5)
.luma(() => 0.3 + 0.35 * Math.cos(time / 44))
.blend(o1, () => 0.5 + 0.4 * Math.sin(time / 13))
.luma(() => 0.35 + 0.35 * Math.cos(time / 24))
.hue(() => Math.sin(time/93))
.out(o3)
render()
......
......@@ -23,9 +23,9 @@ src(o1)
.out(o2)
src(o2)
.modulateRotate(voronoi(10, 0.185).rotate(() => time /12 % 360)
.modulateRotate(voronoi(10, 0.05).rotate(() => time /120 % 360)
.mask(shape(30).scale(
() => 1.75 + 0.1 * Math.sin(time / 4),
() => 1.75 + 0.1 * Math.sin(time / 40),
() => 0.9 + 0.1 * Math.sin(time / 13)
))
)
......
s0.initImage("https://images.unsplash.com/photo-1630189161578-0126d436c1a9?q=80&w=3570&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
src(s0)
.modulate(
voronoi(6,0.3),
// () => (2.5 + Math.sin(time / 100) * 5) / 4
0.2
)
.out(o0)
src(o0)
.luma(() => 0.7 + 0.35 * Math.sin(time / 20))
.out(o1)
src(o0)
.modulate(src(o2)
.scale(()=> 1 - 0.02 * Math.sin(time / 20)) // Respiration
).rotate(() => 0.75 + 0.15 * Math.sin(time / 200)) // Angle de pluie
.out(o2)
src(s0)
.blend(src(s0).diff(o1), () => 2 * Math.sin(time / 93))
.blend(src(o2),() => 0.3 + 0.7 * Math.cos(time / 193))
.saturate(() => 0.5 + Math.sin(time / 42))
.out(o3)
render(o3)
s0.initImage("/home/pln/Downloads/pedro.mp4")
src(s0).out(o0)
render(o0)
s0.initImage("file:///home/pln/Downloads/Marie-Jose-Perec.jpg")
src(s0).thresh(() => 0.8 + 0.05 * Math.sin(time)).scale(1.2).out(o0)
voronoi(() => 8.6 + 0.2 * Math.sin(time/2), 0.02).color(0.6, 0.7, 1.1).modulate(src(o0)
src(s0)
.thresh(() => 0.8 + 0.05 * Math.sin(time)).scale(1.2)
.out(o0)
voronoi(() => 8.6 + 0.2 * Math.sin(time/2), 0.05).color(0.6, 0.7, 1.1).modulate(src(o0)
.scale(() => 1 + 0.05 * Math.sin(time / 10)))
.out(o1)
src(o1)
.scale(0.99)
.modulate(src(o3).thresh(0.89))
.mult(src(o0).scale(0.95),0.5)
.out(o2)
.out(o2)
src(o2).scale(() => 1 - 0.15 * Math.sin(time / 100))
// .luma(0.2).colorama(0.21)
.out(o3)
render(o3)
render(o1)
......@@ -12,64 +12,6 @@
// "La nébuleuse NCG 2074 est une tempête de flammes de création stellaire pure, peut-être déclenchée par une exposion de supernova proche.
// Elle repose dans une galaxie proche appelée les Nuages de Magellan, à 170 000 années lumières de la Terre."
// s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg")
s0.initImage("https://git.plnech.fr/pln/Hydra/raw/c4bdfe763713f6eac92f474b4cd815f840e92dbf/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg")
// s1.initImage("file:///home/pln/Work/Hydra/opal/opal.jpeg")
......@@ -82,7 +24,7 @@ s2.initImage("https://git.plnech.fr/pln/Hydra/raw/c4bdfe763713f6eac92f474b4cd815
src(s0)
.scroll(-0.1,() => 0.1 + 0.05 * Math.sin(time / 22))
.scale(1.7, 0.9)
.add(noise(400, () => 0.3 + 0.001 * Math.sin(time)).thresh(() => 0.8 + 0.15 * Math.sin(time / 40)))
// .add(noise(400, () => 0.3 + 0.001 * Math.sin(time)).thresh(() => 0.8 + 0.15 * Math.sin(time / 40)))
.out(o0)
//
// Opal 2024, brillant de mille feux
......@@ -90,8 +32,8 @@ src(s0)
src(s1)
.repeatY(() => 5 + 2 * Math.cos(time/300))
.modulate(osc(2,0.05))
.diff(noise(10, 0.02).thresh(() => 0.75 + 0.25 * Math.sin(time / 20)))
.luma(() => 0.5 + 0.4 * Math.sin(time / 20 % 360))
// .diff(noise(10, 0.02).thresh(() => 0.75 + 0.25 * Math.sin(time / 20)))
// .luma(() => 0.5 + 0.4 * Math.sin(time / 20 % 360))
.out(o1)
//
// Nos fils individuels, tissés ensemble en l'étoffe dont sont faits les rêves
......
voronoi().out()
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