SeaOfDots
For this week's Creative Code Challenge by @sableraph: "3 Colors", SeaOfDots is Coded with three colors(Two shades of Blue and White) over a pitch black sky night.
Dots Usage
The Languages used are TixyLand(Reused code from this week's Mathober prompt: Removable), Hydra for remixing the TixyLand and SonicPi to give sounds from the color SkyBlue via Shadow Math.
Poem
Sea Of Dots
Dots in the Waves
Dots swimming in their Ocean
Against the Terrains of Their Caves
Against the Currents, the Rain
The Snow that Misbehaves
for This is how the Path Opens
Video
Code
Tixyland
//Rightside
Math.pow(cos(y)/sin(i) *tan(t), t %8)
//leftside
Math.pow(cos(y)/sin(i) *tan(t), x %8)
Hydra
s0.initScreen()
src(s0).invert()
.pixelate([2000,5000,500,2500,10000].fast(0.04),[3000,10000,500,1000,200,50]
.smooth()).modulateRotate(s0,0.5).luma([0.1,0.3,0.6,0.2].smooth())
.modulateHue(s0).modulateRotate(s0,1).add(src(s0).invert()).out()
SonicPi
#SkyBlueShadowMathRemixed R, G, B , X, Y , Z
SkyBlue = [135, 206, 235,47.055, 55.289, 86.785]
i = 0
live_loop :SkyBlue do
use_random_seed Time.now.to_i
with_fx :ixi_techno do
use_bpm SkyBlue[3]
use_synth [:piano,:chiplead,:hollow].choose
play SkyBlue[i%6]/Math.tan(70),release: dice(3)
play SkyBlue[i%6]/Math.tan(120)/2,decay: dice(3) + 2
play (Math.cbrt(SkyBlue[i%6])/Math.tan(47)/10).abs,sustain: 3
sleep [0.25,0.5,1,2].choose
puts i
end
i = i + 1
end
live_loop :SkyBlueShadow2 do
use_random_seed Math.sqrt(Time.now.to_i)
with_fx :ixi_techno do
use_bpm SkyBlue[4]
use_synth [:piano,:chiplead,:hollow].tick
play (SkyBlue[i%4]/Math.tan(50)).abs/12,release: dice(6)
play ((SkyBlue[dice(i%4)]/Math.tan(75)-4)/6.5).abs,decay: dice(6) + 2
play (Math.cbrt(SkyBlue[dice(i%4)])/Math.tan(35)/14).abs,sustain: 3
sleep [1,2,4,8].choose
puts i
end
i = i + 1
end
live_loop :SkyBlueShadow3 do
use_random_seed Math.cbrt(Time.now.to_i)
with_fx :ixi_techno do
use_bpm SkyBlue[5]
use_synth [:piano,:chiplead,:hollow].choose
play (SkyBlue[dice(i%4)]/Math.tan(50)).abs/5,release: dice(7)
play ((SkyBlue[dice(i%4)]/Math.tan(75)-4)/6.5).abs,decay: dice(7) + 2
use_synth [:piano,:chiplead,:hollow,:prophet].choose
play (Math.cbrt(SkyBlue[dice(i%4)])/Math.tan(35)/10).abs,sustain: 7
sleep [1,2,5,8].choose
puts i
end
i = i + 1
end