PixelatedSandChaos
For this week's Creative Code challenge by @sableRaph:"Sand”, PixelatedSand is a grainy/sandy consumption of pixels and sounds coded in SonicPi & Hydra. Overlaid Hydra sketches for extra effects
Poem
Sand on a beach
Sand moving with the breeze
Sand getting into your shoe
Making it feel like it less room
Kind of Incomplete
It finds crevices, outside it reach
When the wind Blows
The Sand Roams
Video
Code
Hydra
voronoi(300,5,5).colorama([0.5,0.7,0.9,0.2,0.1].smooth()).scrollX([-0.5,0.5,0.5].smooth(),[0.5,-0.5,0.5].smooth()).scrollY(0.5,0.5)
.diff(voronoi(1600,3,3).colorama([0.35,0.15,0.075,0.87].smooth())).out()
speed = 0.125
voronoi(300,5,5).colorama([0.5,0.7,0.9,0.2,0.1].smooth()).scrollX([-0.5,0.5,0.5].smooth(),[0.5,-0.5,0.5].smooth()).scrollY(0.5,0.5)
.modulateKaleid(voronoi(1600,3,3).colorama([0.35,0.15,0.075,0.87].smooth())).modulateScale(voronoi(500,30,30),4).out()
speed = 0.125
SonicPi
live_loop :breakline do
with_fx [:ixi_techno,:flanger,:ping_pong].choose, mix: rrand(0.2,0.7) do
use_random_seed (Time.now.to_i)
use_bpm 10
sample :loop_breakbeat,beat_stretch: 4
sleep [1,2].choose
end
end
live_loop :breakline1, sync: :breakline do
with_fx :ixi_techno, mix: rrand_i(0.1,1) do
use_random_seed (Time.now.to_i)/2
with_fx [:ixi_techno,:flanger,:ping_pong].choose, mix: rrand(0.2,0.7) do
use_bpm 20
sample :loop_breakbeat,beat_stretch: 2
sleep 2
end
end
end
live_loop :breakline2, sync: :breakline do
use_random_seed (Time.now.to_i)/2
with_fx [:echo,:wobble,:krush].choose, mix: rrand(0.25,0.55) , amp: 1 do
use_bpm 5
sample :loop_breakbeat,beat_stretch: 2
sleep 2
end
end
live_loop :breakline3, sync: :breakline do
use_random_seed (Time.now.to_i)/5
with_fx :whammy,mix: 0.7, transpose: rrand_i(12,16) do
use_bpm 40
sample :loop_breakbeat,beat_stretch: 4
sleep [2,4,8].choose
end
end