# WCCC_SelfPortrait

# GlitchySelves

For this week's Creative Code challenge by [@sableRaph:](https://hashnode.com/@sableRalph)***"Self Portrait",* GlitchySelves** is coded in ***LiveCodingYoutube, Hydra & SonicPi.***

GlitchySelves takes old code from a previously coded video : [https://youtu.be/2tADYfIVLKE](https://youtu.be/2tADYfIVLKE) mixed with newly coded elements named **Reddish.**

Aided with ***Character Animator, Oilpaint & Videography***

## Poem

```ocaml
Red,blue,green
What are the streams
Streams of thought when you think of the scene
Of how these images spring
Like the blossoming self portraits that on the screen
Tends to cling
Images rotating to the screen as they fling
Flinging vibrantly , what are the senses entering your dream
Willing to tell, to enhance your fantasy?
```

## Video

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

## Reddish Code

### Hydra Code Snippets

```javascript
s0.initScreen()

src(s0).kaleid(0.1).blend(s0).repeat(3,3).modulateScale(src(s0).repeat(2,2),1.5).
modulateRotate(src(s0).scale(0.5).scrollX([0.5,0.25],[0.5,-0.5,-0.25,0.5]),0.25). out()

speed = 0.6
```

```javascript
s0.initScreen();

src(s0).scale(()=> (time % 20 + 1)/6).pixelate([500,2500,1250],[250,30,100]).out(o0)
src(s0).scale(()=> (time % 20 + 1)/8).luma([0.5,0.4,0.3].smooth()).pixelate([50,250,250],[250,30,75,100]).out(o1)
src(s0).scale(()=> (time % 20 + 1)/10).pixelate([500,2500,1250],[250,30,100,50,1000]).out(o2)
src(s0).scale(()=> (time % 20 + 1)/12).kaleid([3,4,4,3].fast(0.4)).pixelate([500,2500,1250],[250,30,100]).out(o3)

render()

speed = 0.125
```

```javascript

s0.initScreen()

src(s0).kaleid([1,2,3,4].smooth()).colorama(()=>(time % 12 + 1)/13).pixelate([5000,5000]).
modulateScale(s0).modulatePixelate(src(s0).scale(0.73)).out()
```

## **MultiVerse Faces**

### Hydra

```javascript

s0.initCam()

voronoi([15,-10,4,-1.7].smooth(),[-0.1,-0.3,-0.5].smooth(),[5,2].smooth())
.add(osc(1,0,1)).kaleid([21,19,17,15,13,5,9,15,17,19,21].smooth())
.scale([0.5,1,2,2.5,2,1,0.5].smooth(),[0.5,1,2,3,4].smooth(),2).color(0.8,0.79,0.501).out(o1)
src(s0).diff(src(s0).modulateScale(s0,10), -0.5)
  .out(o0)


speed = 0.025
```

### LiveCodingYoutube

```javascript
speed([1,2,3,4,5],Math.sin(100))
speed([0,3,5,7],4000)
create(3,3,"m6kZgeng13M") // youtube id is pasted when you click a thumbnail
play(0)
play(all)
pause()
mute([1,2,4,12,14,11],true)
play([0,3])
pause([2,4,5],true)
seek(all,0)
jump(1,Math.random(100,200),Math.random(100,200))
jump(5,100,100)
jump(6,100,100)
play(">0")
loopAt(1,13,32) // loop video 1 from 3 second for 2 seconds
loopAt(2,19,4)
loop([1,2],Math.sin(100),Math.sin(400)) // loop video 2 and video 1 from 1 second ago for 4 seconds
jump([6,8],1000,1000)
jump(0,4000,4000)
jump(3,1000,1000)
jump([11,12,14],50,50)
jump(7,500,500)
jump(11,250,250)
```

## 2024 Collage: LiveCodingYoutube

```javascript
multiverse = "2tADYfIVLKE"
reddish = "Gv7cGhcQ6w4"

create(2,3, reddish)
cue([1,4],multiverse)

speed([0,1,2], 2)
speed([3,4,5],-1.5)
jump([0,1,5],0.5,2)

play(all)
```
