WCCC_KidCanDraw
Kofi / Illestpreacha
2 min read
Table of contents
GeoFloatric
For this week's Creative Code challenge by @sableRaph: " My Kid Can Draw This ", GeoFloatric is Coded in LiveCodeLab & SonicPi.
Slowed down to make the Drawing process more Possible??
Poetry
Floating
Rotating
Shapes
As they Escape
From the Screen
Onto the Scene
Video
Code
LiveCodeLab
rotate sqrt(time),Math.hypot(time,3)
move sin(time), cos(time % 15) * (time % 4 + 1)
peg sin(time), cos(time) * tan(time), tan(time)/Math.hypot(time % 7, 5)
ball sin(time),tan(time)/Math.hypot(time % 7, 5) , cos(time) * tan(time)
rotate time,sin(time),cos(time)
box tan(time)/Math.hypot(time % 7, 5) ,cos(time) * tan(time),sin(time)
box cos(time) * tan(time),sin(time),tan(time)/Math.hypot(time % 7, 5)
rotate
move rotate time % 5
ball tan(time)/Math.hypot(time % 7, 5),sin(time) ,cos(time) * tan(time)
SonicPi
#remixing an older piece
with_fx :reverb, mix: 0.6 do
live_loop :bassflow do
use_bpm 120
if one_in(2)
sample :drum_bass_hard
sleep 0.5
else
sample :drum_bass_soft
sleep 0.25
end
end
end
live_loop :rift do
use_bpm 120
if one_in(2)
sample :bd_haus
use_synth :prophet
play (knit :e2, 24, :c2, 8).tick
sleep 0.5
end
sleep 0.5
end
live_loop :rift1 do
if one_in(2)
use_bpm 120
sample :bd_808
use_synth :pretty_bell
play (knit 45 , 22, 33, 11).tick
sleep 0.5
end
sleep 0.5
end
with_fx :ixi_techno do
live_loop :heavydrum do
if one_in(2)
use_bpm 120
sample :drum_cymbal_closed
sleep 0.5
else
sample :drum_heavy_kick
sleep 0.25
end
end
end
with_fx :gverb, mix: 0.4, decay: 0.6 do
live_loop :moredrums do
if one_in(2)
use_bpm 120
sample :drum_cymbal_closed
sleep 0.5
else
use_bpm 60
sample :drum_heavy_kick
play 45
sleep 0.25
end
end
end
Effects_Swap1 = [:ixitechno, :reverb, :panslicer]
with_fx Effects_Swap1[rand(4)] do
live_loop :drumming do
sample :drum_cymbal_pedal
sample :drum_splash_hard
sleep 8
end
end
with_fx :echo, mix: 0.7, amp: 3 do
live_loop :moredrums do
sample :drum_tom_mid_soft
sleep 1
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