diff --git a/StarryNights/adenora.js b/StarryNights/adenora.js new file mode 100644 index 0000000..986c455 --- /dev/null +++ b/StarryNights/adenora.js @@ -0,0 +1,27 @@ +// Adenora's Triangulum +// This mosaic captures the nearby Triangulum galaxy. Striking areas of star birth glow bright blue throughout the galaxy, particularly in beautiful nebulas of hot gas like star-forming region NGC 604 in the upper left. +// Remixing Olivia Jack's example_15 +// licensed with CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/ + +s0.initImage("https://imagine.gsfc.nasa.gov/hst_bday/images/august-15-2019-triangulum-galaxy.png") +// s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/august-15-2019-triangulum-galaxy.png") +s1.initImage("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSE0GLMnD8N_af4PWVGadHmNgXwz20rhy8mZA&s") +// s1.initImage("file:///home/pln/Work/Hydra/StarryNights/img/adenora.png") + +src(s0).brightness(0.1).contrast(1.2).scroll( + () => 0.03 + 0.01 * Math.sin(time/2), + () => 0.1 + 0.04 * Math.sin(time/7) +).scale(2).out(o0) +osc(() => (time/10 % 100), 0.01, 1.4) + .rotate(0, 0.1) + .mult(osc(10, 0.0005).modulate(osc(10, .01).rotate(0, -0.1), 1)) +// .color(2.83,0.91,0.39) + .out(o1) +src(o0) + .mult(o1) + .out(o2) +src(o2) + .add(noise(100,0.2).thresh(0.9)) + .add(src(o2).scale(0.5).mask(src(s1).scale(0.95))) + .out(o3) +render() diff --git a/StarryNights/img/adenora.png b/StarryNights/img/adenora.png new file mode 100644 index 0000000..14b1b65 Binary files /dev/null and b/StarryNights/img/adenora.png differ diff --git a/StarryNights/img/august-15-2019-triangulum-galaxy.png b/StarryNights/img/august-15-2019-triangulum-galaxy.png new file mode 100644 index 0000000..5e26b12 Binary files /dev/null and b/StarryNights/img/august-15-2019-triangulum-galaxy.png differ