# WCCC_Illusion

# **SeenCirclesUnSeenCircles?**

For this week's Creative Code challenge by @sableRaph: “ ***Illusion ”,* SeenCirclesUnSeenCircles?**   takes ***SonicPi & Hydra*** Code to make an illusionary Audiovisual piece. The **Hydra** Code is a remix of the following example: [https://hydra.ojack.xyz/?sketch\_id=example\_17](https://hydra.ojack.xyz/?sketch_id=example_17)

Aided with 360

## Poetry

```ocaml
What Is Seen?
What is being Heard?
Are there any words?
That is being said in this scene?
```

## Video

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

## Code

### Hydra

```javascript
pattern = () => osc(200, 0).diff(shape(4,4,4)).kaleid([4,5,6,7,17,200,156,89,200,5,4,3,2,4,200].smooth()).scale([0.5,1,2,4,3,20.5,1]).scroll([0.1,-0.3], [1.01,0.52])



pattern()
  .scrollX([0.1,0.3], [0.01,0.02]).sub(voronoi(1,3)).brightness([0.5,0.3,0.1,0.25].smooth()).color([0,1,2,0.5,0.3,0.1,0.15].smooth(),[1,2,1,1,0.5,0.3,0.2,0.1].smooth(),[0,1,2].smooth())
  .scrollY([0.1,-0.3], [1.01,0.52]).luma([0.1,0.2,0.3,0.2,0.1].smooth())
  .mult(pattern()).repeatX(()=> time % 5 + 1).repeatY(()=> Math.hypot(time % 5 + 1,1))
  .out()

speed = 0.09
```

### SonicPi

```ruby
#blips takeover

with_fx :reverb do
  live_loop :blips do
    use_bpm 120
    sample :elec_blip, pan: rrand(-0.9,0.9), rate: rrand(-1.5, 1.5)
    sleep [0.5,1,2].choose
  end
end

with_fx :ixi_techno do
  live_loop :blips1, sync: :blips do
    use_bpm 60
    sample :elec_blip, pitch: 4, pitch_stretch: 0.4, rate: rrand(-2.5, 2.5)
    sleep [0.5,1,2].choose
  end
end

with_fx :echo do
  live_loop :blips2, sync: :blips do
    use_bpm 120
    sample :elec_blip,amp: dice(5), rate: rrand(0,4)
    sleep [0.5,1,2].choose
  end
end
```

```ruby

live_loop :breakline do
  use_bpm 120
  sample :loop_breakbeat,beat_stretch: 4
  sleep 2
end

with_fx :ixi_techno, mix: rrand_i(0.1,1) do
  live_loop :breakline1, sync: :breakline do
    use_bpm 120
    sample :loop_breakbeat,beat_stretch: 2
    sleep 2
  end
end

live_loop :breakline2, sync: :breakline do
  use_bpm 120
  sample :loop_breakbeat,beat_stretch: 2
  sleep 2
end

with_fx :whammy,mix: 0.7, transpose: rrand_i(12,16) do
  live_loop :breakline3, sync: :breakline do
    use_bpm 120
    sample :loop_breakbeat,beat_stretch: 4
    sleep 2
  end
end
```
