# WCCC_Filter

# Spirals&Filters

For this week's Creative Code challenge by @sableRaph: “ ***Filter***”, **Spirals&Filters** is coded in **Hydra, Locomotion & LiveCodeLab.** **Spiral&Filters** takes a previously coded ***Haiga* (**[https://blog.illestpreacha.com/napowrimogenmo2025haiga2](https://blog.illestpreacha.com/napowrimogenmo2025haiga2)) and remixes it.

## Poem

```ocaml
Triplets as movements
The Beings are in Spirals
Moving in Groupings
```

## Video

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

## Code

### Hydra

```javascript
s1.initCam()

src(s1).invert().pixelate(50,50).out(o0)
src(s1).invert().pixelate(50,50).modulateScale(src(s1).blend(osc(3,1,1),0.5)).out(o1)
src(s1).invert().add(o0).pixelate(50,50).modulateRotate(src(s1).blend(osc(3,1,1),0.5)).colorama().out(o2)
src(s1).invert().pixelate(50,50).blend(noise(1,3,4).color(0.75)).modulateRotate(src(s1).diff(osc(3,1,1),0.5)).colorama().out(o3)

speed = 0.34

render()
```

### Locomotion

```haskell
b n = dancer { url="raccoon.glb", ry = range -360 360 (osc 0.3), 
lz = range - 360 360 (osc 0.3),animation = [range 1 4 (osc 0.6), 1, 
range 8 16 (osc 0.6),2 , 1], size =  ((n +8)/12 * 2) , 
rx =  step [-3,5,1], z = range -5 5 (phase 1 (n/50) * 2 + (-2)), rz = n * 23.7,dur = 16 };

for [0..12] b;
```

### LiveCodeLab

```javascript
if time % 30 > 15
	bpm 88
else if time % 30 < 10
	bpm 33
else
	bpm 144

play "penta" + int(random 16) ,'x-xx-x'

play "pianoLDChord" + int(random 4) ,'xxx---xx'
play "pianoLHChord" + int(random 9) ,'xxx--x-x-x'
play "pianoRHChord" + int(random 3) ,'x-----xx-xx'

play "ride"  ,'--x- -xx- x-x- -xx-'

play "tweet" + int(random 14) ,'xx---xx----x'
play "voltage"  ,'--x- ---- --x- ----'
play "warm"  ,'--x- -xx- --x- -x-x'
```
