Follow

Follow

# Genuary2023_AlbumArtPalette

Kofi / Illestpreacha
Â·Jan 7, 2023Â·

## Palette from an Album/Movie Cover

Chose The Mouse & The Mask by Danger Doom based on the following list of "35 Beautiful Music Album Covers
https://www.smashingmagazine.com/2008/08/35-beautiful-music-album-covers/

## Album Cover

### Palette from https://imagecolorpicker.com/en

For this prompt, I decided to code with LivecodeLab for Visuals and SonicPi for Audio

For the Audio, I am implementing a previous coded track from the Shadow Math (Click on Link to see) prompt from The WCCChallenge

## LIveCodeLab Code

``````

stromboli =  color(44,70,66)
hampton = color(230,209,169)
teak = color(180,150,109)
summerGreen = color(144,180,172)
muleFawn = color(143,63,43)
sorrellBrown = color(197,168,131)
ecruWhite = color(243,242,226)
paleOyster = color(149,144,129)
capePalliser = color(147,113,73)

array = [stromboli, hampton, teak,summerGreen,muleFawn,sorrellBrown,ecruWhite,paleOyster,
capePalliser]

detail = array.length
turns = 2
speed = 1

if time % 21 > 14
else if time % 21 < 14 && time % 21 > 7
else

turns = wave(0.013) * 5
detail = 400 - (time % 10 * 30)

speed = abs(5.5 - sin(time % 4))

detail times with i
rotate 0, 0.01, (2 * pi) / detail
move 0, 0, 0
rotate 0, (turns * i * pi) / detail + (speed), 0
fill(paleOyster)
stroke(ecruWhite)
rect 2, 0.08 + (1 / detail)

detail times with i
rotate 0.01, 0, (2 * pi) / detail
move 2, 0, 0
rotate 0, (turns * i * pi) / detail + (speed), 0
fill(muleFawn)
stroke(summerGreen)
rect 1, 0.04 + (1 / detail)

detail times with i
rotate 0, 0, (2 * pi) / detail
move 2, 2, 0
rotate 0.01, (turns * i * pi) / detail + (speed), 0
fill(stromboli)
stroke(teak)
rect 2, 0.08 + (1 / detail)
``````

### SonicPi Code

``````#Color +Shadows
#RGB Values
#83% slowdown
#shadow length equation is Length = height / tan(angle)

#Due to High Pitches, will divide the numbers by 3

#First Three will be used for the shadow math
stromboli =  [44,70,66]
hampton = [230,209,169]
teak = [180,150,109]

summerGreen = [144,180,172]
muleFawn = [143,63,43]
sorrellBrown = [197,168,131]
ecruWhite = [243,242,226]
paleOyster = [149,144,129]
capePalliser = [147,113,73]

def color(hue,loop,synth,effect)
with_fx effect do
live_loop loop do
i = 0 #counter to iterate between the 3 values
use_synth synth
play hue[i]/3 ,release: 3
sleep [0.5,1,2].choose
if i < 4
i+= 1
end
end
end
end

with_fx effect do
live_loop loop do
i = 0 #counter to iterate between the 3 values
use_synth synth
play (hue[i]/Math.tan(70)) / 3 ,attack: dice(4)
play ((hue[i]/Math.tan(40)).abs)/3 ,decay: dice(4)
sleep [0.25,0.5,1,2].choose
if i < 4
i+= 1
end
end
end
end

#taking in the hue,loop name and attached synth, effect
color(stromboli, :stromboli,:pretty_bell,:ixi_techno)