# WCCChallenge_Refraction

# ShimmeringDepths

For this week's Creative Code Challenge by @sableraph : ***Refraction***  We are exploring Refractions Through the Coding Environments: Hydra & SonicPi.

## **Refracting Time**

* In this Sketch, Hydra is responsible for the refraction aspects, which consists of
    
    * Playing with the depth of artifacts in the image
        
    * Having light shimmering and streaking throughout the sketch
        
    * At times, getting that colour that occurs on refracts of glasses and other lenses
        
    * Audio is Remixed from a previous submission via SonicPi
        

## Poetry

```ocaml
Shimmering
As the waves are impacted
Abstracted and extracted
As the light stays lingering
As some hues are whispering
And others are tinkering
For the light is refracted
```

## Video

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

## Code

### Hydra

```javascript
voronoi(3, 0.1, 3.254)
	.rotate(() => time % 0.625, -2, -2.321)
	.mask(shape(20, 19.222, 5))
.mask(shape(10, 9.61111, 2.5))
	.colorama(()=> (time % 40 + 1)/120)
	.modulateRotate(noise(2.397, 1.103, 1.371), 2)
	.modulateScale(noise([0.5,2], 2.558, 11.793), 1.723)
	.blend(o0)
	.blend(o0)
	.blend(o0)
	.blend(o0)
	.blend(o0)
	.blend(o0)
	.blend(o0)
	.out(o0);

speed= 0.5
```
