Commit fadf3c87 by PLN (Algolia)

StarryNights: caoimhe

parent 22dcd32c
// 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)
// By PLN, for Did
// On February 24 in 2009 // On February 24 in 2009
// Saturn and Moons // Saturn and Moons
// In this image, four moons of Saturn are passing in front of the giant planet. // 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 ...@@ -6,7 +7,7 @@ s0.initImage("https://git.plnech.fr/pln/Hydra/raw/master/StarryNights/img/februa
// Source celeste: Saturne // Source celeste: Saturne
src(s0) src(s0)
.scale(() => 1 + 0.025 * Math.sin(time / 13.12)) .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) .contrast(1.32).brightness(-0.1)
.out(o0) .out(o0)
// Oeuvre au noir: soustraction en rotation // Oeuvre au noir: soustraction en rotation
......
...@@ -3,7 +3,7 @@ ...@@ -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. // 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. // 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") s0.initImage("https://git.plnech.fr/pln/Hydra/raw/master/StarryNights/img/february-18.jpg")
// Source celeste: Saturne // Source celeste: Herbig-Haro
src(s0) src(s0)
// .scale(() => 1 + 0.025 * Math.sin(time / 13.12)) // .scale(() => 1 + 0.025 * Math.sin(time / 13.12))
// .scale(() => 1.15 + 0.25 * Math.sin(time / 18.0264)) // .scale(() => 1.15 + 0.25 * Math.sin(time / 18.0264))
......
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