From 13861a9ad1c7435e02112e0ddb689dd7fafb63b7 Mon Sep 17 00:00:00 2001 From: Paul-Louis NECH Date: Sat, 1 Feb 2025 22:09:25 +0100 Subject: [PATCH] Hollow --- StarryNights/hollow_sun.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/StarryNights/hollow_sun.js b/StarryNights/hollow_sun.js index e839c1e..8e16ce1 100644 --- a/StarryNights/hollow_sun.js +++ b/StarryNights/hollow_sun.js @@ -12,8 +12,10 @@ src(o0) .scroll(() => 0.1 * Math.sin(time/9)) ) // SOLAR FLARES .out(o1) - -src(o1).add(noise(300,0.051) + +src(o1) +// Tache d'etoiles +.add(noise(300,0.051) .mult(noise(0.5,0.01) ) .brightness(0.3) @@ -22,5 +24,6 @@ src(o1).add(noise(300,0.051) ).out(o2) src(o2).scale(1.12) // .scroll(0.1,0) +.add(noise(100).thresh(0.9).mask(src(o1).invert())) .out(o3) render(o3) -- libgit2 0.27.0