diff --git a/Cookie/pepite.js b/Cookie/pepite.js index 556c479..7533d71 100644 --- a/Cookie/pepite.js +++ b/Cookie/pepite.js @@ -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) diff --git a/LIVE/metro.js b/LIVE/metro.js index 1ae3071..4589a34 100644 --- a/LIVE/metro.js +++ b/LIVE/metro.js @@ -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) diff --git a/MIRROR/img/1000023400.jpg b/MIRROR/img/1000023400.jpg new file mode 100644 index 0000000..0b43574 Binary files /dev/null and b/MIRROR/img/1000023400.jpg differ diff --git a/MIRROR/img/1000023401.jpg b/MIRROR/img/1000023401.jpg new file mode 100644 index 0000000..319680e Binary files /dev/null and b/MIRROR/img/1000023401.jpg differ diff --git a/MIRROR/img/1000023402.jpg b/MIRROR/img/1000023402.jpg new file mode 100644 index 0000000..90a7bb9 Binary files /dev/null and b/MIRROR/img/1000023402.jpg differ diff --git a/MIRROR/img/1000023404.jpg b/MIRROR/img/1000023404.jpg new file mode 100644 index 0000000..3b14bae Binary files /dev/null and b/MIRROR/img/1000023404.jpg differ diff --git a/MIRROR/img/1000023405.jpg b/MIRROR/img/1000023405.jpg new file mode 100644 index 0000000..866a48e Binary files /dev/null and b/MIRROR/img/1000023405.jpg differ diff --git a/MIRROR/img/1000023406.jpg b/MIRROR/img/1000023406.jpg new file mode 100644 index 0000000..d37159d Binary files /dev/null and b/MIRROR/img/1000023406.jpg differ diff --git a/MIRROR/img/1000023407.jpg b/MIRROR/img/1000023407.jpg new file mode 100644 index 0000000..eeddea7 Binary files /dev/null and b/MIRROR/img/1000023407.jpg differ diff --git a/MIRROR/img/1000023408.jpg b/MIRROR/img/1000023408.jpg new file mode 100644 index 0000000..876985a Binary files /dev/null and b/MIRROR/img/1000023408.jpg differ diff --git a/MIRROR/img/1000023409.jpg b/MIRROR/img/1000023409.jpg new file mode 100644 index 0000000..5f407d7 Binary files /dev/null and b/MIRROR/img/1000023409.jpg differ diff --git a/MIRROR/img/1000023410.jpg b/MIRROR/img/1000023410.jpg new file mode 100644 index 0000000..c333d2e Binary files /dev/null and b/MIRROR/img/1000023410.jpg differ diff --git a/MIRROR/img/1000023414.jpg b/MIRROR/img/1000023414.jpg new file mode 100644 index 0000000..eca1840 Binary files /dev/null and b/MIRROR/img/1000023414.jpg differ diff --git a/MIRROR/img/1000023415.jpg b/MIRROR/img/1000023415.jpg new file mode 100644 index 0000000..ee08592 Binary files /dev/null and b/MIRROR/img/1000023415.jpg differ diff --git a/MIRROR/img/1000023416.jpg b/MIRROR/img/1000023416.jpg new file mode 100644 index 0000000..4169fcb Binary files /dev/null and b/MIRROR/img/1000023416.jpg differ diff --git a/MIRROR/img/1000023417.jpg b/MIRROR/img/1000023417.jpg new file mode 100644 index 0000000..92d04a9 Binary files /dev/null and b/MIRROR/img/1000023417.jpg differ diff --git a/MIRROR/img/1000023418.jpg b/MIRROR/img/1000023418.jpg new file mode 100644 index 0000000..359422b Binary files /dev/null and b/MIRROR/img/1000023418.jpg differ diff --git a/MIRROR/img/1000023419.jpg b/MIRROR/img/1000023419.jpg new file mode 100644 index 0000000..6aa4156 Binary files /dev/null and b/MIRROR/img/1000023419.jpg differ diff --git a/MIRROR/img/1000023420.jpg b/MIRROR/img/1000023420.jpg new file mode 100644 index 0000000..ea15aa1 Binary files /dev/null and b/MIRROR/img/1000023420.jpg differ diff --git a/MIRROR/img/IMG_20240829_143345.jpg b/MIRROR/img/IMG_20240829_143345.jpg new file mode 100644 index 0000000..5ba5269 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143345.jpg differ diff --git a/MIRROR/img/IMG_20240829_143358.jpg b/MIRROR/img/IMG_20240829_143358.jpg new file mode 100644 index 0000000..cc3af3d Binary files /dev/null and b/MIRROR/img/IMG_20240829_143358.jpg differ diff --git a/MIRROR/img/IMG_20240829_143413.jpg b/MIRROR/img/IMG_20240829_143413.jpg new file mode 100644 index 0000000..3f82803 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143413.jpg differ diff --git a/MIRROR/img/IMG_20240829_143511.jpg b/MIRROR/img/IMG_20240829_143511.jpg new file mode 100644 index 0000000..c8a5bfa Binary files /dev/null and b/MIRROR/img/IMG_20240829_143511.jpg differ diff --git a/MIRROR/img/IMG_20240829_143534.jpg b/MIRROR/img/IMG_20240829_143534.jpg new file mode 100644 index 0000000..417eee6 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143534.jpg differ diff --git a/MIRROR/img/IMG_20240829_143546.jpg b/MIRROR/img/IMG_20240829_143546.jpg new file mode 100644 index 0000000..7f42932 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143546.jpg differ diff --git a/MIRROR/img/IMG_20240829_143548.jpg b/MIRROR/img/IMG_20240829_143548.jpg new file mode 100644 index 0000000..17808d1 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143548.jpg differ diff --git a/MIRROR/img/IMG_20240829_143553.jpg b/MIRROR/img/IMG_20240829_143553.jpg new file mode 100644 index 0000000..040a276 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143553.jpg differ diff --git a/MIRROR/img/IMG_20240829_143555.jpg b/MIRROR/img/IMG_20240829_143555.jpg new file mode 100644 index 0000000..fed6a7a Binary files /dev/null and b/MIRROR/img/IMG_20240829_143555.jpg differ diff --git a/MIRROR/img/IMG_20240829_143606.jpg b/MIRROR/img/IMG_20240829_143606.jpg new file mode 100644 index 0000000..1acd494 Binary files /dev/null and b/MIRROR/img/IMG_20240829_143606.jpg differ diff --git a/MIRROR/marine.js b/MIRROR/marine.js new file mode 100644 index 0000000..b983753 --- /dev/null +++ b/MIRROR/marine.js @@ -0,0 +1,29 @@ +// 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() diff --git a/MIRROR/maze.js b/MIRROR/maze.js new file mode 100644 index 0000000..6df5b50 --- /dev/null +++ b/MIRROR/maze.js @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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) diff --git a/Oeuf.js b/Oeuf.js index 01ea0a6..7ba72fc 100644 --- a/Oeuf.js +++ b/Oeuf.js @@ -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) diff --git a/Oeuf_audio.js b/Oeuf_audio.js index b968048..4dc8198 100644 --- a/Oeuf_audio.js +++ b/Oeuf_audio.js @@ -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) diff --git a/Petrole.js b/Petrole.js index ced409f..9e89d19 100755 --- a/Petrole.js +++ b/Petrole.js @@ -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) diff --git a/StarryNights/Ariane13.js b/StarryNights/Ariane13.js index f2e6392..7fbfb85 100755 --- a/StarryNights/Ariane13.js +++ b/StarryNights/Ariane13.js @@ -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) diff --git a/StarryNights/DualRing.js b/StarryNights/DualRing.js index 444a0ee..84d0f16 100644 --- a/StarryNights/DualRing.js +++ b/StarryNights/DualRing.js @@ -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) diff --git a/StarryNights/caoimhe.js b/StarryNights/caoimhe.js index 21cc4ea..e7cdd4f 100644 --- a/StarryNights/caoimhe.js +++ b/StarryNights/caoimhe.js @@ -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) diff --git a/TidalSide/desert.js b/TidalSide/desert.js new file mode 100644 index 0000000..39b7638 --- /dev/null +++ b/TidalSide/desert.js @@ -0,0 +1,20 @@ +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) diff --git a/biarritz/fou_gere.js b/biarritz/fou_gere.js index cbfd502..fa447da 100644 --- a/biarritz/fou_gere.js +++ b/biarritz/fou_gere.js @@ -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() diff --git a/biarritz/pleine_lune.js b/biarritz/pleine_lune.js index 4cf3265..5a65ab0 100644 --- a/biarritz/pleine_lune.js +++ b/biarritz/pleine_lune.js @@ -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) )) ) diff --git a/friends/bad_ice.js b/friends/bad_ice.js new file mode 100644 index 0000000..1ace417 --- /dev/null +++ b/friends/bad_ice.js @@ -0,0 +1,25 @@ +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) diff --git a/friends/pedro.js b/friends/pedro.js index e69de29..8060cfa 100644 --- a/friends/pedro.js +++ b/friends/pedro.js @@ -0,0 +1,3 @@ +s0.initImage("/home/pln/Downloads/pedro.mp4") +src(s0).out(o0) +render(o0) diff --git a/img/heather-shevlin-3B_NrzTjajc-unsplash.jpg b/img/heather-shevlin-3B_NrzTjajc-unsplash.jpg new file mode 100644 index 0000000..3ec3965 Binary files /dev/null and b/img/heather-shevlin-3B_NrzTjajc-unsplash.jpg differ diff --git a/img/olympics.jpg b/img/olympics.jpg new file mode 100644 index 0000000..d35a83d Binary files /dev/null and b/img/olympics.jpg differ diff --git a/marijo.js b/marijo.js index e596c56..7120180 100644 --- a/marijo.js +++ b/marijo.js @@ -1,14 +1,16 @@ 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) diff --git a/opal/tom.js b/opal/tom.js index a73d284..d96f320 100644 --- a/opal/tom.js +++ b/opal/tom.js @@ -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 diff --git a/test.js b/test.js new file mode 100644 index 0000000..30f694f --- /dev/null +++ b/test.js @@ -0,0 +1 @@ +voronoi().out() diff --git a/zephyr/maze.png b/zephyr/maze.png new file mode 100644 index 0000000..f0bc996 Binary files /dev/null and b/zephyr/maze.png differ