# WCCC_UpsideDown

# UpDownShapeSide

For this week's *Creative Code challenge by @sableRaph*: “**UpSideDown**”, ***UpDownShapeSide*** coded in **LiveCodelab & SonicPi** showcases the same code but inverted on the right and left side. While having other sets of the same output being flipped all around the screen.

## Poetry

```ocaml
Up & Down
Shapes Moving Around
Around the Limits of the Beams
Around Their Orbit
Around the seems
Around Their Orbit
Around the Limits of the Beams
Shapes moving Around
Up & Down
```

## Video

%[https://youtu.be/32g_3iaACG4] 

## Code

### LiveCodeLab

#### Left Side

```javascript
ball
move
ambientLight 
stroke black
fill orange
scale (time % 10 + 1)/7
move sin(time)/3,cos(wave())/4, (time % 5 + 3)/4
box
rotate wave(),wave(),wave()
peg
```

#### Right Side

```javascript
peg
rotate wave(),wave(),wave()
box
move sin(time)/3,cos(wave())/4,(time % 5 + 3)/4
scale (time % 10 + 1)/7
fill orange
stroke black
ambientLight
move
ball
```

### SonicPi

```ruby
with_fx :ping_pong do
  with_fx :ixi_techno, mix: 0.3 do
    with_fx :vowel,voice: dice(3),mix: rrand(0.1,0.5) do
      use_bpm 20
      live_loop :scaled_sample2 do
        sample :guit_e_fifths, beat_stretch: 3, rpitch: (scale [0,1,2,3,4,5,4].reverse, :shang).tick if spread(17,24).tick
        sample :drum_bass_soft, beat_stretch: 4, amp: dice(8), rpitch: (scale [0,1,2,3,4,5,4].tick, :egyptian).tick if spread(19,24).tick
        sleep [0.5,1,2].choose
      end
    end
  end
end


with_fx :distortion do
  with_fx :reverb do
    with_fx :whammy, mix: 0.2 do
      use_bpm 20
      live_loop :scaled_sample3 do
        sample :guit_em9, rpitch: (scale [0,1,2,3,4].reverse, :egyptian).tick if spread(17,24).tick
        sleep [1,2,4].choose
      end
    end
  end
end
```
