Commit dfd9c56a by PLN (Algolia)

StarryNights: did & sylvie

parent 0e6a1b33
......@@ -6,7 +6,7 @@
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/february-24-2019-saturn-and-moons.jpg")
// Source celeste: Saturne
src(s0)
.scale(() => 1 + 0.025 * Math.sin(time / 2.413))
.scale(() => 1 + 0.025 * Math.sin(time / 13.12))
.scale(() => 1.15 + 0.25 * Math.sin(time / 24.0257))
.contrast(1.32).brightness(-0.1)
.out(o0)
......@@ -24,13 +24,12 @@ src(o0)
.out(o2)
//Oeuvre au jaune: Masque geometrique
src(o1)
.blend(o2,() => 0.8 + 0.4 * Math.sin(time))
.blend(src(o1),() => 0.8 + 0.6 * Math.sin(time/(1312)))
.blend(o2,() => 0.4 + 0.8 * Math.sin(time / 10))
// Oeuvre au rouge: Etoiles solaires
.add(noise(93,0.01)
.scroll(() => time/195.7)
.mask(shape(30).scale(1.93).invert())
.mask(shape(30).scale(1.31, 0.78).invert())
.thresh(0.93))
.out(o3)
render(o3)
// On February 18 in 2014
// Herbig-Haro 24
// 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("file:///home/pln/Work/Hydra/StarryNights/img/february-18.jpg")
// Source celeste: Saturne
src(s0)
// .scale(() => 1 + 0.025 * Math.sin(time / 13.12))
// .scale(() => 1.15 + 0.25 * Math.sin(time / 18.0264))
.contrast(1.2).brightness(-0.05)
.out(o0)
// Transformation: modulation électrique
src(o0)
.modulate(src(o0)
.scale(() => 0.9 + 0.1 * Math.sin(time/19.64))
)
.out(o1)
// Assistant Executif: Le Cercle
shape(64).scale(0.8,0.6).scale(() => 1.5 + 0.5 * Math.sin(time / 1802))
.scale(() => 0.9 + 0.85 * Math.sin(time / 64.1802))
.out(o2)
// Forme finale: sphère d'influence
src(o1)
.modulate(src(o2))
.add(src(o3).contrast(1.993).mask(o2), 0.2)
.add(noise(199,0.02)
.thresh(() => 0.93 + 0.1 * Math.sin(time / 64.1802))
.scroll(0, () => -time/1964.0218)
.mask(src(o2).invert())
)
.out(o3)
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