# WCCC_Morphing

For this week's Creative Code challenge by [@sableRaph](https://hashnode.com/@sableRaph): “*Morphing* ”, **EvolutionaryMorph** uses ***LiveCodeLab*** for the visual of the creatures and the audio. While integrating  ***Hydra*** code to act as the external force that applies the morphing patterns/cycles through layering and layering.

## Poetry

```ocaml
Morphing Into the next stage?
Morphing beyond the concept of Age
Morphing between the gaps in the pixels
The gaps in the glitch
Morphing from 2d to 3d through voxels
As the glitch wanders into the realm of which,
Which element will be infused?
Confused? As they stumble upon, An algorithm
That attempts to choose
```

## Video

%[https://youtu.be/2eRt7R_bNig] 

## Code

### LiveCodeLab Visual

```javascript
if time % 10 > 5
	simpleGradient black,aqua,black
else
	simpleGradient black,grey,black


ambientLight sin(time) * 200, cos(time) * 200, tan(time) * 200
25 times
	scale 0.55
	rotate sin(time),cos(time),sin(time)
	move
	Ball
```

### LiveCodeLab Audio

```javascript

if time % 50 < 25
    bpm 55
    play 'hoover',  '--x- -xx- x  x --x- --x-'
    play "tense" + int(random 8) ,'xx---xx'
    play 'beepA',      '--x- --x-xx- x--x- --x--xx'
    play 'snap',   '--x- -x--x-- -xx- --x--'
    play 'tense',      'x--x  x --x– x -x-- -x--'
    play "pianoRHChord" + int(random 18) ,'xxxx----x----xx'

if time % 50 > 25
    bpm 55
    play "siren" + int(random 7) ,'x'
    play 'voltage',    'x-x- -x-xx- x-xx x-xx x-xx'
    play "pianoRHChord",    'x-x- -x-xx- x-xx x-xx x-xx'
    play 'ciack', '-x-x ---x x-x  x- --xx'
    play "detune"  ,'--x- ------x- -------x'
    play "lowFlash" + int(random 5) ,'x-x-x'
    play "siren" + int(random 15) ,'xx-xx---x'
```

### Hydra

```javascript

s0.initScreen()

src(s0).colorama()
  .modulate(src(s0).scale(1.25))
  .modulateScale(src(s0).scale(1.25).colorama(()=> (time % 12 + 1)/12.1))
  .modulateRotate(src(s0).scale(1.25).colorama(0.25),0.75)
  .out()
```
