This is an old revision of the document!


Practicing Hydra

By: Yuna Wu

//The first one(01)
osc(1, 0.9, 0.001)
    .kaleid([3,4,5,7,8,19,10].fast(0.1))
    .color(0.1, 0.3)
    .colorama(0.4)
    .rotate(0.0009,()=>Math.sin(time)* -0.01 )
    .modulateRotate(o0,()=>Math.sin(time) * 0.0003)
    .modulate(o0, 0.19)
    .scale(0.9)
    .out(o0)
    
//The second one(02)
osc(0.5,1.25).mult(shape(1,0.09).rotate(1.5))
  .diff(gradient())
  .add(shape(2,2).blend(gradient(1)))
  .modulate(noise()
            .modulate(noise().scrollY(1,0.0625)))
  .blend(o0)
  //voronoi(5,0.3,0.3).color(12,-0.5,-0.75)
  .out()
  
//The third one(03)
osc(0.5,1.25).mult(shape(1,0.09).rotate(1.5))
  .diff(gradient())
  .add(shape(2,2).blend(gradient(1)))
  .modulate(noise()
            .modulate(noise().scrollY(1,0.0625)))
  .blend(o0)
  voronoi(5,0.3,0.3).color(12,-0.5,-0.75)
  .out()
//The fourth one(04)
speed=5
shape(100,.15,.5).color(10,10,1)

.diff( shape(250,.5,0).scrollX(.05).rotate( ()=>time/10 ).color(1,0,.75) )
.diff( shape(509,.4,.002).scrollX(.10).rotate( ()=>time/20 ).color(1,0,.75) )
.diff( shape(99,.3,.002).scrollX(.105).rotate( ()=>time/30 ).color(1,0,.75) )
.diff( shape(99,.2,.002).scrollX(.20).rotate( ()=>time/40 ).color(1,0,.75) )
.diff( shape(99,.1,.002).scrollX(.125).rotate( ()=>time/50 ).color(1,0,.75) )

.modulateScale(
  shape(240,.5,0).scrollX(.05).rotate( ()=>time/15 )
  , ()=>(Math.sin(time/3)*.2)+.2 )

.scale(0.6,.5,10)
.out()
//The fifth one(05)
osc(100,-0.01245,1)
  .pixelate(100).kaleid(()=>(Math.sin(time/10)*9+3))
  .rotate(0,0.0125).color(100,100,100)
.modulateRotate(shape(100).scale(()=>(Math.cos(time)*2))
                .rotate(0,-0.25))
  .diff(src(o0)
        .brightness(0.3))
  .out()
  

006

//side,radios,smoothing
shape(10,.15,.45)
//    scrollX, speed
  .scrollX(2,5)
//    angle, speed
  .rotate(6, 5.1)
 //r=red; g=green; b=blue
//     r, g, b
.color(2,0,250)
.out()

007

//side, radio, smooth
shape(7, 0.1, 1)
//repeatX, repeatY
.repeat(3.0, 3.0)
//  angle, speed
.rotate(6, 5.1)
//      r, g, b
.color(220,1,20)
  .out()
​
  • yuna-wu-hydra-practice.1675131708.txt.gz
  • Last modified: 2023/01/30 18:21
  • by yuna.wu