MinaCoding2025_TwoColors

HexaDirectionalDancing

For MinaCoding2025 Prompt 28: Coded in Two Colors, HexaDirectionalDancing coded in Locomotion, SonicPi & HydraVideoSynth represents the theme of Two Colors, through the visuals (designed in two colors) and the Audio that uses the numbers located in the colors of Aqua & Maroon and composes the sound through that.

Poem

In All Directions
There is Information
Even through restrictions
There lies interactions
That is needed from all directions

Video

Code

Locomotion


--left and right
dancer{url = "raccoon",x = range 5 -5 (osc 1), rx = range 5 -5 (osc 0.15),dur = 5}; 
dancer{url = "raccoon",x = range -5 5 (osc 1), rx = range 5 -5 (osc 0.15),dur = 5}; 

-- up and down
dancer{url = "raccoon",y = range 5 -5 (osc 0.125), animation = [2 ,1, 3,1], rz = 17,dur = 5};
dancer{url = "raccoon",y = range -5 5 (osc 0.125), animation = [2 ,1, 3,1], rz = 17,dur = 5};

-- front and back
dancer{url = "raccoon",z = range 5 -5 (osc 0.15), rx = range 50 -50 (osc 0.1),dur = 5};
dancer{url = "raccoon",z = range -5 5 (osc 0.15), ry = range 50 -50 (osc 0.1),dur = 5};

SonicPi

#Numbers found in maroon control this function :https://www.colorhexa.com/800000
#As well as those found in Aqua: https://www.colorhexa.com/00ffff

live_loop :maroonAqua do

  use_random_seed Time.now.to_i
  with_fx :echo, mix: [0.64, 0.33].tick do
    use_bpm [25.534, 83.938, 18.108,91.114, 50.119, 196.386].choose
    sample [:ambi_piano,:guit_e_slide,:perc_snap,:elec_blip,:drum_bass_soft].choose ,sustain: [25.534, 48.044, 38.056].choose,rate: [0.64,0.33,4.59].choose
    sleep [8.903, 4.59, 0.417].choose
  end
end


live_loop :AquaMaroon do
  use_random_seed Time.now.to_i / 2
  with_fx :echo, mix: [0.64, 0.33].tick do
    use_bpm [180,100, 50,25.534, 61.29, 38.383].choose
    sample [:ambi_piano,:guit_e_slide,:perc_till,:elec_blip,:drum_bass_soft].choose ,pitch: [8.903, 4.59, 0.417].choose, sustain: [25.534, 48.044, 38.056].choose
    sleep [0.225,0.329,8.903, 4.59, 0.417].choose
  end

end


live_loop :Aqua2Maroon do
  use_random_seed Time.now.to_i / 3
  with_fx :echo, mix: [0.64, 0.33].tick do
    use_bpm [180,100, 50,25.534, 61.29, 38.383].choose
    sample [:glitch_perc4,:perc_snap,:perc_swash,:elec_blip,:drum_bass_hard].choose ,pitch: [8.903, 4.59, 0.417].choose, sustain: [25.534, 48.044, 38.056].choose,rate: [91.114, -70.476, -15.217].choose
    sleep [0.225,0.329,8.903, 4.59, 0.417].choose
  end

end

HydraVideoSynth


s0.initScreen()

src(s0).luma(0.5).brightness().color(0.75,0.15,0.51).out()
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