diff --git a/StarryNights/SeptemberGalaxy.js b/StarryNights/SeptemberGalaxy.js index 49b07f7..88f7c13 100755 --- a/StarryNights/SeptemberGalaxy.js +++ b/StarryNights/SeptemberGalaxy.js @@ -38,8 +38,9 @@ src(o2) .luma(0.5) .scale(3.7) .mask(shape(4).scale(() => 1,4 + 1.2 * Math.abs(Math.sin(time / 13)))) - , () => 0.2 * ((time / 1989) % 10) + , () => 0.2 * ((time / 1.989) % 10) ) .out(o3) + render(o3) // render() diff --git a/StarryNights/hollow_sun.js b/StarryNights/hollow_sun.js new file mode 100644 index 0000000..e839c1e --- /dev/null +++ b/StarryNights/hollow_sun.js @@ -0,0 +1,26 @@ +s0.initImage("/home/pln/Work/Hydra/StarryNights/img/brano-tLFHQIqALz0-unsplash.jpg") +src(s0) +.scale(1,1.1) +.scroll(-0.02,0) +.out() + +src(o0) + .scale(() => 1 + 0.1 * Math.sin(time/13)) + .mult(src(s0) + .rotate(() => (time/20) % 360) + .scale(() => 1.3 + 0.2 * Math.sin(time/13)) + .scroll(() => 0.1 * Math.sin(time/9)) + ) // SOLAR FLARES + .out(o1) + +src(o1).add(noise(300,0.051) + .mult(noise(0.5,0.01) + ) + .brightness(0.3) + .contrast(1.3) + .thresh(0.93) +).out(o2) +src(o2).scale(1.12) +// .scroll(0.1,0) +.out(o3) +render(o3) diff --git a/StarryNights/img/brano-tLFHQIqALz0-unsplash.jpg b/StarryNights/img/brano-tLFHQIqALz0-unsplash.jpg new file mode 100644 index 0000000..0c47136 Binary files /dev/null and b/StarryNights/img/brano-tLFHQIqALz0-unsplash.jpg differ diff --git a/StarryNights/img/vivek-doshi-obsBswnv7FI-unsplash.jpg b/StarryNights/img/vivek-doshi-obsBswnv7FI-unsplash.jpg new file mode 100644 index 0000000..95e5305 Binary files /dev/null and b/StarryNights/img/vivek-doshi-obsBswnv7FI-unsplash.jpg differ