Commit 99513346 by PLN (Algolia)

Starry night: Lucia <3

parent 9e837a69
// On April 21 in 2014
// This image of Jupiter was taken by the OPAL Program
// (Outer Planet Atmospheres Legacy), a long-term project that uses Hubble
// to capture global maps of the outer planets every year.
// The Great Red Spot appears in the lower right.
s0.initImage("https://imagine.gsfc.nasa.gov/hst_bday/images/april-21-2019-jupiter.jpg")
periodMask = 21
periodScale = 10
periodVoronoiScale = 30
periodVoronoiRot = 100
src(s0)
.scale(() => 1 + 0.05 * Math.sin(time / periodScale))
.out(o0)
src(s0).luma(0.57, 0.2).invert().out(o1)
src(o0)
.mask(src(s0)
.modulateScale(voronoi(20, () => 0.03 + 0.02 * Math.sin(time / periodVoronoiScale)))
.rotate(() => time / periodVoronoiRot % 360))
.out(o2)
src(o2).blend(
src(o2)
.colorama(0.01)
.contrast(-0.3)
.mask(shape(30).scale(3)), () => 0.25 * Math.sin(time / periodMask)
)
.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