# WCCC_WaterColor

# WaterColorWater

For this week's **Creative Code challenge** by @sableRaph: *<mark>“Watercolor”</mark>*, **WaterColorWater** represents watercolor through a watercolor effect created in ***HydraVideoSynth*** and through visuals: having the water be colorful. WIth Coded Audio in **SonicPi** that aims to enhance this concept.

## Poetry

```javascript
Water Colors in the Color of Water
Meaning a splash has a meaning that is broader
Is it a splash of wet?
Is it a splash of hue?
Is it a dash that grew,
With the waves that it drew?
Drew through the H20 in its depth?
Water Colors changing the Color of Water
Splash, Dash, is this the beginning of  Autre?
```

## Video

%[https://youtu.be/JCWvP3dYs0g] 

## Code

### HydraVideoSynth

```javascript
osc(5,.1,[0.5,1,2,1].smooth()).modulate(noise(()=> (time % 10 + 1)/20),.22)
  .blend(o0)
  	.modulateScrollY(osc(2).modulate(osc().rotate(),.11))
.modulateScrollX(osc(2).modulate(noise([0.5,0.25,0.1].smooth(),[0.25,0.5,0.75,1].smooth()).rotate(()=> (time % 10 + 1)/30),.11))
	.scale([2.88,1.44,.72,.36,.18,.36,.72,1.44].smooth()).color(0.99,1.014,1)
  	.out()

speed = 0.125
```

### SonicPi

```ruby
live_loop :dosage do
  use_bpm 20
  use_random_seed (Time.now.to_i)/2
  with_fx [:echo,:wobble,:krush].choose, mix: rrand(0.25,0.55) , amp: 1 do
    sample [:ambi_drone,:ambi_glass_hum,:elec_fuzz_tom,:elec_beep].choose,beat_stretch: [1,0.5,0.8].choose, rate: [0.5,0.4,0.3,0.2,0.3,0.4].tick
    sleep [0.5,1,2].choose
  end
end

sample

live_loop :bell do
  with_fx [:ixi_techno,:flanger,:ping_pong].choose, mix: rrand(0.2,0.7) do
    use_random_seed (Time.now.to_i)
    use_bpm [120,80,220].choose
    sample [:perc_bell,:elec_bell,:loop_electric].choose, rate: (rrand 0.125,1.85)
    sleep rrand(0.2,2)
  end
end



live_loop :rollback2 do
  #making true random as it goes with the actual time
  #then using the Math.cbrt to make it a different seed ratio then the above function
  use_random_seed Math.cbrt(Time.now.to_i)
  use_bpm 45
  puts Time.now.to_i
  with_fx [:echo,:whammy,:distortion].choose, mix: rrand(0.1,0.6) do
    with_fx [:ping_pong,:distortion,:krush].choose, mix: rrand(0.1,0.9) do
      sample [:perc_swoosh,:perc_swoosh,:perc_snap].choose ,beat_stretch: [1,2,3,0.5].tick, sustain: 4, rate: Math.sqrt(dice(25) + 1)/3
      sleep [0.5,1,2,4,8].choose
    end
  end
  sleep [0.5,1,2].choose
end


live_loop :rollback3 do
  #making true random as it goes with the actual time
  #then using the Math.cbrt to make it a different seed ratio then the above function
  use_random_seed Math.cbrt(Time.now.to_i)
  use_bpm [45,90,90,90,135].tick
  puts Time.now.to_i
  with_fx [:echo,:whammy,:distortion,:pitch_shift].choose, mix: rrand(0.1,0.6) do
    with_fx [:ping_pong,:distortion,:krush].choose, mix: rrand(0.1,0.9) do
      sample [:loop_mehackit1,:perc_swoosh,:glitch_robot2,:glitch_robot1].choose ,beat_stretch: [1,2,3,0.5].tick, sustain: 4, rate: Math.sqrt(dice(25) + 1)/3
      sleep [0.5,1,0.25].choose
    end
  end
  sleep [0.5,1,2].choose
end
```
