# MinaCoding2025_RepetitionDrift

# JitteringOnScreen2

For ***MinaCoding2025* Prompt 20:** *Talk & Continue*, **JitteringOnScreen was**  coded in **Locomotion & SonicPi** . For Prompt 8 & 15 : *Repetition & Drift,* **JitteringOnScreen2** remixes the previous sketch with **LiveCodingYoutube** and extra layers

## Poem

```ocaml
Movement
Chaotically for amusement
Overpacked and layered
But as they heard
The movements packed
And the chaos stacked
```

## Video

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

## Code

### LiveCodingYoutube

```ocaml
x = "NhKtJN4iQeA"

create(2,3,x)

speed([0,2,4],2)
speed([1,3],0.5)
speed(5,-1)

play()
```

### Locomotion

```haskell

a n = dancer { url = "ordroid",animation = [3,1,4,1,5,1,6], size = n/6 + range 0.15 0.65 (osc 0.10),x = n, y = -4,sz = n /17, sx = n/2  + range  0 12 (osc 0.15),sy =  n/3 + range  0  6  (osc 0.15)};

for [0..7] a;

b n = dancer { url = "ordroid",animation = [3,1,4,1,5,1,6], size = n/6 + range 0.15 0.65 (osc 0.10),x = 3 - n , y = -4,sz = n /17, sx = n/2  + range  0 12 (osc 0.15),sy =  n/3 + range  0  6  (osc 0.15)};

for [0..7] b;

c n = dancer { url = "ordroid",animation = [3,1,4,1,5,1,6], size = n/6 + range 0.15 0.65 (osc 0.10),x = n + 3 , y = -4,sz = n /17, sx = n/2  + range  0 12 (osc 0.15),sy =  n/3 + range  0  6  (osc 0.15)};

for [0..7] c;
```

### SonicPi

```ruby
def sounding(loop,sampling,pace)
  live_loop loop do
    with_fx :whammy do
      use_random_seed Time.now.to_i / 2
      sample sampling, rate: rrand(pace * -1, pace)
      sleep [0.5,1,2].choose
    end
  end
end


sounding(:bells,:perc_bell,4)
sounding(:snaps,:perc_snap,3)
sounding(:blips,:elec_blip2,3)
```
