From 44d91e6ed1e563553bfb77feff36b40cd91d1de6 Mon Sep 17 00:00:00 2001 From: Paul-Louis NECH Date: Wed, 14 Aug 2024 15:15:45 +0200 Subject: [PATCH] Opal --- 420/raptor-rapture.js | 12 ++++++++++++ Cookie/one.jpg | Bin 0 -> 140823 bytes Cookie/pepite.js | 39 +++++++++++++++++++++++++++++++++++++++ Figures/draw1.png | Bin 0 -> 998238 bytes Figures/original.jpeg | Bin 0 -> 483019 bytes LIVE/BoothMardi.js | 34 ++++++++++++++++++++++++++++++++++ LIVE/metro.js | 31 +++++++++++++++++++++++++++++++ LIVE/val_mai.js | 0 Nuages/IMG_20240426_191322.jpg | Bin 0 -> 2041048 bytes Nuages/IMG_20240426_191413.jpg | Bin 0 -> 2578178 bytes Nuages/IMG_20240426_191420.jpg | Bin 0 -> 2348024 bytes Nuages/IMG_20240426_194213.jpg | Bin 0 -> 2155260 bytes Nuages/bruit_du_ciel.js | 36 ++++++++++++++++++++++++++++++++++++ Nuages/nuagescape.js | 21 +++++++++++++++++++++ Nuages/premier_nuage.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ Oeuf_audio.js | 36 ++++++++++++++++++++++++++++++++++++ PixelateCam.js | 3 +++ StarryNights/img/august-10-2019-nebula-ngc-2074.jpg | Bin 0 -> 1596676 bytes bnw/tracers.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ book/landing.js | 12 ++++++++++++ book/oscillators.js | 9 +++++++++ book/statue.js | 38 ++++++++++++++++++++++++++++++++++++++ friends/pedro.js | 0 friends/pierre_feuilles_val.js | 38 ++++++++++++++++++++++++++++++++++++++ marijo.js | 14 ++++++++++++++ metro.jpg | Bin 0 -> 3520480 bytes noise.js | 3 +++ olympics/arrivee_de_la_flamme.js | 31 +++++++++++++++++++++++++++++++ olympics/belem.avif | Bin 0 -> 79688 bytes olympics/belem_dessin.jpg | Bin 0 -> 67923 bytes olympics/belem_dos.jpg | Bin 0 -> 208343 bytes olympics/flamme.png | Bin 0 -> 35287 bytes olympics/flamme.webp | Bin 0 -> 33204 bytes opal/opal.jpeg | Bin 0 -> 375884 bytes opal/opal2.jpeg | Bin 0 -> 417649 bytes opal/tom.js | 32 ++++++++++++++++++++++++++++++++ terre/logo.jpeg | Bin 0 -> 303694 bytes terre/logo.png | Bin 0 -> 58345 bytes terre/soulevement_du_feu.js | 43 +++++++++++++++++++++++++++++++++++++++++++ zephyr/DSC_0014.JPG | Bin 0 -> 5670527 bytes zephyr/DSC_0016.JPG | Bin 0 -> 4083830 bytes zephyr/DSC_0024.JPG | Bin 0 -> 2931524 bytes zephyr/DSC_0027.JPG | Bin 0 -> 2874689 bytes 43 files changed, 520 insertions(+) create mode 100644 420/raptor-rapture.js create mode 100644 Cookie/one.jpg create mode 100644 Cookie/pepite.js create mode 100644 Figures/draw1.png create mode 100644 Figures/original.jpeg create mode 100644 LIVE/BoothMardi.js create mode 100644 LIVE/metro.js create mode 100644 LIVE/val_mai.js create mode 100644 Nuages/IMG_20240426_191322.jpg create mode 100644 Nuages/IMG_20240426_191413.jpg create mode 100644 Nuages/IMG_20240426_191420.jpg create mode 100644 Nuages/IMG_20240426_194213.jpg create mode 100644 Nuages/bruit_du_ciel.js create mode 100644 Nuages/nuagescape.js create mode 100644 Nuages/premier_nuage.js create mode 100644 Oeuf_audio.js create mode 100644 PixelateCam.js create mode 100644 StarryNights/img/august-10-2019-nebula-ngc-2074.jpg create mode 100644 bnw/tracers.js create mode 100644 book/landing.js create mode 100644 book/oscillators.js create mode 100644 book/statue.js create mode 100644 friends/pedro.js create mode 100644 friends/pierre_feuilles_val.js create mode 100644 marijo.js create mode 100644 metro.jpg create mode 100644 noise.js create mode 100644 olympics/arrivee_de_la_flamme.js create mode 100644 olympics/belem.avif create mode 100644 olympics/belem_dessin.jpg create mode 100644 olympics/belem_dos.jpg create mode 100644 olympics/flamme.png create mode 100644 olympics/flamme.webp create mode 100644 opal/opal.jpeg create mode 100644 opal/opal2.jpeg create mode 100644 opal/tom.js create mode 100644 terre/logo.jpeg create mode 100644 terre/logo.png create mode 100644 terre/soulevement_du_feu.js create mode 100755 zephyr/DSC_0014.JPG create mode 100755 zephyr/DSC_0016.JPG create mode 100755 zephyr/DSC_0024.JPG create mode 100755 zephyr/DSC_0027.JPG diff --git a/420/raptor-rapture.js b/420/raptor-rapture.js new file mode 100644 index 0000000..a584463 --- /dev/null +++ b/420/raptor-rapture.js @@ -0,0 +1,12 @@ +s0.initImage("https://onlyhdwallpapers.com/thumbnail/meme-philosoraptor-3xme.jpg") + +src(s0).out(o0) + +src(o0).modulate( + src(o0) + .scale(() => 0.5 + 1.5 * Math.sin(time * 0.05)) + .rotate(() => time * 0.01 % 360) + .pixelate(128)) + .out(o1) + +render(o1) diff --git a/Cookie/one.jpg b/Cookie/one.jpg new file mode 100644 index 0000000..e09c089 Binary files /dev/null and b/Cookie/one.jpg differ diff --git a/Cookie/pepite.js b/Cookie/pepite.js new file mode 100644 index 0000000..556c479 --- /dev/null +++ b/Cookie/pepite.js @@ -0,0 +1,39 @@ +a.setBins(4) +a.setSmooth(0.7) +a.setScale(10) +a.setCutoff(4) +a.show() + +s0.initImage("/home/pln/Work/Hydra/Cookie/one.jpg") +// s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg") +src(s0) + .brightness(-0.4) + .scale(0.9,0.6) + .contrast(1.4) + .out(o0) +src(o0) + .modulate(src(o1).scale(() => 1 + 0.5 * Math.sin(a.fft[0]))) + .scale(1.32) + .out(o1) +// Neige +voronoi(() => 100 + 100 * (a.fft[3] - 1.5 * a.fft[0]),() => 0.2) + .scrollY(() => -time * 0.005) + .thresh(() => 0.93 - 0.135 * Math.sin(a.fft[3])) + .out(o2) +src(o1) + // .scroll(() => 0.2 + (time / 200 % 42), 0) + // .scale(() => 1.5 + 0.3 * (time % 30) + 0.3 * (time % 91)) + .add(o2) + // Nuages + .add( + src(s1).brightness(0.2) + .colorama(() => 0.85 - 1.2 * a.fft[2]) + // En mouvement + .scale(() => 1.5 - 0.5 * a.fft[3]) + .rotate(() => (time * (0.1 + 0.001 * a.fft[0]) % 360)) + .luma(() => 0.98 - 0.25 * ((a.fft[1] + a.fft[2]) % 360)) // Only the brightest + , 0.3) + .contrast(1.2) + .brightness(-0.05) + .out(o3) +render(o3) diff --git a/Figures/draw1.png b/Figures/draw1.png new file mode 100644 index 0000000..1b1cecd Binary files /dev/null and b/Figures/draw1.png differ diff --git a/Figures/original.jpeg b/Figures/original.jpeg new file mode 100644 index 0000000..c7909f2 Binary files /dev/null and b/Figures/original.jpeg differ diff --git a/LIVE/BoothMardi.js b/LIVE/BoothMardi.js new file mode 100644 index 0000000..db20c00 --- /dev/null +++ b/LIVE/BoothMardi.js @@ -0,0 +1,34 @@ +s0.initCam(1) + +a.show() +a.setBins(4) +a.setSmooth(0.4) + +src(s0) + // .rotate(() => Math.sin(time / 14)) + .rotate(() => -3.15) + .scroll(0.12,-0.04) + // .scale(2.5, 0.8) + .pixelate(200, 200) + .out(o0) + +src(o0) +.diff(src(o1) + .scale(() => 0.9995 + 0.1 * Math.sin(time / 53))) +.out(o1) + +src(o1) + .scale(0.999) + // .thresh(() => 0.8 - 0.4 * Math.sin(time / 10)) + .out(o2) + +src(o1) + +.scale(() => 0.95 + 0.15 * Math.sin(time / 4) + 0.2 * a.fft[0]) +.saturate(() => 1 + 3 * a.fft[3] + 0.5 * Math.cos(time / 2)) +.modulate(src(o2).scale(0.9).rotate(() => Math.cos(time / 20) * 0.4) + // .diff(noise(0.1, () => a.fft[0])) + , 0.02) +.out(o3) + +render(o3) diff --git a/LIVE/metro.js b/LIVE/metro.js new file mode 100644 index 0000000..1ae3071 --- /dev/null +++ b/LIVE/metro.js @@ -0,0 +1,31 @@ +s0.initImage("/home/pln/Work/Hydra/metro.jpg") +src(s0) + // .scroll(() => 0.05 * Math.sin(a.fft[3]), ()=> -0.12 + 0.05 * Math.sin(time / 12)) + .scale(1.5) + .out(o0) +src(o0) +.mult(src(o3), -1.2) + // .blend(src(s0).rotate(() => 0.13 * Math.sin(time / 13))) + .out(o1) +src(o1) + .rotate(() => (time / 10 % 360)) + .mask(src(o0)) + .kaleid(() => Math.sin(time / 20) + 4) + // .colorama(0.04) + // .luma(() => 0.7 + 0.1 * a.fft[0])) +.out(o2) +src(o2) + // .contrast(() => 1.1 + 0.42 * a.fft[1] + 0.25 * Math.sin(time/7)) + .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)) + // .blend(s0) + .brightness(() => -0.65) + .saturate(2) + .out(o3) +render(o3) + +// a.setBins(4) +// a.setSmooth(0.8) +a.hide() diff --git a/LIVE/val_mai.js b/LIVE/val_mai.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/LIVE/val_mai.js diff --git a/Nuages/IMG_20240426_191322.jpg b/Nuages/IMG_20240426_191322.jpg new file mode 100644 index 0000000..ccbab53 Binary files /dev/null and b/Nuages/IMG_20240426_191322.jpg differ diff --git a/Nuages/IMG_20240426_191413.jpg b/Nuages/IMG_20240426_191413.jpg new file mode 100644 index 0000000..555c1a1 Binary files /dev/null and b/Nuages/IMG_20240426_191413.jpg differ diff --git a/Nuages/IMG_20240426_191420.jpg b/Nuages/IMG_20240426_191420.jpg new file mode 100644 index 0000000..63b150a Binary files /dev/null and b/Nuages/IMG_20240426_191420.jpg differ diff --git a/Nuages/IMG_20240426_194213.jpg b/Nuages/IMG_20240426_194213.jpg new file mode 100644 index 0000000..1156419 Binary files /dev/null and b/Nuages/IMG_20240426_194213.jpg differ diff --git a/Nuages/bruit_du_ciel.js b/Nuages/bruit_du_ciel.js new file mode 100644 index 0000000..4f33a9f --- /dev/null +++ b/Nuages/bruit_du_ciel.js @@ -0,0 +1,36 @@ +a.setBins(4) +a.setSmooth(0.7) +a.setScale(6) +a.setCutoff(4) +a.show() +s0.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_191322.jpg") +s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg") +src(s1) + .brightness(-0.4) + .contrast(1.4) + .out(o0) +src(o0) + .modulate(src(o1).scale(() => 1 + 0.05 * Math.sin(a.fft[0]))) + .out(o1) +// Neige +noise(() => 20 * 20 * (a.fft[3] - 1.5 * a.fft[0]),() => 0.02) + .scrollY(() => -time * 0.005) + .thresh(() => 0.93 - 0.035 * Math.sin(a.fft[3])) + .out(o2) +src(o1) + .scroll(() => 0.2 + (time / 200 % 42), 0) + .scale(() => 1.5 + 0.3 * (time % 30) + 0.3 * (time % 91)) + .add(o2) + // Nuages + .add( + src(s1).brightness(0.2) + .colorama(() => 0.85 - 1.2 * a.fft[2]) + // En mouvement + .scale(() => 1.5 - 0.5 * a.fft[3]) + .rotate(() => (time * (0.1 + 0.001 * a.fft[0]) % 360)) + .luma(() => 0.98 - 0.25 * ((a.fft[1] + a.fft[2]) % 360)) // Only the brightest + , 0.3) + .contrast(1.2) + .brightness(-0.05) + .out(o3) +render(o3) diff --git a/Nuages/nuagescape.js b/Nuages/nuagescape.js new file mode 100644 index 0000000..a8a2ca9 --- /dev/null +++ b/Nuages/nuagescape.js @@ -0,0 +1,21 @@ +//Based on Pixelscape by Marianne Teixido +s0.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_191322.jpg") +s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg") +src(s1).out(o2) +src(o0) + .saturate(1.01) + .scale(.9995) + .color(1.01,1.01,1.01) + // .hue(.01) + .modulateHue(src(o1).hue(.3).posterize(-1).contrast(.7),0.2) + .layer(src(o1) + .luma(() => 0.4 + 0.3 * Math.sin(time / 93)) + .mult(osc(0.02,0.2).hue(.3).brightness(0.63) + .saturate(.9))) + .out(o0) +noise(1, .2) + .rotate(2,.5) + .layer(src(o0).diff(src(o2).scale(() => 0.8 + 0.1 * Math.sin(time / 20))) + .scrollX(.2)) + .out(o1) +render(o1) diff --git a/Nuages/premier_nuage.js b/Nuages/premier_nuage.js new file mode 100644 index 0000000..dbf1850 --- /dev/null +++ b/Nuages/premier_nuage.js @@ -0,0 +1,44 @@ +s0.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_191322.jpg") +s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg") +src(s0) + .brightness(-0.2) + .saturate(1.12) + .contrast(1.4) + .out(o0) +src(o0) + .hue(0.02) + .add( + src(o0) + .scroll(0,-0.235) + .mask(shape(4).scroll(0,-0.05).scale(2,4)) // Bottom half + .blend(o0,0.5) // Subtle blend + .luma(() => 0.8 + 0.125 * Math.sin(time / 2)) + , // Lumiere du jour qui pulse + () => 0.2 + 0.5 * Math.cos(time / (24 * 12)) // Jour / Nuit + ) + .out(o1) +// Neige +noise(180,0.03) + // Qui tombe + .scrollY(() => -time * 0.01).thresh(0.91) + // Top half + .mask(shape(4).invert().scroll(0,-0.11).scale(2,4)) + .out(o2) +src(o1) + .saturate(1.3) + .add(o2) + // Nuages + .add( + src(s1).brightness(0.2) + // En mouvement + .scale(() => 1.5 + 0.3 * Math.sin(time / 22)) + .mask(shape(4).contrast(0.8).scroll(0,-0.11).scale(2.1,4)) // Bottom half + .rotate(0.03) // Legerement penché + .luma(() => 1 + 0.2 * Math.cos(time / 13)) // Only the brightest + // .blend(o1, () => 0.5 + 0.3 * Math.sin(time / 19)) // Subtle blend + , 0.3) + .contrast(1.2) + .brightness(-0.05) + .out(o3) +render(o3) +// a.hide() diff --git a/Oeuf_audio.js b/Oeuf_audio.js new file mode 100644 index 0000000..b968048 --- /dev/null +++ b/Oeuf_audio.js @@ -0,0 +1,36 @@ +// Omelette virtuelle +// Par PLN + +s0.initImage("/home/pln/Work/Hydra/oeuf.jpg") +src(s0).scale(1.6,0.69).out() + +src(o0) + .modulate(src(o0).scale(() => 0.68 + 0.4 * Math.sin(time / 29))) + .modulateScale(src(o0) + .scale(() => 0.24 + 0.5 * ((time / 42) % 20)) + ) + .modulate(noise(() => 1.8 + 0.05 * a.fft[3], 0.05), 0.25) // NOISE CIRCLES PARTY!!! + .out(o1) + +src(o1) + .blend(src(o3).scale(1.099), 0.6) + .brightness(+0.005) + .out(o2) + +src(o2) + .modulate(src(o1).scale(() => 1.008 + 0.2 * Math.sin(time) + 0 * a.fft[1]), 0.6) + .scale(() => 0.91 + 0.42 * a.fft[0] + 0.01 * Math.cos(time / 29)) + // .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) + .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.setCutoff(0.4) +a.setBins(4) + +render(o3) diff --git a/PixelateCam.js b/PixelateCam.js new file mode 100644 index 0000000..2f818b6 --- /dev/null +++ b/PixelateCam.js @@ -0,0 +1,3 @@ +s0.initCam() + +src(s0).out(o0) diff --git a/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg b/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg new file mode 100644 index 0000000..73057d3 Binary files /dev/null and b/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg differ diff --git a/bnw/tracers.js b/bnw/tracers.js new file mode 100644 index 0000000..739a850 --- /dev/null +++ b/bnw/tracers.js @@ -0,0 +1,44 @@ +// Tracer fISH +// By PLN +// me.plnech.fr/hydra +a.show() +a.setBins(4) + +shape(3) + .scale(() => 0.8 + a.fft[0],0.6) + .modulate(osc([2021],0.000001)) + .scrollX(() => (Math.random() * 0.00001)) + .out(o0) + +src(o0) + .scrollX(-0.091) + .scrollY(-0.12) + .rotate(() => 1.8 - Math.sin(time / 200 % 360)) + .scale(4) + // .blend(src(o2).scale(2).rotate(-1), () => 0.1 + 0.1 * Math.sin(time/20)) // N01SE + .out(o1) + +src(o1) + .modulate(src(o1) + .scale(() => (time % 100 / 5) * 0.2 + 0.05 * Math.cos(time/200)) + .rotate(() => Math.sin(0.05 * (time % 240))) + ) + .colorama(0) // MISSILES + .blend(src(o3).modulate(noise(0.2,2)),0.25) + .out(o2) + +src(o2) + .add( + src(o2) + .colorama(() => 0.2 + 0.2) + .posterize(20,2) + // .invert() + .modulate( + src(o2)) + ) + .brightness(() => 0 - 0.25) + .contrast(2) + .scale(2.4,() => 0.9 + 0.2 * Math.sin(time)) + .out(o3)chr + +render(o3) diff --git a/book/landing.js b/book/landing.js new file mode 100644 index 0000000..45b2f0c --- /dev/null +++ b/book/landing.js @@ -0,0 +1,12 @@ +shape(50,0.35,0.25).out(o0) +osc(40,0.001,1).hue(-0.1).modulate(noise(1,0),0.5) +.modulateRotate(osc(12,0).kaleid(100),() => 0.1 * Math.sin(time / 12)).out(o1) +src(o2) + .modulateHue(o1,4) + .blend(o0,0.03) + .out(o2) +src(o2) + .contrast(2) + .mult(src(o1)) + .out(o3) +render(o3) diff --git a/book/oscillators.js b/book/oscillators.js new file mode 100644 index 0000000..31d3852 --- /dev/null +++ b/book/oscillators.js @@ -0,0 +1,9 @@ +osc(() => 32 + 256 * Math.abs(Math.sin(time / 100)),-0.0005).out(o0) +src(o0) + .thresh(() => 0.029 + Math.sin(time / 93)) + .brightness(() => -0.6 + 0.5 * Math.sin(-time/ 20)) + .out(o1) +src(o0).posterize(() => 10 * Math.abs(Math.sin(time / 10)),1).out(o2) +src(o2).modulate(src(o1).pixelate([2,4,8,32,256].fast(1/4))) +.out(o3) +render(o3) diff --git a/book/statue.js b/book/statue.js new file mode 100644 index 0000000..9adf3ca --- /dev/null +++ b/book/statue.js @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + +shape(40,0.5).scale(1.7, 0.63) + .color(0.1,0,0.9).out(o0) +osc(10,[0.01,-0.01].fast(1/16),1) + .modulate(noise(2,0),0.5) + .luma([1, 0.99, 0.95, 0.8, 0.4, 0.3, 0.2, 0.1].fast(1/4)) + .out(o1) +src(o2) + .modulate( + src(o1) + .add(solid(1,1),-0.5) + ,0.01) + .blend(src(o0),0.03) + .hue(-0.0025) + .out(o2) +src(o2) + .luma(0.01) + .contrast(1.4) + .out(o3) +render() +render(o3) diff --git a/friends/pedro.js b/friends/pedro.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/friends/pedro.js diff --git a/friends/pierre_feuilles_val.js b/friends/pierre_feuilles_val.js new file mode 100644 index 0000000..6975286 --- /dev/null +++ b/friends/pierre_feuilles_val.js @@ -0,0 +1,38 @@ +// Feuilles vivantes +// Par PLN +// Basé sur une photo de Chris Lawton : https://unsplash.com/photos/5IHz5WhosQE +// +// Pour Pierre + +a.show() +a.setBins(4) + +s0.initImage("https://images.unsplash.com/photo-1477414348463-c0eb7f1359b6?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2670&q=80") + +src(s0) +.scrollX(1, 0.0333) +.scrollY(() => a.fft[0] * 0.1, 0.1) +.modulateRotate(noise(() => Math.sin(time / 4) * 10 + 20), () => Math.sin(time / 5.33) / 2 + 0.5) +.kaleid(2) +.out(o0) + +src(o0) + .scale(0.99) + .out(o1) + +src(o1) + .scale(1.0009) + .modulateRotate(src(o1), 0.5) + .mult(src(o2).rotate(0.5), 0.7) + .out(o2) + +src(o2) +.scale(() => 1.05 + 0.2 * Math.sin(time / 10)) +// .luma(() => 0.1 + 0.7 * (Math.sin(time /100))) +.blend(src(o2) + .scale(() => 0.4 + 0.05 * Math.sin(time / 10)) + , 0.2) + .invert(() => Math.sin(time / 1)) +.out(o3) + +render(o1) diff --git a/marijo.js b/marijo.js new file mode 100644 index 0000000..e596c56 --- /dev/null +++ b/marijo.js @@ -0,0 +1,14 @@ +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) + .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) +src(o2).scale(() => 1 - 0.15 * Math.sin(time / 100)) + // .luma(0.2).colorama(0.21) + .out(o3) +render(o3) diff --git a/metro.jpg b/metro.jpg new file mode 100644 index 0000000..5b4ef22 Binary files /dev/null and b/metro.jpg differ diff --git a/noise.js b/noise.js new file mode 100644 index 0000000..d8fabef --- /dev/null +++ b/noise.js @@ -0,0 +1,3 @@ +noise(100) +.luma(0.9).out() +render(o0) diff --git a/olympics/arrivee_de_la_flamme.js b/olympics/arrivee_de_la_flamme.js new file mode 100644 index 0000000..12101bb --- /dev/null +++ b/olympics/arrivee_de_la_flamme.js @@ -0,0 +1,31 @@ +s0.initImage("/home/pln/Work/Hydra/olympics/flamme.png") +s1.initImage("/home/pln/Work/Hydra/olympics/belem.avif") +src(s0) + .scale(0.8, 0.25) + .scroll(() => -0.051 + Math.abs((time / 240) % 360),() => -0.1) + .out(o0) +src(o0) + // .modulate(src(o0).scale(() => 1.5 + 0.5 * Math.sin(time / 20)), Math.sin(time / 10)) // GLITCH NOISE + // BLEND WALL + .blend(src(o0).scale(0.99), 0.8) + // .blend(src(o0).scale(0.97), 0.8) + .blend(src(o0).scale(() => 0.95 + 0.01 * Math.sin(time / 20)), 0.5) + .blend(src(o0).scale(() => 0.93 + 0.01 * Math.sin(time / 18)), 0.25) + .blend(src(o0).scale(() => 0.91 + 0.01 * Math.sin(time / 17)), 0.125) + // .blend(src(o0).scale(0.89), 0.1) +.out(o1) +src(o1) + .hue(0.3).luma(() => 0.5 + 0.3 * Math.sin(time / 9)) + // .modulateRotate(voronoi(0.5,0.02,100000 * Math.sin(time / 4) / 10000 * Math.sin(time / 13))) + .out(o2) +src(s1) + .scale(1.4, 1.1) + .saturate(() => 1.5 + -0.25 * Math.sin(time)) + .scroll(() => -0.15 + 0.05 * Math.sin(time / 10),-0.02) + .mult(src(o2).brightness(0.1)) + .diff(src(o2).brightness(() => -0.5 + 0.3 * Math.sin(time / 200))) + .scale(1.1) + .brightness(() => - 0.05 + 0.1 * Math.sin(time / 20)) + .saturate(1.3) + .out(o3) +render(o3) diff --git a/olympics/belem.avif b/olympics/belem.avif new file mode 100644 index 0000000..b066602 Binary files /dev/null and b/olympics/belem.avif differ diff --git a/olympics/belem_dessin.jpg b/olympics/belem_dessin.jpg new file mode 100644 index 0000000..2c8b28d Binary files /dev/null and b/olympics/belem_dessin.jpg differ diff --git a/olympics/belem_dos.jpg b/olympics/belem_dos.jpg new file mode 100644 index 0000000..db3446a Binary files /dev/null and b/olympics/belem_dos.jpg differ diff --git a/olympics/flamme.png b/olympics/flamme.png new file mode 100644 index 0000000..c0d7c35 Binary files /dev/null and b/olympics/flamme.png differ diff --git a/olympics/flamme.webp b/olympics/flamme.webp new file mode 100644 index 0000000..7717c58 Binary files /dev/null and b/olympics/flamme.webp differ diff --git a/opal/opal.jpeg b/opal/opal.jpeg new file mode 100644 index 0000000..0e1e9ae Binary files /dev/null and b/opal/opal.jpeg differ diff --git a/opal/opal2.jpeg b/opal/opal2.jpeg new file mode 100644 index 0000000..1150546 Binary files /dev/null and b/opal/opal2.jpeg differ diff --git a/opal/tom.js b/opal/tom.js new file mode 100644 index 0000000..b36bfac --- /dev/null +++ b/opal/tom.js @@ -0,0 +1,32 @@ +s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg") +s1.initImage("file:///home/pln/Work/Hydra/opal/opal.jpeg") +s2.initImage("file:///home/pln/Work/Hydra/opal/opal2.jpeg") + +// On August 10 in 2008 +// Nebula NGC 2074 +// The nebula NGC 2074 is a firestorm of raw stellar creation, perhaps triggered by a nearby supernova explosion. +// It lies in a nearby galaxy called the Large Magellanic Cloud, about 170,000 light-years away. + +// La nebuleuse, en mouvement dans les étoiles +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))) +.out(o0) + +// Opal 2024, +src(s1) + .repeatY(() => 5 + 2 * Math.cos(time/300)) + .modulate(osc(2,0.05)) + .diff(noise(10).thresh(() => 0.75 + 0.25 * Math.sin(time / 20))) + .luma(() => 0.5 + 0.4 * Math.sin(time / 20 % 360)) + .out(o1) + +src(s2).repeatY(() => 10 + 5 * Math.sin(time/10)).brightness(-0.25 + 0.25 * Math.sin(time)).out(o2) + +src(o0) +.add(src(o2), () => 0.3 + 0.3 * Math.sin(time / 93)) +.mult(src(o1), () => 0.5 + 0.45 * Math.sin(time / 10)) +.out(o3) + +render(o3) diff --git a/terre/logo.jpeg b/terre/logo.jpeg new file mode 100644 index 0000000..ea10bcf Binary files /dev/null and b/terre/logo.jpeg differ diff --git a/terre/logo.png b/terre/logo.png new file mode 100644 index 0000000..6a971ed Binary files /dev/null and b/terre/logo.png differ diff --git a/terre/soulevement_du_feu.js b/terre/soulevement_du_feu.js new file mode 100644 index 0000000..60a8c20 --- /dev/null +++ b/terre/soulevement_du_feu.js @@ -0,0 +1,43 @@ +s0 //ASD + .initImage("file:///home/pln/Work/Hydra/terre/logo.png") + +s1 // Bonfire + .initImage("https://images.unsplash.com/photo-1523861751938-121b5323b48b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2662&q=100") + +s2 // KINDLING FLAMES + .initImage("https://images.unsplash.com/photo-1618325508550-951512a1e82d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2574&q=100") + +src(s0) +.scale(1.,0.7) +.out(o0) + +src(s1) + .modulate(src(s1).scale(() => 1.05 + 0.15 * Math.sin(time / 13)+ 0.05 * Math.cos(time / 20))) + .scale(() => 1.8 + 0.2 * Math.sin(time / 10),0.7) + .out(o1) + +src(o1) + .add( + src(s2) + .scale(0.9, 1.8) + .scrollY(() => 1 + (time / 80 % 10)) + // .scrollX(() => 1 + 0.2 * (Math.sin(time / 80) % 10)) + // .rotate(() => (Math.cos(time/12) + time / 20 % 360)) + .luma(() => 0.82 + 0.15 * Math.sin(time/10) ).scale(0.8)) + .out(o2) + + +src(o2) + .mask( + src(s0).scale(1.2,0.7).scale(0.8) + ) + .contrast(() => 1.3 + 0.3 * Math.cos(time / 13)) + .blend(noise(1.4,0.03).luma(0.5,0.2) + .scrollY(() => 0.2 * (time / 2)) + .scale(2), 0.4) + // .modulateScale(o3,() => 0 + 0.05 * ((time/8) % 10) + 0.05 * ((time/4) % 17)) +.out(o3) + +src(s1) + +render(o3) diff --git a/zephyr/DSC_0014.JPG b/zephyr/DSC_0014.JPG new file mode 100755 index 0000000..639922c Binary files /dev/null and b/zephyr/DSC_0014.JPG differ diff --git a/zephyr/DSC_0016.JPG b/zephyr/DSC_0016.JPG new file mode 100755 index 0000000..2861d63 Binary files /dev/null and b/zephyr/DSC_0016.JPG differ diff --git a/zephyr/DSC_0024.JPG b/zephyr/DSC_0024.JPG new file mode 100755 index 0000000..f467d10 Binary files /dev/null and b/zephyr/DSC_0024.JPG differ diff --git a/zephyr/DSC_0027.JPG b/zephyr/DSC_0027.JPG new file mode 100755 index 0000000..14397d3 Binary files /dev/null and b/zephyr/DSC_0027.JPG differ -- libgit2 0.27.0