WCCC_Growth

3 min read

NextMutationOfMushy
For this week's Creative Code challenge by @sableRaph: “Growth”, NextMutationOfMushy is demonstrates the growth of mutation in the Mushys through Locomotion, HydraVideoSynth & SonicPi Code
Poem
Mushys , being mere creatures
Have mutated
To enhance their features
As their movements have been translated
For these mutations that have been Created
They have surpass another limit
Growth induced pivots
What is next in their journey to amass
And be in a new genus class
Video
Previous Code for MutationOfMushy
-- bar background
for [-3..84] (\n -> box {x = (n/2)-(20), y = (osc((0.5) + ((n/2)/(100)))*sin(n/2)) + (-7), z = -20, sy = 20, size=1.5, color = 0x2AFF00});
for [-3..84] (\n -> box {x = (n/2)-(20), y = (osc((0.5) + ((n/2)/(100)))*sin(n/2)) + (-8), z = -10, sy = 20, size=1.5, color = 0xA6FF95});
box {rx = 0, ry = 0, rz = 0, size = 20, y = -11};
point {color = 0xFFFEE0, intensity = 0.4, x = -6, z = -6};
point {color = 0xFFFEE0, intensity = 0.4, x = -5, z = 0};
point {color = 0xFFFEE0, intensity = 0.4, x = -4, z = 4};
point {color = 0xFFFEE0, intensity = 0.4, x = 6, z = -6};
point {color = 0xFFFEE0, intensity = 0.4, x = 5, z = 0};
point {color = 0xFFFEE0, intensity = 0.4, x = 4, z = 4};
-- mid right boxes
box {size = 1, z = -20, x = 12, y = -5};
box {size = 1, z = -20, x = 13, y = -4};
box {size = 1, z = -20, x = 13.5, y = -5};
box {size = 1, z = -16, x = 13.5, y = -4, ry = 15};
box {size = 1, z = -16, x = 13, y = -5, ry = 15};
box {size = 1, z = -16, x = 15, y = -4.5, ry = 15};
box {size = 1, z = -16, x = 12, y = -4.5, ry = 15};
box {size = 1, z = -16, x = 14, y = -5.25, ry = 15};
--back left boxes
box {size = 1.5, z = -30, x = -12, y = -5, ry = -20};
point {x = range 0 17 (osc 0.15), z = range 0 6 (osc 0.35) , intensity = range 8 25 (osc 0.5), color = 0xA9BC7C0 };
b n = dancer {url= "mushy", animation = [9,1,2,1,9,4,1], dur = 8.5 / n, size = -1.8, x = range -6 - 2 (osc 0.15), y = -1, z = -4, sy = 2 / n, sz = 4, ry = 90, rz = 135, rx = 75};
for [0..25] b;
Mutation Growth Code
Locomotion
b n = dancer {url= "mushy", animation = [9,1,2,1,9,4,1], dur = 8.5 / n, size = -1.8, x = range -6 - 2 (osc 0.15), y = -1, z = -4, sy = 2 / n, sx = range -6 8 (osc 0.15), sz = range 1 6 (osc 0.15), ry = 90, rz = 135, ly = range -360 360 (osc 0.45), rx = 75};
for [0..25] b;
HydraVideoSynth
s0.initScreen()
src(s0).scale([0.5,1,24].smooth()).modulateScale(src(s0).blend(noise(1,1,1))).modulateRotate(src(s0),0.23).out()
speed = 0.5
SonicPi
live_loop :circling do
a = dice(5).to_f
b = (dice(10) + 10).to_f
c = ((dice(10) - 12).to_f).abs
puts a,b,c
use_random_seed Time.now.to_i
#points of the triangle
Points = [[a,a],[b,c],[a,c] ]
# the nine point Circle comes from this circle
Midpoints = [[((b-a)/2).abs,((c-a)/2).abs],[((b-a)/2).abs,c],[a,((c-a)/2).abs]]
puts Midpoints[0]
puts Midpoints[1]
puts Midpoints[2]
#bpm
use_bpm [90,30,10,125].choose
#synth and sound section
use_synth [:piano,:hollow,:pretty_bell,:piano].choose
with_fx :ping_pong, mix: 0.7 do
with_fx :ixi_techno do
play a * 15, decay: Midpoints[0][0], sustain: Midpoints[0][1]
sleep [0.25,0.5,1].choose
sample :elec_bell, rate: Midpoints[1][0], beat_stretch: Midpoints[2][1] + 0.0001
end
with_fx :whammy do
play b * 5, attack: Midpoints[1][0], decay: Midpoints[1][1]
sleep [0.25,0.5,1].choose
sample :drum_bass_soft, rate: Midpoints[0][0], beat_stretch: Midpoints[1][1]
play c * 3,sustain: Midpoints[2][0], attack: Midpoints[2][1]
sleep [0.25,0.5,1].choose
end
end
sleep [0.5,1,2].choose
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
