# Genuary2025_BlackTau

# TauInDark

The prompt for **Genuary 2025 Day4 is “BlackOnBlack”** and **Day 10** is “**Tau”**

**TauInDark** uses a mixture of **Hydra and LiveCodeLab** to the Black on Black component while the coded **SonicPi** composition uses Tau to arrange the sounds

## Poetry

```ocaml
The motions repeat
As the Grid may be
Incomplete
But the motions sweep
As the pixels are seen
```

## Video

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

## Code

### LiveCodeLab

```javascript

BlackOlive = color(59,60,54)
simpleGradient black,BlackOlive,black

stroke black
fill black
22 times
    scale (time % 10 + 1)/5
    move wave(0.03),0.01, 0.01
    line 2 , sin(time % 6)
    move
    peg sin(time % 3), wave(0.003), wave(0.03)

```

### Hydra

```javascript

s0.initScreen()

src(s0).diff(noise(1,2,1).luma(0.9)).modulateScale(src(s0).scale(0.75),0.5).modulateKaleid(src(s0)).
modulateScrollX(src(s0),3).modulateRotate(src(s0).scale(()=> (time % 10 + 1)/8)).out()


```

### SonicPi

```ruby
Tau = 6.2831853

live_loop :dance do
  with_fx :ping_pong do
    with_fx [:distortion, :ixi_techno].choose do
      use_bpm Tau
      with_fx [:echo,:wobble,:flanger].choose do
        with_fx :ixi_techno do
          sample [:bass_dnb_f,:loop_weirdo].tick, amp: Tau , beat_stretch: Tau
        end
        sleep Tau
      end
    end
  end
end


live_loop :dance1 do
  with_fx :echo do
    sample :elec_twang, beat_stretch: Math.hypot(Tau,Tau),  rate: Math.cos(Tau), pitch: Tau
    sample :drum_bass_hard,pitch: Tau, amp: Tau, beat_stretch: ([Math.cos(Tau),Math.sin(Tau),Math.tan(Tau)]).choose.abs
  end
  sleep Tau
end

sample


live_loop :dance2 do
  with_fx [:whammy,:ping_pong,:echo].tick do
    with_fx :ixi_techno do
      sample [:ambi_drone,:elec_beep,:loop_tabla].choose,rate: [Tau,Math.cos(Tau),Math.sin(Tau)].choose, amp: Tau, beat_stretch: Tau
    end
    sleep Tau
  end
end




```
