NaPoWriMo x NaPoGenMo 2024 - Day 2: Tanka
Kofi / Illestpreacha
1 min read
Table of contents
ScrollingWords
For the second day of NaPoWriMo/NaPoGenMo 2024, Coded with Mermaid.Js, SonicPi & Hydra(and some extra effects), the poem is a scrolling Tanka.
Tankas are poems that follow the following syllable count: 5,7,5,7,7
Tanka Poem
Can You Hear Alice?
I believe I can, this time
What is on the List?
You Don't remember the Signs?
What is the sign for this drive?
Video
Code
Mermaid.Js
sequenceDiagram
Red->>+John: Can you hearAlice?
John->>+Red: I believe I can, this time
Alice-->>+Red: What is on the List?
Red-->>+Alice: You don't remember the signs?
Alice-->>John: What is the sign for this drive?
Hydra
s0.initScreen()
src(s0).colorama(()=> (time % 10 + 1)/20).scrollX([0.5,-0.25,0.3,0.1,-0.15]).scrollY([0.1,0.3,-0.25,0.2,-0.11]).scale(0.75).repeat(2,2).add(src(s0).scale(1.55).scrollX(0.5,-0.5)).out()
speed = 0.5
SonicPi - Slowdown
live_loop :breakline do
use_bpm 120
sample :loop_breakbeat,beat_stretch: 4
sleep 2
end
with_fx :ixi_techno, mix: rrand_i(0.1,1) do
live_loop :breakline1, sync: :breakline do
use_bpm 120
sample :loop_breakbeat,beat_stretch: 2
sleep 2
end
end
live_loop :breakline2, sync: :breakline do
use_bpm 120
sample :loop_breakbeat,beat_stretch: 2
sleep 2
end
with_fx :whammy,mix: 0.7, transpose: rrand_i(12,16) do
live_loop :breakline3, sync: :breakline do
use_bpm 120
sample :loop_breakbeat,beat_stretch: 4
sleep 2
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