# Code is Poetry & Data is Poetry # IndigoWaveLengths

For the 7th prompt of SciArtSeptember2023: "Indigo" " through LiveCodeLab, Hydra and some effects, We are seeing the different shades of Indigo interact with each other.

## Poem

``````Bursting of Indigos
Intermingling with various shades and hues
Belonging to the family of Indigo
Blues like the sky
At various times
With a hint of violets
Bursting of Blues & Purples
Blitzing with their Hues
As their Waves form this Channel
``````

## Images      ## Code

### LiveCodelab

``````//different indigo shades

electricIndigo = color(111, 0, 255)
blu_violet = color(138, 43, 226)
Tropical_Indigo = color(150, 131, 236)

Indigo_Dye = color(0, 65, 106)
Imperial_Blue = color(0, 35, 149)

WebcolorIndigo = color(75, 0, 130)

if time % 45 > 30
fill Indigo_Dye
stroke Imperial_Blue
scale Math.cbrt((sin(time) + (time % 13.0)/2.0 + 0.1)/4.0)
rotate Math.sqrt((time),cos(time),sin(time % 6.0 + 1.0)),wave(0.03)
else if time % 45 < 15
fill WebcolorIndigo
stroke Tropical_Indigo
scale (sin(time) + (time % 13.0)/2.0 + 0.1)/4.0
rotate sin(time),cos(time),sin(time % 6.0 + 1.0)

else
fill electricIndigo
stroke blu_violet
rotate cos(Math.hypot((time % 7 + 1)/5,(time % 9 * 10))), Math.sqrt(sin(time + 4)), tan(Math.cbrt(time % 15))
move 1,Math.sqrt(time %7+2),1

peg 1 + sin(wave(0.3)),2 * Math.cbrt(wave(0.05)), sin(wave(0.43))
box 1.0 + sin(wave(0.3)),2.0 * wave(0.05), sin(wave(0.43))
ball 1.0 + sin(wave(0.3)),Math.sqrt(2.0 * wave(0.05),2), sin(wave(0.43))
``````

### Hydra

``````s0.initScreen()

src(s0).scale([1.13,1.25,1.60].smooth()).repeat(()=>Math.cbrt(time % 7 + 3)).kaleid(()=> time % 5 + 1).diff(src(s0).scale(1.25)).blend(src(s0).scale(1.15)).add(src(s0).scale(1.35)).out(o0)

speed = 0.135
``````