
FlippageGlows
For this week's Creative Code Challenge by @sableraph: "Flip”, FlippageGlow coded with LiveCodeLab is a flippage of cubes, growing with their flights. Flipping occurs in palette choices, rotational flips and flipping of audio tempo.
Poetry
Flipping between hues
Flipping alternatives as the tempo to choose
Allows the cubes
To simmer in their flight
Glimmer in our sights
As the switching
Is building through the lights
As it impacts the flip of the hues
Video
Code
LiveCodeLab Visuals
if time % 12 > 8
simpleGradient blue,black,yellow
else if time % 12 < 4
simpleGradient black,yellow,blue
else
simpleGradient yellow,blue,black
15 * (time % 10 + 5) times with i
scale 1.001
noStroke
animationStyle motionBlur
fill i * 2.55 , i * 2, sin(i) * 200
rotate Math.cbrt(time)/sin(Math.cbrt(time)) / 10, Math.cbrt(i) * (sin(time) /5), Math.sqrt(i) * sin(time)
move 0.05 *tan(time), 0.0002 * i, 0.05 * (sin(time))
if i % 2
peg 0.5, 0.3, 0.1
else
box -0.7, -0.5, -0.3
LiveCodeLab Audio
y = time % 60
if y > 40
bpm 88
play 'tranceKick' ,'-x-x ---x x-x- xx---xx'
play 'beepC', '-x-- ---- x--x xxx-'
play 'beepA', '--x- --xx- --x- ----'
else if y < 20
bpm 132
play 'tranceKick' ,'-x-x -x-x---xx'
play 'beepB'+ int(random 4) , 'x--x xx- -x-- -x--'
play 'voltage', 'x-x- -x--x x-xx x-xx'
else
bpm 110
play 'tranceKick' ,'-x-x---x--xx'
play 'beepC'+ int(random 14) , '-x-- ---- x--x xxx-'
play "hiss" + int(random 2) ,'x--x---xx---xxx'
play "mouth" + int(random 4) ,'x--x---x'
play "penta" + int(random 10) ,'x--xx--xxx'



