diff --git a/StarryNights/caoimhe.js b/StarryNights/caoimhe.js new file mode 100644 index 0000000..21cc4ea --- /dev/null +++ b/StarryNights/caoimhe.js @@ -0,0 +1,44 @@ +// By PLN, for Caoimhe's Significant Other <3 +// On March 4 in 2003 +// Galaxy Fornax A +// The dust lanes and star clusters of this giant elliptical galaxy, +// known as Fornax A, give evidence that the galaxy formed from a past merger +// 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") +// Source celeste: Fornax A +src(s0) + .scale(() => 1 - 0.05 * Math.sin(time / 4)) + .scale(() => 1.35 + 0.25 * Math.sin(time / 34)) + .brightness(-0.2) + .contrast(0.82) + .blend(src(o0).scale(() => 1 + 0.05 * Math.sin(time / 10)), 0.65) + .out(o0) +src(o0) + .mult(src(o2) + .scale(2) + .rotate(() => time/43 % 360) + .scale([0.999,1.001]), + () => 0.7 - 0.6 * Math.sin(time/2) + ) + .out(o1) +// Oeuvre au blanc: filtre lumineux +src(o0) + .add(src(o1) + .rotate(() => -(time/57.0224) % 220) + .luma(() => 0.5 + 0.4 * Math.sin(time/1.3)) + .mask(noise(120,0.2).luma(0.7)) + .scale(0.25)) + .out(o2) +//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)) + // Oeuvre au rouge: Etoiles solaires + .add(noise(93,0.01) + .scroll(() => time/195.7) + .mask(shape(30).scale(1.31, 0.78).invert()) + .thresh(0.93)) + .out(o3) +render(o3) diff --git a/StarryNights/did.js b/StarryNights/did.js index 6cd62a4..e388b07 100644 --- a/StarryNights/did.js +++ b/StarryNights/did.js @@ -1,3 +1,4 @@ +// By PLN, for Did // On February 24 in 2009 // Saturn and Moons // In this image, four moons of Saturn are passing in front of the giant planet. @@ -6,7 +7,7 @@ s0.initImage("https://git.plnech.fr/pln/Hydra/raw/master/StarryNights/img/februa // Source celeste: Saturne src(s0) .scale(() => 1 + 0.025 * Math.sin(time / 13.12)) - .scale(() => 1.15 + 0.25 * Math.sin(time / 24.0257)) + .scale(() => 1.15 + 0.25 * Math.sin(time / 2402.57)) .contrast(1.32).brightness(-0.1) .out(o0) // Oeuvre au noir: soustraction en rotation diff --git a/StarryNights/img/march-4-2019-galaxy-fornax-a.jpg b/StarryNights/img/march-4-2019-galaxy-fornax-a.jpg new file mode 100644 index 0000000..0bded73 Binary files /dev/null and b/StarryNights/img/march-4-2019-galaxy-fornax-a.jpg differ diff --git a/StarryNights/sylvie.js b/StarryNights/sylvie.js index e543d19..4a370b6 100644 --- a/StarryNights/sylvie.js +++ b/StarryNights/sylvie.js @@ -3,7 +3,7 @@ // A partially obscured, newborn star near the center of this image is shooting twin jets into the surrounding gas and dust. // The shocks from the collision light up patches of nebulosity collectively called Herbig-Haro 24. s0.initImage("https://git.plnech.fr/pln/Hydra/raw/master/StarryNights/img/february-18.jpg") -// Source celeste: Saturne +// Source celeste: Herbig-Haro src(s0) // .scale(() => 1 + 0.025 * Math.sin(time / 13.12)) // .scale(() => 1.15 + 0.25 * Math.sin(time / 18.0264))