MinaCoding2024_Time

MinaCoding2024_Time

Time & Time Again

TripleDonutingInTimeAgain

Minacoding2024 Day 17 Prompt is TIme

TripleDonutingInTimeAgain will be reusing my Minacoding2023 Time submission that was coded in LiveCodeLab to produce the visuals and sound.

In This remix, LiveCodingYoutube will be used to add another layer of time.

This sketch takes place in a universe where three donuts are travelling together and are affected by the elements of time around them. Oil Paint filter is added.

Poem

Travelling
To see what the universe decides
Decides what needs unravelling
Unravelling as if it is second nature to this ride
This ride that finds it ways behind
But also ahead
As the miles grows to the words that are said

Video

Code

LiveCodingYoutube

donut = "nVBSm6dTkIQ"

create(2,3,donut)
add(2,3,donut)


speed([0,1,5],5)
speed([2,3],-1.5)
speed([10,15,20,22],0.15)
speed([7,8,9,12],4)

jump([2,4,6,8,10,12,14],1.3,1.3)
jump([1,3,5,7,9,11,13],-0.5,-0.5)

play(all)

LiveCodeLab

turns = floor(time / 10) % 6
detail = 100
speed = 3 * sin(time % 10 + 1)



if time % 50 < 25
    ambientLight 255, 255, 255
    simpleGradient color(10 + (time % 6) * 40, (time % 20) * 12,(time * 3) % 90),blue, red
    fill blue
    animationStyle paintOver
else
    simpleGradient black,color(30 + (time % 4) * 40, (time % 12 + 1) * 18,255 - (time % 100)),yellow
    ambientLight 122,122,122
    fill green


scale (time % 8 + 1) / 35


rotate time / 5

detail times with i
    rotate 0, 0, (2 * pi) / detail
    move 2, 0, 0
        rotate (turns * i * pi) / detail + (time * speed), 0, 0
        ball (time % 6)

detail times with i
    rotate 0, 0, (2 * pi) / detail
    move 2, sin(time % 9), time % 3
        rotate (turns * i * pi) / detail + (time * speed), 0, 0
        if time % 15 > 7
            fill orange
        else
            fill red
        ball (time % 6)

detail times with i
    rotate cos(time % 7), 0, (2 * pi) / detail
    move 2, sin(time % 9), time % 3
        fill white
        rotate (turns * i * pi) / detail + (time * speed), 0, 0
        ball (time % 6)

bpm 60
play "cosmos"  ,'--x- -x-x --x- -x-xx'
play "hiss" + int(random 3) ,'x'
play "hoover" + int(random 4) ,'x-ox'

if time % 45 > 30
    bpm 80
    play 'tranceKick'  ,'-x-x --xxxx -x x-x- x-xx'
    play "alienBeep" + int(random 16) ,'x-x'
    play "glass" + int(random 9) ,'x-ox--x'
else if time % 45 < 30 && time % 30 > 15
    bpm 40
    play "growl" + int(random 6) ,'x--x----xx-x'
    play "highHatClosed"  ,'--x- ---x- --x- ---x-'
    play "highHatOpen"  ,'--x- --x-- --x- ----xx'
    play "pianoLDChord" + int(random 4) ,'x---x--xx--x'
    play "pianoLHChord" + int(random 4) ,'x--x---xx'
else
    bpm 20
    play 'tranceKick'  ,'-x-x ---x x-x- x-xx'
    play "alienBeep" + int(random 16) ,'x-x'
    play "glass" + int(random 9) ,'x-ox--x'
    play "cosmos"  ,'--x- -x-x --x- -x-xx'
    play "hiss" + int(random 3) ,'x'
    play "hoover" + int(random 4) ,'x-ox'