Commit 3f4c928b by PLN (Algolia)

feat: Pierre

parent 6488541c
noise(3,0.1).out(o0)
osc().out(o1)
src(o0)
.modulate(o3)
.rotate((() => time/10 % 360))
.out(o2)
src(o2)
.modulate(src(o1))
.scale(() => Math.min(0.2, 0.2 + Math.sin(0.5 * + time / 100) % 10, 3))
.luma(0.3)
.color()
.scale(2)
.out(o3)
a.show()
a.setBins(4)
a.setScale(0.1)
a.setCutoff(0.1)
a.setSmooth(0)
render(o3)
// Feuilles vivantes
// Par PLN
// Basé sur une photo de Chris Lawton : https://unsplash.com/photos/5IHz5WhosQE
//
// Pour Pierre
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(-0.1)
.out(o0)
src(o0).modulate(o2)
.scale(0.99)
.out(o1)
src(o1)
.scale(1.0009)
.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)
.modulateRotate(src(o3).scale(() => 1 + 19 * Math.sin(time / 20)))
.scale(() => 0.4 + 0.05 * Math.sin(time / 10))
, 0.2)
.out(o3)
render(o3)
a.show()
a.setBins(4)
a.setScale(0.1)
a.setCutoff(0.1)
a.setSmooth(0)
src(noise(3,0.1))
.modulate(o3)
.rotate((() => time/10 % 360))
.out(o0)
src(o0)
.modulate(osc())
.scale(() => 0.5)
.luma(() => 0.1 + a.fft[0] * 0.3)
.color(0,1,2)
.modulate(shape(3).scale(() => 0.7 + 0.1 * Math.sin(time / 4)))
.scale(2)
.out(o1)
src(o1)
.modulate(o3)
.out(o2)
src(o2)
.mult(o1)
.out(o3)
render()
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