MinaCoding2025_LetterScene

LettersInGlitch

For MinaCoding2025 Prompt 13 & 23: Letters & Scene, LettersInGlitch is coded through a Ruby formatted text file and glitchified in HydraVideoSynth

Poem

Pixels combining
With Letters To create
A New Scene
With an Intent
To Facilitate new terrains to Elevate
Through the form of Pixelate
They are always Reminding
About the new Glitch to collect

Images

Code

Ruby



#Output to a file
#.center(40) aligns the code to follow Form

#words = 'a'

def poetry (amt,words,indent)

  x_cor = indent + 20
  x_cor2 = x_cor * 2
  x_cor3 = x_cor2 + x_cor

  use_random_seed Time.now.to_i / 2
  x = ('a'..'z').to_a.shuffle.reverse
  y = ('a'..'z').to_a.shuffle.reverse

  #wave components
  wave1 = [x[12],y[17],y[12]]
  wave2 = [y[5],y[10],y[12]]

  wave2a = wave2.shuffle
  wave2b = wave2.shuffle.reverse

  #second wave components

  wave3 = (y.last(13) + x.first(12)).shuffle
  wave3a = [wave3[10],wave3[12],wave3[8],wave3[17]]

  File.open("#{words}.txt" , "w+") do |f|
    f.puts("#{y[17].center(indent)}")
    f.puts("#{wave1}".center(x_cor))
    f.puts("#{y.last(amt)}".center(x_cor2))
    f.puts("#{x.last(amt+2)}".center(x_cor3))
    f.puts("#{y.first(amt+3)}".center(x_cor3 + x_cor2))
    f.puts("#{x.first(amt)}".center(x_cor3 - 12))
    f.puts("#{wave3a}".center(x_cor2))
    f.puts("#{wave2}".center(x_cor))
    f.puts("#{wave2a}".center(indent + 5))
    #.puts(wave2b[0].center(10))
    f.puts("#{wave3.last(amt-2)}".center(x_cor2 + 10))
    f.puts("#{wave3.first(amt-2)}".center(x_cor3 - 5))
    f.puts("#{y[17].center(indent)}")
  end
end


poetry(4,'first',12)
poetry(5,'second',1)
poetry(3,'third',4.5)

HydraVideoSynth

s0.initScreen()
s1.initScreen()
s2.initScreen()

src(s0).scale(1.56).invert().pixelate(100,100).diff(src(s0).pixelate(75,75).scale(1.85)).
modulateRotate(src(s2).scale(2).invert()).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