MinaCoding2025_Lines

Table of contents

LinesAreDancing

For MinaCoding2025 Prompt 21: Lines, LinesAreDancing coded in HydraVideoSynth, LiveCodeLab & SonicPi showcases a bunch of dancing lines.

Poem

Lines  Moving
Moving Lines
In their own journey
Through their own obstacles and Rhymes
These Lines  are moving
Some are slow and some are in a Hurry

Video

Code

LiveCodeLab

if time % 30 > 20
    animationStyle motionBlur
    simpleGradient yellow,blue,black

if time % 30 < 10
    animationStyle paintOver
    background black

if time % 30 > 10 && time % 30 < 20
    simpleGradient blue,black,yellow


scale time % 12  / 2 + 1
rotate time, time / 2, time / 3

90 + (time % 15)*10  times
    rotate time % 6, time % 17, time % 32
    line
    move 0.5, 0, 0
    line
    move -0.5, 0, 0
    line
    move 0.5,-0.5,0
        orange
    line time % 6

HydraVideoSynth

s0.initScreen()

src(s0).luma(0.3).modulateKaleid(src(s0).scale(0.5).kaleid(2)).out()
s0.initScreen()

src(s0).luma(0.3).modulateRotate(src(s0).scale(0.5).kaleid(2).scrollX()).out()

SonicPi

live_loop :Dull do
  use_random_seed Time.now.to_i / 2
  with_fx :vowel,mix: 0.5, voice: 2, vowel_sound: 3 do
    use_synth :dull_bell
    play 50, decay: 3, pitch: [2,4,3,2,1].tick, sustain: 2, release: 3 if spread(7,12).tick
    sleep [0.5,1].choose
  end
end

live_loop :Dull1 do
  use_random_seed Time.now.to_i / 3
  use_bpm 10
  with_fx :vowel,mix: 0.5, voice: 2, vowel_sound: 3 do
    use_synth :dull_bell
    play 2, decay: 1, sustain: 2, release: 3 if spread(5,12).tick
    sleep [0.25,0.5,1,2].choose
  end
end
0
Subscribe to my newsletter

Read articles from Kofi / Illestpreacha directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kofi / Illestpreacha
Kofi / Illestpreacha