Commit 5ef65f44 by PLN (Algolia)

Starry: Yet finetune

parent c91fc51c
......@@ -4,11 +4,11 @@
// this image of galaxy cluster SMACS 0723 is overflowing with detail
// https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-delivers-deepest-infrared-image-of-universe-yet
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/Webb_deepest_yet.png")
s0.initImage("https://git.plnech.fr/pln/Hydra/raw/master/StarryNights/img/Webb_deepest_yet.png")
src(s0)
.brightness(() => 0 + 0.2 * Math.sin(time / 42))
.contrast(() => 1 + 0.8 * Math.sin(time/42))
.contrast(() => 1 + 0.28 * Math.sin(time/42))
.brightness(() => 0 + 0.5 * Math.sin(time/42))
.out(o0)
src(s0)
......@@ -22,6 +22,9 @@ src(o0)
src(o2)
.scale(1.5)
.scrollX(() => 0.1 * Math.sin(time / 200))
.scrollY(() => - 0.2 * Math.sin(time / 193))
.blend(
src(o2)
.mask(
......
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