MinaCoding2026_Place
New Realm?
Updated
•2 min read
UniqueCastling
For MinaCoding2026 Day 6: Mochi Mochi, UniqueCastling coded in Enu & SonicPi is a reimagined castle built in another realm.
Poetry
Another Place
Building Fortress
Connection for the progress
To interact in this space
Video
Code
Enu Twisted Towers
var
length = 20..22
height = 59
sides = 3..5
height.times:
color = cycle(black,red,red,white,white,black,white,black,blue,blue,blue,white)
left length / 2
back length / 2
sides.times:
forward length
turn right
forward length / 2
right length / 2
turn 4..12
up 1
###Colorway two
var
length = 20..22
height = 59
sides = 3..5
height.times:
color = cycle(green,blue,blue,white,white,black,green)
left length / 2
back length / 2
sides.times:
forward length
turn right
forward length / 2
right length / 2
turn 4..12
up 1
Enu Standard Towers
36.times:
color = cycle(black,red,red,white,white,black,white,black,blue,blue,blue,white)
4.times:
forward 10
turn right
up 1
24.times:
color = cycle(black,red,red,white,white,black,white,black,blue,blue,blue,white)
4.times:
forward 20
turn right
up 1
Enu Floating Structures
36.times:
color = cycle(green,blue,blue,white,white,black,green)
4.times:
forward 20
turn right
up 1
forward 15
turn right
4.times:
forward 20
turn right
up 1
forward 15
SonicPi
live_loop :BassAttack do
use_random_seed Time.now.to_i / 4
use_bpm [40,120,240,480].choose
with_fx [:echo,:ixi_techno].choose, mix: rrand(0,0.75) do
sample :perc_snap, sustain: 4, beat_stretch: 4 if spread(2,3).reverse
sample :bd_klub if spread(5,6).tick
end
sample :elec_blup if spread(4,7).tick
sample :elec_blip , beat_stretch: 4 if spread(1,2).tick
sleep [2,4,8].tick
end
#shorter rest time
live_loop :BassAttackFast do
use_random_seed Time.now.to_i / 5
use_bpm [40,120,240,480].choose
with_fx [:whammy,:echo].tick do
sample :perc_snap if spread(2,3).reverse
sample :bd_klub, beat_stretch: 4 if spread(5,6).tick
with_fx :bitcrusher, bits: rrand(0,16) do
sample :elec_blup, beat_stretch: 3 if spread(4,7).tick
with_fx :slicer, phase: rrand(0,16) do
sample :elec_blip if spread(1,2).tick
sleep [1,2,4,8].tick
end
end
end
sleep [1,2,4,8].tick
end
#give that piano feeling
live_loop :piano do
use_random_seed Time.now.to_i / 3
use_bpm [40,120,240,480].choose
with_fx :ping_pong, mix: rrand(0.25,0.76) do
with_fx :echo do
use_synth :pretty_bell
bellTime = (scale :f3, :major).reverse
play bellTime if (spread 10,24).tick
sleep [1,2,4,8].tick
end
end
sleep 0.5
end



