Commit d36c64fc by PLN (Algolia)

session: NYE 2025

parent 57bb42c3
...@@ -40,7 +40,7 @@ src(o0).modulate(o1, ...@@ -40,7 +40,7 @@ src(o0).modulate(o1,
).out(o2) ).out(o2)
src(o2) src(o2)
.scale(() => 0.991 + 0.4 * Math.sin(time / periodeTelescope)) .scale(() => 0.991 + 1.4 * Math.sin(time / periodeTelescope))
.modulate(src(o3), () => 0.04 * Math.sin(time / periodeBlendModulate)) .modulate(src(o3), () => 0.04 * Math.sin(time / periodeBlendModulate))
.blend(src(o3), () => 0.15 + 0.85 * Math.sin(time / periodeBlend)) .blend(src(o3), () => 0.15 + 0.85 * Math.sin(time / periodeBlend))
.out(o3) .out(o3)
......
...@@ -23,14 +23,18 @@ src(o0) ...@@ -23,14 +23,18 @@ src(o0)
src(o1) src(o1)
.diff(src(o2)) .diff(src(o2))
// .blend(src(o2) .blend(src(o2)
// .modulate(shape(30) .modulate(shape(30)
// .scale(() => 0.4 + Math.sin(time /20) * 0.059, 0.88) .scale(() => 0.6 + Math.sin(time /20) * 0.059, 0.88)
// .rotate(() => time/4 % 360) .scroll(0.0125,0.0125)
// .scrollX(-0.02) .rotate(() => time % 360)
// ) .scrollX(-0.02)
// ) )
)
.contrast(1.1) .contrast(1.1)
.scale(() => 1.52 + 0.4 * Math.sin(time/200))
.add(noise(100,0.02).thresh(0.9))
.rotate(() => -time / 25 % 360)
.out(o3) .out(o3)
render(o3) render(o3)
// From a picture of Galaxy Nasa 724203 // From a picture of Galaxy Nasa 724203
// Private share: https://nech.pl/nights-galactic // Private share: https://nech.pl/nights-galactic
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/724203.jpg") s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/724203.jpg")
src(s0).out() src(s0).out()
src(o0) src(o0)
.blend(o0) .blend(o0)
.blend(src(o1).scale(0.5,0.9).rotate(() => Math.sin(time/900) * 360), 0.25) .blend(src(o1).scale(0.5,0.9).rotate(() => Math.sin(time/900) * 360), 0.25)
...@@ -18,9 +18,10 @@ src(o2) ...@@ -18,9 +18,10 @@ src(o2)
src(o1) src(o1)
.blend(o0) .blend(o0)
.rotate(() => (time % 360 / 10))
.blend(o1,0.3) .blend(o1,0.3)
.brightness(0.15).contrast(1.4) .brightness(0.15).contrast(1.7)
.scale(() => 1.5 + Math.sin(time/70) * 0.6) .scale(() => 1.5 + Math.sin(time/14) * 0.6)
.out(o3) .out(o3)
render(o3) render(o3)
s0.initImage("///home/pln/Work/Hydra/img/aurores.jpeg")
src(s0).scale(0.9,0.5)
.scroll(0,0.05)
.scale(1.13)
.out(o0)
// Tableau 1: Camille sur son bateau
src(o0)
.blend(src(o0)
// EFFET: DEGRADATION MOIREE
// .diff(src(o1).scale(() => 0.99 + 0.1 * Math.sin(time / 1000)))
// EFFET: Borealis
.add(
src(s0)
)
.modulate(
osc(() => 5 + 4 * Math.sin(time/120),0.0).rotate(() => (time/10 % 360))
,1).modulatePixelate(s0).blend(o1,() => 0.99 + 0.1 * Math.sin(time/10))
// , () => 0.4 + 0.2 * Math.sin(time/1993)
.mask(shape(4,0.05,0.2).scale(2,32).scroll(0,0.26))
)
.out(o1)
src(o2)
.modulateScale(src(o2).scale(0.9))
.out(o2)
src(o1)
// .add(src(o2).invert().thresh(0.9).invert(),1)
// ETOILES <3 <3 <3
.add(
noise(100,0.5).thresh(0.95).mask(shape(4,0.2,0.1).scale(1.4,3).scroll(0,0.25)))
// Cadre
.mask(shape(4,0.5,() => 0.02 + 0.02 * Math.sin(time / 13)).scale(2,0.51))
.out(o3)
render(o3)
s0.initImage("///home/pln/Work/Hydra/img/aurores.jpeg")
s0.initImage("///home/pln/Work/Hydra/img/aurores.jpeg")
src(s0)
.add(src(s0)
.color(0.3,() => 0.6 + 0.2 * Math.sin(time/13),() => 0.6 + 0.4 * Math.sin(time / 3))
.contrast(() => 1.7 + Math.sin(time / 20 + time / 13 + time / 7 + time / 93))
.mask(shape(4,0.05,0.4).scale(2,32).scroll(0,0.26))
)
.scale(0.9,0.45)
.scroll(0,0.05)
.scale(1.13)
.out(o0)
// Tableau 1: Camille sur son bateau
src(o0)
.blend(src(o0)
// EFFET: DEGRADATION MOIREE
// .diff(src(o1).scale(() => 0.99 + 0.1 * Math.sin(time / 1000)))
// EFFET: Borealis
.add(
src(s0)
)
.modulate(
osc(() => 15 + 4 * Math.sin(time/120),0.0).rotate(() => (time/10 % 360))
,1).modulatePixelate(s0).blend(o1,() => 0.99 + 0.1 * Math.sin(time/10))
// , () => 0.4 + 0.2 * Math.sin(time/1993)
.mask(shape(4,0.05,0.2).scale(2,32).scroll(0,0.26))
)
.out(o1)
src(o2)
.modulateScale(src(o2).scale(0.9))
.out(o2)
src(o1)
// .add(src(o2).invert().thresh(0.9).invert(),1)
// ETOILES <3 <3 <3
.add(
noise(100,0.1).thresh(0.9).scale(0.25).mask(shape(4,0.2,0.1).scale(1.4,3).scroll(0,0.25)))
// Cadre
.mask(shape(4,0.43,() => 0.02 + 0.02 * Math.sin(time / 1.3)).scale(2,0.51))
.out(o3)
render(o3)
//Hide Info | See Full Image | More info
// On July 1 in 1993
// Comet Shoemaker-Levy 9 Fragments
// This image captures the brightest "nucleus" in a string of approximately 20
// that comprised the broken-up comet Shoemaker-Levy 9.
// The image reveals that the bright segment is actually a group of at least four separate pieces.
// Created by Paul-Louis
// For Kyu and Ben
// License CC-BY-NC-SA
// Framework Hydra.js by Olivia Jack - hydra.ojack.xyz
s0.initImage("https://imagine.gsfc.nasa.gov/hst_bday/images/july-1-2019-comet-shoemaker-levy-9-fragments.jpg")
src(s0)
.out(o0)
src(o0)
.rotate(() => (time/(12) % 360))
.out(o1)
src(o1)
.scale(0.5)
// .scroll(() => 0.2 + 0.05 * Math.sin(time / 18))
.out(o2)
src(o2)
.scale(() => 3.6 + 1.3 * Math.sin(time/ 3))
.add(src(o2).mask(shape(30).scale(() => 2 + 0.5 * Math.sin(time / 20)),0.1).brightness(0.2))
// .colorama(0.1)
.blend(src(o1).scale(4).thresh(() => 1 + 0.2 * Math.sin(time / (32 + 67))), 0.2)
.saturate(1)
.contrast(0.7)
.colorama(() => 0.9 + 0.05 * Math.sin(time / 8))
.brightness(-0.4)
.blend(o0,0.5)
.out(o3)
render()
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