Table of contents
OrbitOfColors
Today's MinaCoding Prompt is Pretty. OrbitOfColors will be coded audiovisually thru LiveCodeLab.
-Ring Like objects that are filled with colors shall paintOver and motionBlur across the screen as a soundscape is played in the background
Video
LiveCodeLab Code
turns = 2 + time % 10
detail = 400
speed = 0.4
background black
if time % 40 > 15
bpm 25
animationStyle paintOver
else
bpm 90
animationStyle motionBlur
play "penta" + int(random 16) ,'x--xx'
play "pianoLDChord" + int(random 4) ,'xx---x---x------x'
play "pianoRHChord" + int(random 4) ,'x-x'
play "siren" + int(random 4) ,'xx-xx------xx'
play "warm" ,'--x- ---- xx --x- ---xx-xx'
scale 0.2
rotate 15,3,1
detail times with i
rotate 0, 0, (2 * pi) / detail
move time % 9, sin(time), cos(time)
rotate (turns * i * pi) / detail + (time * speed), 0, 0
rect 1,wave(0.003),cos(time % 7)
detail times with i
rotate 0, 0, (3 * pi) / detail
move time % 9, sin(time)+ 1, cos(time) + 1
rotate (turns * i * pi) / detail + (time * speed), cos(time), 0
rect 1,wave(0.003),cos(time % 7)
detail times with i
rotate 0, 0, (3 * pi) / detail
move time % 9, sin(time)+ 3, cos(time) + 3
rotate (turns * i * pi) / detail + (time * speed), 2, sin(time)
rect 1,wave(0.003),cos(time % 7)