# WCCC_Rain

# CausticRain

For this week's Creative Code Challenge by @sableraph: ***"Rain”, CausicRain*** coded with  **SonicPi, HydraVideoSynth &** animation that reimagines the rainy day footage.

## Poetry

```javascript
Rain Rain Go, Away
Rain Rain, Come along
Isn’t a phrase that is meant to stay
To the areas that you shall belong
Rain with it effects
Rain that affects
Rain Rain
What are you adding Today?

```

### Video

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

## Code

### SonicPi Code

```ruby
X , x1, x3

live_loop :moo3 do
  use_random_seed Time.now.to_i / 5
  use_bpm [6,12,18,24].choose
  with_fx :echo , decay: 0.05 do
    with_fx [:flanger,:whammy].tick, mix: [0.1,0.006,0.05].choose do
      with_fx :ping_pong do
        sample [x,x1,x3].tick, beat_stretch: [12,6,3].choose
      end
      sleep [0.5,1,2,4,8,12].choose
    end
  end
end

live_loop :moo4 do
  use_random_seed Time.now.to_i / 6
  use_bpm 480
  sample [x,x1,x3].tick, beat_stretch: [12,6,3].choose
  sleep [4,6,8].choose
end


live_loop :moop do
  use_random_seed Time.now.to_i/ 3
  use_bpm 120
  with_fx :distortion do
    sample [:ambi_piano,:elec_beep,:drum_bass_hard,:drum_bass_soft,:drum_bass_hard].tick, beat_stretch: 12, amp: dice(2)
  end
  sleep [1,2,4,8].choose
end



```

### HydraVideoSynth

```javascript
s0.initScreen()


src(s0).repeat(1,2).colorama(0.2).luma(0.5).pixelate(500,500).out()
```
