# WCCC_Shadow

# ShadowsOfTheShadowRealm

For this week's Creative Code Challenge by @sableraph: ***"Shadows”,ShadowsOfTheShadowRealm***  coded with **LiveCodeLab, Locomotion & HydraVideoSynth**  explores the convergence of shadows from the shadow realm.

## Poetry

```javascript
Shadow Realm
Shadow Clones
Shadows Arrive  in a multitude
Shadows derived from higher attitudes
Shadows alerting these zones
From where they helm
```

### Video

%[https://youtu.be/nFt50ZvP-UI] 

  

## Code

### LiveCodeLab Visual

```javascript
mpleGradient black,white,blue

1500 times with i
	pushMatrix()
	stroke i / 4, i % 255, i % 5 * 50
	rotate i
	move
	rect
	popMatrix()

2500 times with i
	scale 0.99
	pushMatrix()
	fill black
	stroke i / 4, i % 255, i % 5 * 50
	rotate i
	move
	rect (time % 40 + 1) / 20
	popMatrix()
```

```javascript
simpleGradient black,white,blue

if time % 30 < 15
	1500 times with i
		pushMatrix()
		stroke i / 4, i % 255, i % 5 * 50
		rotate i
		move sin(time), cos(time)
		rect
		popMatrix()

2500 times with i
	scale 0.99
	pushMatrix()
	fill black
	stroke i / 4, i % 255, i % 5 * 50
	rotate i
	move sin(time), cos(time)
	rect
	popMatrix()
```

### HydraVideoSynth

```javascript
s0.initScreen()

src(s0).luma([0.15,0.3,0.5,0.8,0.2,0.5,0.1].smooth()).blend(src(s0).scale(1.15).luma([0.1,0.3,0.2,0.15,0.2,0.15].smooth()).repeat([1,2,1.5,0.75],[1,2,0.5])).out()


speed = 0.15
```

### LiveCodeLab Audio

```javascript
if time % 40 > 25
	bpm 40
if time % 40 < 10
	bpm 80
if time % 40 > 10 and time % 40 < 25
	bpm 60

if time % 20 > 10
	play 'tranceKick'  ,'xxx-x--xx-x--xx-'
	play "pianoLHChord" + int(random 4) ,'xxxx-x--x---x-xx'
	play "beep" + int(random 4) ,'-----xxxxx---xxx'

else
	if time % 2 == 0
		play "scratch-med" + int(random 9) ,'xx---x--x---xxx-'
		play "pianoLDChord" + int(random 4) ,'xxx--xxx-xxx---x'
		play "scratch-rough" + int(random 4) ,'-x---xxx-xxx--xx'
	else
		play "tic" + int(random 5) ,'x-xxxxxx-xx-xx-'
		play "toc" + int(random 3) ,'-x-x----x---xx--'

if time % 45 < 26
	play "tranceKick" + int(random 4) ,'xx-x--x---xxx-xx'
	play "tweet" + int(random 14) ,'---x-x-xxx-x-x-x'
	play "voltage"  ,'xx-x------x--xx-'
	play "pianoRHChord" + int(random 4) ,'-x-xxx-xxx--xx-x'

play 'alienBeep'  ,'---xx---xx-xxx-x'
play "mouth" + int(random 5) ,'-x-xx-x----xx-xx'
play "penta" + int(random 16) ,'x-xxx--xx-xx--x-'
play "warm"  ,'-xx-----x-x-x-xx-'
```

### Locomotion

```javascript
point { intensity =  range -1 9 (osc 0.316) , z = range -1 2 (osc 0.16), color = 0xe07748};

camera {x = ramge -5 -10 (osc 0.04), ry = range 0 -45 (osc 0.01)};

 c n = dancer { url = "mushy" , size =  n / 60 + range 0.00025 0.01 (osc 0.25), sz = range 0.15 1.85 (osc 0.14) , rx = n *  range -4 4 (osc 0.015 ),animation = n , rz = n  *  range -380 180 (osc 0.0016),x = sin(n / 3) + 
sin(n)  / n, y = sin(n)  / n, ry = range 0 -45 (osc 0.00), dur = 8 }; for [0..45] c;

```
