# WCCChallenge_ConnectingDots

# DotsMayhem

For this week's Creative Code Challenge by @sableraph: **"Connecting Dots",** Dots Are creating Mayhem through the Coding Environments: ***TixyLand, Limut, LiveCodingYoutube, Hydra & SonicPi***

## Dotting

* The Original dots are coded through various **TixyLand** equations
    
* Then through a mix of **Hydra, Limut, LiveCodingYoutube &  360** view to bring the mayhem of the dots to the screen.
    
* Transitional sounds coded by **Limut & SonicPi**
    

## **Poem**

```ocaml
Sea Of Dots
Dots in the Waves
Dots swimming in their Ocean
Creating Mayhem in the Open
Against the Terrains of Their Caves
Against the Currents, the Rain
Against the pace of the Space
That keeps them in Place
As they look for the Phase  that Shall Open
For This is how the Path Opens
```

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/6pp7d9YciWE?si=UzEXt6PTHX9XbUt0"></iframe>

## Code

### TixyLand

```javascript
//Equation One
imul(t,y)/(sinh(t/i)+tan(t/y^3)+cos(t/x))/sqrt(i/t) + cbrt(y/t)

//Equation Two
Math.hypot(~(i|t)%256&(i^~t)%30,i%t)

//Equation Three
sqrt((x^y)%((32/t))|0)&t%9+1

//Equation Four
(t/(Math.sqrt(x/y)*t^(i/3)))

//Equation Five
(i/t+y^x) * x % t/3
```

### Limut

```javascript
set bpm= [135,90,45,135,215,215,215,215,215,135,135,135,135,135,135,90,90,45,45,45,215,45,135,135,135,90,90,215]
set Prog=[3,5,6,6,7,2,5,4,0,4,9,12]t8
set chords=[0,2,4,3]t[16,8,4,4]

set scale=minor

v kal 0, tunnel, scroll={x:time/22,y:time/33,z:time/20}, monochrome, fore=rainbow, mid=yellow
b dbass [(04v).], dur=8, noisify=1/8, drive=2/8, fold=1, phaser=1/8, room=2, add=[2,3,1,0]t8, addc=wow, pan=[-1/2:1/2]r, chorus=2, att=1/2, rel=5

hh play -x0xx---x, dur=1/4, amp=[0.2:1.2]n

Ch piano 0__2, dur=(prog+(0,-1,2,4))%5, Sus=17, add=(prog+(0,2,4,6,8))%7, amp=2, Oct=7,room=2
Le piano 0_.[.0]2343, amp=3, add=(prog+(0,-1,2,4))%5
Oct=(prog+(0,2,4,6,8))%7,echo=1/16
d1 play x-o-o-o-xxx-o--xx-x--x-oo-x,amp=(prog+(0,-1,2,4,-3,-4))%6,dur=(prog+(0,-1,2,4))%12, echo=4/7
Bass dbass 0, dur=8, att=2, rel=4, lpf=100*[3,30]l16@f
Sn play .(xO--xo-xx-x----x------x), dur=(prog+(0,-1,2,4))%5, room=1.1, echo=1/16
```

### Hydra

```javascript
 s0.initScreen()

src(s0).kaleid([1.5,2,2.5].smooth()).scrollX(0.5).out()
```

### LiveCodingYoutube

```javascript

vid1 = "iunb8fWF5TE"
vid2 = "Yni18IONv_w"
vid3 = "N2d_wAZYTR4"

create(1,3,vid3)
add(1,3,vid2)
cue(0, vid2,)
cue([1,4,8,9,10],vid1)
cue([2,3,5,7],vid3)

play(all)

speed(0,0.5)

speed([1,2,4,6,9],2)
speed([3,5,7,9,11],-1.5)
```

### SonicPi

```ruby
with_fx :flanger, mix: 0.4 do
  with_fx :vowel, mix: rrand(0.1,0.9) do
    use_bpm 60
    live_loop :r_dab8082 do
      sample :elec_blip2, beat_stretch: 12 if spread(5,12).tick
      sample :sn_dub, beat_stretch: 8 if spread(6,13).tick
      sample :guit_em9, beat_stretch: 4 if spread(7,14).tick
      sleep [0.5,1,2,4,8,12].choose
    end
  end
end

with_fx :whammy, mix: 0.4 do
  with_fx :ixi_techno, mix: rrand(0.1,0.9) do
    use_bpm 60
    live_loop :r_dab8083 do
      sample :guit_em9, attack: 2, decay: 4, sustain: 4, release: 2, beat_stretch: 12 if spread(7,12).tick
      sample :ambi_piano, attack: 0.5, decay: 2, sustain: 3.5, release: 2, beat_stretch: 8 if spread(5,12).tick
      sample :tabla_ghe1, amp: dice(5), decay: 1, attack: 1, sustain: 2, beat_stretch: 4 if spread(7,12).tick
      sleep [0.5,1,2,4,8,12].choose
    end
  end
end
```
