diff --git a/JeanLucScape.js b/JeanLucScape.js new file mode 100644 index 0000000..5dc59cf --- /dev/null +++ b/JeanLucScape.js @@ -0,0 +1,23 @@ +//Pixelscape//Marianne Teixido + +s0.initImage("https://media.slid.es/uploads/671915/images/3701155/jemelenchon__1_.png") + +src(o0) + .saturate(1.01) + .scale(.995) + .color(1.01,1.01,1.01) + .hue(.01) + .modulateHue(src(o1).hue(.3).posterize(-1).contrast(.7),2) + .layer(src(s0) + .luma() + .mult(gradient(1) + .saturate(.9))) + .out(o0) + +noise(1, .2) + .rotate(2,.5) + .layer(src(o0) + .scrollX(.2)) + .out(o1) + +render(o0) diff --git a/LeFantome.js b/LeFantome.js new file mode 100644 index 0000000..8de00b5 --- /dev/null +++ b/LeFantome.js @@ -0,0 +1,23 @@ +// Le Fantôme +// Par PLN +s0.initImage("https://freesvg.org/img/PutinFace.png") +src(s0).scale(1.1,0.9).out(o0) +src(o0) + .brightness(-0.15) + .thresh(() => 0.05 + Math.abs(0.5 * Math.sin(time / 20))) + .scrollY(-0.1) + .scale(() => 1.85 + 0.5 * Math.sin(time / 1993)) + .out(o2) + +noise() + .modulatePixelate(src(o3).scale(0.8)) + .out(o1) + +src(o2) + .blend(src(o2).scale(0.95), 0.5) + .blend(src(o3).scale(0.97)) + .blend(src(o3).scale(0.999)) + .modulate(o1) + .out(o3) + +render(o3) \ No newline at end of file diff --git a/ScreenSail.js b/ScreenSail.js new file mode 100644 index 0000000..7d95e6b --- /dev/null +++ b/ScreenSail.js @@ -0,0 +1,22 @@ +// Screen Sailer + +osc(10,0.01,0.4).posterize(100) + .mult(shape(4).scale(2).scrollX(0.925)) + .out(o0) + +osc(10,[0.01,0.1,-0.053].fast(1/4),0.824).rotate(1.58) + .mult(shape(4).scale(2).scrollX(1.1)) +// .colorama(() => 0.001 * a.fft[0]) // Uncomment for audio-based COLORGLITCH +// .scale(() => 1 + 0.5 * a.fft[2]) // Uncomment for audio-based zoom-n-glitch + .out(o1) + +src(o0).mult(o1).modulate(o3).scale(0.95).out(o2) +src(o1).mult(o2).modulate(o2).scale(1.25).out(o3) + +a.show() +a.setBins(4) +a.setCutoff(3.2) +a.setScale(4) +a.hide() // Comment to see audio input + +render(o3) \ No newline at end of file diff --git a/StarryNights/DualRing.js b/StarryNights/DualRing.js new file mode 100644 index 0000000..444a0ee --- /dev/null +++ b/StarryNights/DualRing.js @@ -0,0 +1,41 @@ +// On July 12, 2022 +// NASA’s James Webb Space Telescope has produced the deepest and sharpest infrared image of the distant universe to date. +// Known as Webb’s First Deep Field, +// 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") + +src(s0) + // .contrast(() => 1 + 0.28 * Math.sin(time/42)) + // .brightness(() => 0 + 0.5 * Math.sin(time/42)) + .out(o0) + +src(s0) + .luma(0.57, 0.2) + .invert() + .out(o1) + +src(o0) + .modulateScale(osc(1.2,0.2)) + .out(o2) + + +src(o2) +.scrollX(() => 0.1 * Math.sin(time / 200)) +.scrollY(() => - 0.2 * Math.sin(time / 193)) +.scale(1.5) +.blend( + src(o2) + .mask( + src(o1) + .scale(() => 1 + 0.5 * Math.sin(time / 100)) + .modulate(noise(() => 0 + Math.sin(time / 13))) + .rotate(() => time / 10 % 360) + ) + .colorama(() => 0.1 * Math.cos(time / 50)) + , () => 0.2 + 0.09 * Math.sin(time) +) +.out(o3) + +render(o3) diff --git a/StarryNights/Yet.js b/StarryNights/Yet.js index 1545168..9b932a6 100644 --- a/StarryNights/Yet.js +++ b/StarryNights/Yet.js @@ -22,9 +22,9 @@ src(o0) src(o2) -.scale(1.5) .scrollX(() => 0.1 * Math.sin(time / 200)) .scrollY(() => - 0.2 * Math.sin(time / 193)) +.scale(1.5) .blend( src(o2) .mask( diff --git a/StarryNights/img/Webb_quintet.jpg b/StarryNights/img/Webb_quintet.jpg new file mode 100644 index 0000000..dce7658 Binary files /dev/null and b/StarryNights/img/Webb_quintet.jpg differ diff --git a/StarryNights/img/Webb_ring.jpg b/StarryNights/img/Webb_ring.jpg new file mode 100644 index 0000000..b9d4ff0 Binary files /dev/null and b/StarryNights/img/Webb_ring.jpg differ