Commit 44d91e6e by PLN (Algolia)

Opal

parent fadf3c87
s0.initImage("https://onlyhdwallpapers.com/thumbnail/meme-philosoraptor-3xme.jpg")
src(s0).out(o0)
src(o0).modulate(
src(o0)
.scale(() => 0.5 + 1.5 * Math.sin(time * 0.05))
.rotate(() => time * 0.01 % 360)
.pixelate(128))
.out(o1)
render(o1)
a.setBins(4)
a.setSmooth(0.7)
a.setScale(10)
a.setCutoff(4)
a.show()
s0.initImage("/home/pln/Work/Hydra/Cookie/one.jpg")
// s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg")
src(s0)
.brightness(-0.4)
.scale(0.9,0.6)
.contrast(1.4)
.out(o0)
src(o0)
.modulate(src(o1).scale(() => 1 + 0.5 * Math.sin(a.fft[0])))
.scale(1.32)
.out(o1)
// Neige
voronoi(() => 100 + 100 * (a.fft[3] - 1.5 * a.fft[0]),() => 0.2)
.scrollY(() => -time * 0.005)
.thresh(() => 0.93 - 0.135 * Math.sin(a.fft[3]))
.out(o2)
src(o1)
// .scroll(() => 0.2 + (time / 200 % 42), 0)
// .scale(() => 1.5 + 0.3 * (time % 30) + 0.3 * (time % 91))
.add(o2)
// Nuages
.add(
src(s1).brightness(0.2)
.colorama(() => 0.85 - 1.2 * a.fft[2])
// En mouvement
.scale(() => 1.5 - 0.5 * a.fft[3])
.rotate(() => (time * (0.1 + 0.001 * a.fft[0]) % 360))
.luma(() => 0.98 - 0.25 * ((a.fft[1] + a.fft[2]) % 360)) // Only the brightest
, 0.3)
.contrast(1.2)
.brightness(-0.05)
.out(o3)
render(o3)
s0.initCam(1)
a.show()
a.setBins(4)
a.setSmooth(0.4)
src(s0)
// .rotate(() => Math.sin(time / 14))
.rotate(() => -3.15)
.scroll(0.12,-0.04)
// .scale(2.5, 0.8)
.pixelate(200, 200)
.out(o0)
src(o0)
.diff(src(o1)
.scale(() => 0.9995 + 0.1 * Math.sin(time / 53)))
.out(o1)
src(o1)
.scale(0.999)
// .thresh(() => 0.8 - 0.4 * Math.sin(time / 10))
.out(o2)
src(o1)
.scale(() => 0.95 + 0.15 * Math.sin(time / 4) + 0.2 * a.fft[0])
.saturate(() => 1 + 3 * a.fft[3] + 0.5 * Math.cos(time / 2))
.modulate(src(o2).scale(0.9).rotate(() => Math.cos(time / 20) * 0.4)
// .diff(noise(0.1, () => a.fft[0]))
, 0.02)
.out(o3)
render(o3)
s0.initImage("/home/pln/Work/Hydra/metro.jpg")
src(s0)
// .scroll(() => 0.05 * Math.sin(a.fft[3]), ()=> -0.12 + 0.05 * Math.sin(time / 12))
.scale(1.5)
.out(o0)
src(o0)
.mult(src(o3), -1.2)
// .blend(src(s0).rotate(() => 0.13 * Math.sin(time / 13)))
.out(o1)
src(o1)
.rotate(() => (time / 10 % 360))
.mask(src(o0))
.kaleid(() => Math.sin(time / 20) + 4)
// .colorama(0.04)
// .luma(() => 0.7 + 0.1 * a.fft[0]))
.out(o2)
src(o2)
// .contrast(() => 1.1 + 0.42 * a.fft[1] + 0.25 * Math.sin(time/7))
.saturate(() => 2.5 + 0.75 * Math.sin(time/20))
.rotate(() => (time / 20 % 360))
.diff(shape(100, 0.33, 0.001).scale(() => Math.sin(time / 200)+ 0.1))
.kaleid(8) .diff(src(o2))
// .blend(s0)
.brightness(() => -0.65)
.saturate(2)
.out(o3)
render(o3)
// a.setBins(4)
// a.setSmooth(0.8)
a.hide()
a.setBins(4)
a.setSmooth(0.7)
a.setScale(6)
a.setCutoff(4)
a.show()
s0.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_191322.jpg")
s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg")
src(s1)
.brightness(-0.4)
.contrast(1.4)
.out(o0)
src(o0)
.modulate(src(o1).scale(() => 1 + 0.05 * Math.sin(a.fft[0])))
.out(o1)
// Neige
noise(() => 20 * 20 * (a.fft[3] - 1.5 * a.fft[0]),() => 0.02)
.scrollY(() => -time * 0.005)
.thresh(() => 0.93 - 0.035 * Math.sin(a.fft[3]))
.out(o2)
src(o1)
.scroll(() => 0.2 + (time / 200 % 42), 0)
.scale(() => 1.5 + 0.3 * (time % 30) + 0.3 * (time % 91))
.add(o2)
// Nuages
.add(
src(s1).brightness(0.2)
.colorama(() => 0.85 - 1.2 * a.fft[2])
// En mouvement
.scale(() => 1.5 - 0.5 * a.fft[3])
.rotate(() => (time * (0.1 + 0.001 * a.fft[0]) % 360))
.luma(() => 0.98 - 0.25 * ((a.fft[1] + a.fft[2]) % 360)) // Only the brightest
, 0.3)
.contrast(1.2)
.brightness(-0.05)
.out(o3)
render(o3)
//Based on Pixelscape by Marianne Teixido
s0.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_191322.jpg")
s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg")
src(s1).out(o2)
src(o0)
.saturate(1.01)
.scale(.9995)
.color(1.01,1.01,1.01)
// .hue(.01)
.modulateHue(src(o1).hue(.3).posterize(-1).contrast(.7),0.2)
.layer(src(o1)
.luma(() => 0.4 + 0.3 * Math.sin(time / 93))
.mult(osc(0.02,0.2).hue(.3).brightness(0.63)
.saturate(.9)))
.out(o0)
noise(1, .2)
.rotate(2,.5)
.layer(src(o0).diff(src(o2).scale(() => 0.8 + 0.1 * Math.sin(time / 20)))
.scrollX(.2))
.out(o1)
render(o1)
s0.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_191322.jpg")
s1.initImage("/home/pln/Work/Hydra/Nuages/IMG_20240426_194213.jpg")
src(s0)
.brightness(-0.2)
.saturate(1.12)
.contrast(1.4)
.out(o0)
src(o0)
.hue(0.02)
.add(
src(o0)
.scroll(0,-0.235)
.mask(shape(4).scroll(0,-0.05).scale(2,4)) // Bottom half
.blend(o0,0.5) // Subtle blend
.luma(() => 0.8 + 0.125 * Math.sin(time / 2))
, // Lumiere du jour qui pulse
() => 0.2 + 0.5 * Math.cos(time / (24 * 12)) // Jour / Nuit
)
.out(o1)
// Neige
noise(180,0.03)
// Qui tombe
.scrollY(() => -time * 0.01).thresh(0.91)
// Top half
.mask(shape(4).invert().scroll(0,-0.11).scale(2,4))
.out(o2)
src(o1)
.saturate(1.3)
.add(o2)
// Nuages
.add(
src(s1).brightness(0.2)
// En mouvement
.scale(() => 1.5 + 0.3 * Math.sin(time / 22))
.mask(shape(4).contrast(0.8).scroll(0,-0.11).scale(2.1,4)) // Bottom half
.rotate(0.03) // Legerement penché
.luma(() => 1 + 0.2 * Math.cos(time / 13)) // Only the brightest
// .blend(o1, () => 0.5 + 0.3 * Math.sin(time / 19)) // Subtle blend
, 0.3)
.contrast(1.2)
.brightness(-0.05)
.out(o3)
render(o3)
// a.hide()
// Omelette virtuelle
// Par PLN
s0.initImage("/home/pln/Work/Hydra/oeuf.jpg")
src(s0).scale(1.6,0.69).out()
src(o0)
.modulate(src(o0).scale(() => 0.68 + 0.4 * Math.sin(time / 29)))
.modulateScale(src(o0)
.scale(() => 0.24 + 0.5 * ((time / 42) % 20))
)
.modulate(noise(() => 1.8 + 0.05 * a.fft[3], 0.05), 0.25) // NOISE CIRCLES PARTY!!!
.out(o1)
src(o1)
.blend(src(o3).scale(1.099), 0.6)
.brightness(+0.005)
.out(o2)
src(o2)
.modulate(src(o1).scale(() => 1.008 + 0.2 * Math.sin(time) + 0 * a.fft[1]), 0.6)
.scale(() => 0.91 + 0.42 * a.fft[0] + 0.01 * Math.cos(time / 29))
// .rotate(() => (time/8 % 360) - 0.1 * a.fft[3])
.contrast(() => 1.2 + 0.12 * Math.sin(a.fft[0]))
// .hue(0.02)
.brightness(-0.115)
.pixelate(() => 2000 - 2000 * a.fft[3],2000 - 2000 * a.fft[2]) // Pixel Highs
.out(o3)
a.show()
a.setScale(4.5)
a.setSmooth(0.65)
a.setCutoff(0.4)
a.setBins(4)
render(o3)
s0.initCam()
src(s0).out(o0)
// Tracer fISH
// By PLN
// me.plnech.fr/hydra
a.show()
a.setBins(4)
shape(3)
.scale(() => 0.8 + a.fft[0],0.6)
.modulate(osc([2021],0.000001))
.scrollX(() => (Math.random() * 0.00001))
.out(o0)
src(o0)
.scrollX(-0.091)
.scrollY(-0.12)
.rotate(() => 1.8 - Math.sin(time / 200 % 360))
.scale(4)
// .blend(src(o2).scale(2).rotate(-1), () => 0.1 + 0.1 * Math.sin(time/20)) // N01SE
.out(o1)
src(o1)
.modulate(src(o1)
.scale(() => (time % 100 / 5) * 0.2 + 0.05 * Math.cos(time/200))
.rotate(() => Math.sin(0.05 * (time % 240)))
)
.colorama(0) // MISSILES
.blend(src(o3).modulate(noise(0.2,2)),0.25)
.out(o2)
src(o2)
.add(
src(o2)
.colorama(() => 0.2 + 0.2)
.posterize(20,2)
// .invert()
.modulate(
src(o2))
)
.brightness(() => 0 - 0.25)
.contrast(2)
.scale(2.4,() => 0.9 + 0.2 * Math.sin(time))
.out(o3)chr
render(o3)
shape(50,0.35,0.25).out(o0)
osc(40,0.001,1).hue(-0.1).modulate(noise(1,0),0.5)
.modulateRotate(osc(12,0).kaleid(100),() => 0.1 * Math.sin(time / 12)).out(o1)
src(o2)
.modulateHue(o1,4)
.blend(o0,0.03)
.out(o2)
src(o2)
.contrast(2)
.mult(src(o1))
.out(o3)
render(o3)
osc(() => 32 + 256 * Math.abs(Math.sin(time / 100)),-0.0005).out(o0)
src(o0)
.thresh(() => 0.029 + Math.sin(time / 93))
.brightness(() => -0.6 + 0.5 * Math.sin(-time/ 20))
.out(o1)
src(o0).posterize(() => 10 * Math.abs(Math.sin(time / 10)),1).out(o2)
src(o2).modulate(src(o1).pixelate([2,4,8,32,256].fast(1/4)))
.out(o3)
render(o3)
shape(40,0.5).scale(1.7, 0.63)
.color(0.1,0,0.9).out(o0)
osc(10,[0.01,-0.01].fast(1/16),1)
.modulate(noise(2,0),0.5)
.luma([1, 0.99, 0.95, 0.8, 0.4, 0.3, 0.2, 0.1].fast(1/4))
.out(o1)
src(o2)
.modulate(
src(o1)
.add(solid(1,1),-0.5)
,0.01)
.blend(src(o0),0.03)
.hue(-0.0025)
.out(o2)
src(o2)
.luma(0.01)
.contrast(1.4)
.out(o3)
render()
render(o3)
// Feuilles vivantes
// Par PLN
// Basé sur une photo de Chris Lawton : https://unsplash.com/photos/5IHz5WhosQE
//
// Pour Pierre
a.show()
a.setBins(4)
s0.initImage("https://images.unsplash.com/photo-1477414348463-c0eb7f1359b6?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2670&q=80")
src(s0)
.scrollX(1, 0.0333)
.scrollY(() => a.fft[0] * 0.1, 0.1)
.modulateRotate(noise(() => Math.sin(time / 4) * 10 + 20), () => Math.sin(time / 5.33) / 2 + 0.5)
.kaleid(2)
.out(o0)
src(o0)
.scale(0.99)
.out(o1)
src(o1)
.scale(1.0009)
.modulateRotate(src(o1), 0.5)
.mult(src(o2).rotate(0.5), 0.7)
.out(o2)
src(o2)
.scale(() => 1.05 + 0.2 * Math.sin(time / 10))
// .luma(() => 0.1 + 0.7 * (Math.sin(time /100)))
.blend(src(o2)
.scale(() => 0.4 + 0.05 * Math.sin(time / 10))
, 0.2)
.invert(() => Math.sin(time / 1))
.out(o3)
render(o1)
s0.initImage("file:///home/pln/Downloads/Marie-Jose-Perec.jpg")
src(s0).thresh(() => 0.8 + 0.05 * Math.sin(time)).scale(1.2).out(o0)
voronoi(() => 8.6 + 0.2 * Math.sin(time/2), 0.02).color(0.6, 0.7, 1.1).modulate(src(o0)
.scale(() => 1 + 0.05 * Math.sin(time / 10)))
.out(o1)
src(o1)
.scale(0.99)
.modulate(src(o3).thresh(0.89))
.mult(src(o0).scale(0.95),0.5)
.out(o2)
src(o2).scale(() => 1 - 0.15 * Math.sin(time / 100))
// .luma(0.2).colorama(0.21)
.out(o3)
render(o3)
This diff is collapsed. Click to expand it.
noise(100)
.luma(0.9).out()
render(o0)
s0.initImage("/home/pln/Work/Hydra/olympics/flamme.png")
s1.initImage("/home/pln/Work/Hydra/olympics/belem.avif")
src(s0)
.scale(0.8, 0.25)
.scroll(() => -0.051 + Math.abs((time / 240) % 360),() => -0.1)
.out(o0)
src(o0)
// .modulate(src(o0).scale(() => 1.5 + 0.5 * Math.sin(time / 20)), Math.sin(time / 10)) // GLITCH NOISE
// BLEND WALL
.blend(src(o0).scale(0.99), 0.8)
// .blend(src(o0).scale(0.97), 0.8)
.blend(src(o0).scale(() => 0.95 + 0.01 * Math.sin(time / 20)), 0.5)
.blend(src(o0).scale(() => 0.93 + 0.01 * Math.sin(time / 18)), 0.25)
.blend(src(o0).scale(() => 0.91 + 0.01 * Math.sin(time / 17)), 0.125)
// .blend(src(o0).scale(0.89), 0.1)
.out(o1)
src(o1)
.hue(0.3).luma(() => 0.5 + 0.3 * Math.sin(time / 9))
// .modulateRotate(voronoi(0.5,0.02,100000 * Math.sin(time / 4) / 10000 * Math.sin(time / 13)))
.out(o2)
src(s1)
.scale(1.4, 1.1)
.saturate(() => 1.5 + -0.25 * Math.sin(time))
.scroll(() => -0.15 + 0.05 * Math.sin(time / 10),-0.02)
.mult(src(o2).brightness(0.1))
.diff(src(o2).brightness(() => -0.5 + 0.3 * Math.sin(time / 200)))
.scale(1.1)
.brightness(() => - 0.05 + 0.1 * Math.sin(time / 20))
.saturate(1.3)
.out(o3)
render(o3)
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/august-10-2019-nebula-ngc-2074.jpg")
s1.initImage("file:///home/pln/Work/Hydra/opal/opal.jpeg")
s2.initImage("file:///home/pln/Work/Hydra/opal/opal2.jpeg")
// On August 10 in 2008
// Nebula NGC 2074
// The nebula NGC 2074 is a firestorm of raw stellar creation, perhaps triggered by a nearby supernova explosion.
// It lies in a nearby galaxy called the Large Magellanic Cloud, about 170,000 light-years away.
// La nebuleuse, en mouvement dans les étoiles
src(s0)
.scroll(-0.1,() => 0.1 + 0.05 * Math.sin(time / 22))
.scale(1.7, 0.9)
.add(noise(400, () => 0.3 + 0.001 * Math.sin(time)).thresh(() => 0.8 + 0.15 * Math.sin(time / 40)))
.out(o0)
// Opal 2024,
src(s1)
.repeatY(() => 5 + 2 * Math.cos(time/300))
.modulate(osc(2,0.05))
.diff(noise(10).thresh(() => 0.75 + 0.25 * Math.sin(time / 20)))
.luma(() => 0.5 + 0.4 * Math.sin(time / 20 % 360))
.out(o1)
src(s2).repeatY(() => 10 + 5 * Math.sin(time/10)).brightness(-0.25 + 0.25 * Math.sin(time)).out(o2)
src(o0)
.add(src(o2), () => 0.3 + 0.3 * Math.sin(time / 93))
.mult(src(o1), () => 0.5 + 0.45 * Math.sin(time / 10))
.out(o3)
render(o3)
s0 //ASD
.initImage("file:///home/pln/Work/Hydra/terre/logo.png")
s1 // Bonfire
.initImage("https://images.unsplash.com/photo-1523861751938-121b5323b48b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2662&q=100")
s2 // KINDLING FLAMES
.initImage("https://images.unsplash.com/photo-1618325508550-951512a1e82d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2574&q=100")
src(s0)
.scale(1.,0.7)
.out(o0)
src(s1)
.modulate(src(s1).scale(() => 1.05 + 0.15 * Math.sin(time / 13)+ 0.05 * Math.cos(time / 20)))
.scale(() => 1.8 + 0.2 * Math.sin(time / 10),0.7)
.out(o1)
src(o1)
.add(
src(s2)
.scale(0.9, 1.8)
.scrollY(() => 1 + (time / 80 % 10))
// .scrollX(() => 1 + 0.2 * (Math.sin(time / 80) % 10))
// .rotate(() => (Math.cos(time/12) + time / 20 % 360))
.luma(() => 0.82 + 0.15 * Math.sin(time/10) ).scale(0.8))
.out(o2)
src(o2)
.mask(
src(s0).scale(1.2,0.7).scale(0.8)
)
.contrast(() => 1.3 + 0.3 * Math.cos(time / 13))
.blend(noise(1.4,0.03).luma(0.5,0.2)
.scrollY(() => 0.2 * (time / 2))
.scale(2), 0.4)
// .modulateScale(o3,() => 0 + 0.05 * ((time/8) % 10) + 0.05 * ((time/4) % 17))
.out(o3)
src(s1)
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