Commit 7ab247ca by PLN (Algolia)

Hydra: Initial commit

parents
// Eye in the SKY
// By PLN
s0.initCam()
pxl = () => (2**(3 + time/10 % 7))
// pxl = 3**4
src(s0)
.pixelate(pxl,pxl)
.out(o0)
src(o0).modulateKaleid(
noise(9,0.1).luma(0.86,0)
, 8)
.out(o1)
src(o1)
.modulateRepeat(src(o1), 4, 0, 0, () => Math.cosine(time))
.out(o2)
src(o2)
.modulateScale(voronoi(pxl,0.05))
.rotate(() => Math.sin(time/20 % 360))
.add(gradient().scale(25),() => Math.sin(-time % 100 / 80))
.out(o3)
render(o3)
\ No newline at end of file
//Glitch deamon by PLN
//Derieved from Pixelscape By [Marianne Teixido](https://github.com/MarianneTeixido)
src(o2)
.saturate(1.2)
.scale( // Glitch camera
[.995,.995,.995,1.001] // movements
.fast(1/8) // pace
)
.color()
.modulateHue(src(o2).hue(.3).posterize(10).contrast(.9),2)
.layer(
src(o2)
.luma(() => 2 * Math.sin(5 + time/10),0) // Holes
.mult(gradient(1).saturate(.9))
)
.out(o0)
noise(20, 0.045)
.layer(src(o0).scrollX(.0002).scrollY(-.003)) // Comment to reset
.rotate(0.00000,-.0000015)
.out(o2)
render(o0)
s0.initCam()
src(s0)
.scale(0.9852)
.out(o0)
src(o0)
.kaleid(() => Math.sin(0.01 * time % 1000) * 0.9125)
// .hue(() => (Math.sin(time) % 50) /20)
.saturate(2).contrast(0.95)
.out(o2)
voronoi(2,.4)
.scale(0.2)
.modulate(noise(0.1))
.out(o1)
src(o2)
.layer(src(o2).mask(o1))
.blend(o1,0.01)
.modulate(o0,-0.005)
.out(o3)
render(o3)
shape(() => 7 - Math.sin(time),0.8).color(0.5,0.5,0.5)
.blend(
shape(() => 6 + Math.sin(time))
.scale(0.7)
.color(5,0.8,0.2)
,0.3)
// .luma(0.7)
.out(o0)
src(o0)
.modulateScale(osc(1.3,0.1).luma())
.out(o1)
osc(2,[0,0.5,1,1.5,2].fast(1/2))
// noise()
// .modulateRotate()
.out(o2)
src(o3)
.hue(0.92)
.layer(src(o1))
.scale(() => Math.sin(0.2 + time * 0.5))
.scale(1)
// .color(0.993,0.90,0.98)
.modulateRotate(src(o2)
.scale(0.029)
// .rotate(() => Math.sin(time/10) % 360),
// () => (time % 360),
// [0.3,0.2,0.1,0,-0.1,-0.2,-0.3].fast(2)
,5)
// .scale(0.68)
.out(o3)
render(o3)
\ No newline at end of file
//Inspired by Asdrúbal Gomez
voronoi(60,0.01)
.colorama(0.35).hue(0.1).brightness(() => Math.sine(time/8 % 3600))
.modulateScale(o0)
.colorama(0.009)
.modulateScale(o0,9)
.blend(o0,0.09)
.blend(o0)
.blend(o0,[0.01,0.99].fast(4)) // TODO: Less brutal transitions?
.blend(o0)
.blend(o0)
// LANDSCAPING
.scale([0.996,1,1.008].fast(1/16))
.scrollX(0.0002)
.scrollY(() => (-5 + time % 10) * 0.00052)
.out()
//Pixelscape
//Marianne Teixido
//https://github.com/MarianneTeixido
src(o0)
.saturate(1.01)
.scale(.995)
.color(1.01,1.01,1.01)
.hue(.01)
.modulateHue(src(o1).hue(.3).posterize(-1).contrast(.7),2)
.layer(src(o1)
.luma()
.mult(gradient(1)
.saturate(.9)))
.out(o0)
noise(1, .2)
.rotate(2,.5)
.layer(src(o0)
.scrollX(.2))
.out(o1)
render(o0)
// From a picture of Galaxy Nasa 724203
s0.initImage("/home/pln/Work/Hydra/StarryNights/img/724203.jpg")
src(s0).out(o0)
src(o0)
.blend(o0)
.blend(src(o1).scale(0.5,0.9).rotate(() => Math.sin(time/900) * 360), 0.25)
.out(o2)
src(o2)
.modulate(o0,() => Math.sin(time/20) % 2)
.out(o1)
src(o1)
.blend(o0)
.blend(o1,0.3)
.brightness(0.15).contrast(1.4)
.scale(() => 1.5 + Math.sin(time/50) * 0.6)
.out(o3)
render()
voronoi(40,0.1)
.out(o0)
src(o0)
.repeatY(4)
.scrollX(() => time/36)
.blend(o0)
.out(o1)
render()
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