Commit 3ed5f84b by PLN (Algolia)

420: CatMultiverse

parent 245b4828
This diff is collapsed. Click to expand it.
...@@ -19,4 +19,4 @@ src(o1) ...@@ -19,4 +19,4 @@ src(o1)
.scale(() => 1.5 + Math.sin(time/50) * 0.6) .scale(() => 1.5 + Math.sin(time/50) * 0.6)
.out(o3) .out(o3)
render(o3) render()
# Starry Nights
> Various windows into space
// Based on NASA LSPN-1725 (Comet P/Halley as taken March 8, 1986 by W. Liller, Easter Island)
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/ShoemakerLevy9.png");
src(s0).out(o0)
shape(93)
.modulateRotate(noise(0.26))
.blend(noise(0.6,0.001),0.36)
.blend(noise().mask(shape(30).scale(0.95)))
.blend(voronoi(90,0.8).mask(shape(30).scale(0.85)),0.1)
.add(voronoi(30,0.01).mask(shape(30).scale(0.75)),0.4)
.blend(voronoi(0.2,0.01).mask(shape(30).scale(0.55)),0.2)
.color(216/256,149/256,97/256)
// .scale(() => 0.5 + 3 * Math.sin(time/60))
.out(o1)
src(o0)
.scale(0.8)
.scrollY(-0.125)
.rotate(-120)
.blend(src(o3).scale(0.9).brightness(0.02))
.add( // Add Jupiter
src(o1)
.mask(src(o1).thresh(0.125)) // Adjust brightness
.scale(0.95)
)
.layer(o1)
.out(o2)
src(o2)
.modulate(o2,() => Math.sin(time/1000))
.out(o3)
render(o3)
# Fonds # Fonds
- 420 SPACE CAT - 420 SPACE CAT
- Ams Fluo
# Formes # Formes
Mask with shape/noise Mask with shape/noise
``` ```js
.mask( .mask(
shape(25, 0.25).modulateScale( shape(25, 0.25).modulateScale(
noise(400.5, 0.5) noise(400.5, 0.5)
) )
) )
``` ```
// Pixelated shape, e.g. on Shoe
```js
.modulatePixelate(gradient(0.93,() => Math.sin(time/1000)).rotate(() => time/100 % 360).scale(0.2),93)
```
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