WCCC_Reproduce
Kofi / Illestpreacha
3 min read
For this week's Creative Code challenge by @sableRaph: "Reproduce”, TravelleringCubes is made by reproducing former sketches with the aid of overlaying, Glitchlab and modification of speeds to turn into a voyage of twists and turns.
AudioVisuals are coded in LiveCodeLab, SonicPi & Hydra with aid from Glitchlab.
Poem
Rectangles roaming
Rotating & rolling
Running & rimming along
Reciting the rhymes that belong
Twirling and twisting
Avoiding the mistakes that were tripping
As the angles of the others are tilting
Tiling and tipping
Tipping to the ways as the rectangles are roaming
Video
Code
LiveCodeLab
ringDetail = abs(67 - (time % 10) * 4)
ambientLight 255, 200, 155
if time % 9 > 5
stroke black
else
stroke yellow
if time % 9 > 4
fill gold
else
fill turquoise
if time % 5 > 3
simpleGradient sandybrown,pink, saddlebrown //really like this hue
else
simpleGradient pink, saddlebrown, yellow
rotate time / 5
scale 0.05 + ((time % 20)/20)
//center planetary
13 times with i
rotate (time / 5) + i
ringDetail times
rotate 0, 0, (2 * pi) / ringDetail
move 2, 0, 0
box sin(time %5 + 0.5) + 1, 0.3 + (1 / ringDetail)
//secondary planetary spur
9 times with i
rotate (time / 5) + i, (time/4) + i
move 0,1,1
ringDetail times
rotate 0, 0, (2 * pi) / ringDetail
move 2, 0, 0
box sin(time %5 + 0.5) + 1, 0.3 + (1 / ringDetail)
stroke red
fill black
scale 0.2 + sin(time)/5
simpleGradient black,white,orange
rotate Math.sqrt(time),wave,wave
280 times with i
rotate time * 3 - Math.cbrt(i)
move 2, Math.sqrt(sin(time)+1), Math.hypot(cos(time),2)
box 0.5, 0.4, 0.77
Hydra
s0.initScreen();
src(s0).luma([0.1,0.3,0.5,0.3,0.1].smooth()).
modulateScale(src(s0).scale([2,1,0.25,0.75,1,2].smooth()),0.75).
modulateKaleid(src(s0).repeat(3,[1,2,3,4,5].smooth()).scale(0.75).colorama(0.5)).
out(o0);
SonicPi
#Codifying a Morning Walk
#it was a windy day with slight rain and birds chirping
#using this code to alter this walk among a coded universe
#used a field recorder during this walkthrough
walk1 = "C:/DirectionsToNowhereSound/DirectionsToNowhere/Morning_Walk_May21_2021_3.wav"
walk2 = "C:/DirectionsToNowhereSound/DirectionsToNowhere/Morning_Walk_May21_2021_2.wav"
walk3 = "C:/DirectionsToNowhereSound/DirectionsToNowhere/Morning_Walk_May21_2021_1.wav"
with_fx :ping_pong do
with_fx :hpf do
with_fx :vowel,voice: dice(2) do
use_bpm 40
live_loop :scaled_sample2 do
#overlaying the same walk with different sound elements
sample walk1, beat_stretch: 2
sample walk1, decay: [5,4,3,2,1].tick
sleep sample_duration walk1
end
end
end
end
#These are elements from the second and third iteration of the walk
#overlaying it with the upper function that takes the elements of the first walk
with_fx :reverb do
with_fx :whammy, mix: rrand(0.1,0.9) do
use_bpm 20 #changes the beats per minute of the walk
live_loop :scaled_sample3 do
sample walk2
sample walk3
sleep sample_duration walk3
end
end
end
live_loop :GameTunes do
use_bpm 120
with_fx :ixi_techno , mix: 0.6 do
with_fx :reverb, mix: 0.7, pre_mix: 0.4 do
synth :pretty_bell if spread(3,8).mirror.shuffle
play scale(44, :minor).choose
sleep 0.5
sample :bd_ada if spread(3,8).reverse.tick
sample :bd_haus if spread(3,8).mirror.tick
sleep 0.5
play 62
end
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