# MinaCoding2023_Human_Complexity

# JuneComplexity

During this **Week of Minacoding**, the exploration of what human means to people came in various forms, images and outputs. Today's work symbolizes this complexity via **Hydra & SonicPi** with an array of visuals and sounds that clash with one another but still happen to be in unison.

## Poem

```ocaml
Week Long
Strong Seeps
as There Are No Right or Wrong
as Sketches Prescribe a Notion
Through their Equations
as Humans Through an Array of Motions
Wondering Which Actions Determines What Gets open
```

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/gipEo6xbU0s"></iframe>

## Code

### **Hydra**

```javascript

//overlayed during the recording process

osc(1,1,1).kaleid([4,3,2,1,2,3,4]).diff(voronoi(3,1,()=> Math.cbrt(sin(time))).
pixelate(4000)).modulateRotate(noise(3,()=> Math.hypot(Math(sin) * time % 3,Math.sin(time)),1))
.out()


speed = 0.5
```

### SonicPi

```ruby
live_loop :bassflow do
  with_fx :flanger do
    use_bpm 90
    if one_in(2)
      sample :drum_bass_hard
      sleep [0.25,0.5,1].choose
    else
      sample :drum_bass_soft
      sleep [0.25,0.6,1].choose
    end
  end
end

live_loop :snap do
  with_fx :echo do
    with_fx [:ping_pong,:distortion].tick do
      use_bpm 90
      sample [:perc_snap2,:perc_swoosh].choose if spread(17,24).tick
      sample [:tabla_ghe1,:tabla_ghe3,:elec_chime].choose, sustain: dice(6) if spread(19,24).tick
      sleep [0.25,0.5,1,2,4,8].choose
    end
  end
end


live_loop :spoilt do
  with_fx [:flanger,:wobble].choose, mix: 0.25 do
    with_fx  :ping_pong, mix: 0.95 do
      use_synth [:piano,:prophet].choose
      play choose( [:Cs2,:G4,:D4, :As4 ] )
      with_fx [:wobble,:whammy,:echo].choose, mix: 0.20 do
        play [:C2,:E2,:As2].choose  ,decay: dice(2) ,delay: 0.5 ,sustain: dice(2) ,release: dice(2),amp: dice(3)
      end
    end
  end
  sleep [2,4,8].choose
end
```
