
Command Palette
Search for a command to run...

Comments
Join the discussionNo comments yet. Be the first to comment.
Search for a command to run...

No comments yet. Be the first to comment.
For this week's Creative Code challenge by @sableRaph: “ ZeroTo1”, Brick&Flips takes SonicPi, Hydra & LivecodeLab code and collages it with 3d items and overlays to present 3d items and overlays to present a sketch that is built upon fractional numbers (between 0 to 1).
0 to 1
The range of the fractional bond
Bounded by the closeness to zero
But to 1, it will never reach
As this is the ceiling to peak
It can get close, but be short by a handful
And come back down, unravel
For this is tale
Of 1 to zero
noise(0.3,0.2,[0.1,0.3,0.4,0.5].smooth()).kaleid([0.25,0.5,0.75,0.55].smooth()).
colorama(()=> (time % 12 + 1)/14).scale(0.35).modulateRotate(osc(0.7,0.5,0.5).pixelate(0.5)).
modulateScrollX(osc(1,0.6,1).scale(0.5),-0.5).modulateScrollY(shape(1,0.6,1).scale(0.5),-0.5).
modulateScale(osc(0.7,0.5,0.5).pixelate(0.5,0.25),0.75).out()
speed = 0.16
noise(0.3,0.2,[0.1,0.3,0.4,0.5].smooth()).repeat(0.5,0.3).kaleid([0.25,0.5,0.75,0.55].smooth()).
colorama(()=> (time % 12 + 1)/14).scale(0.35).modulateRotate(osc(0.7,0.5,0.5).pixelate(0.5)).
modulateScrollX(osc(1,0.6,1).scale(0.5),-0.5).modulateScrollY(shape(1,0.6,1).scale(0.5),-0.5).
modulateScale(osc(0.7,0.5,0.5).pixelate(0.5,0.25),0.75).modulateScale(noise(0.1,0.2,0.3).
repeat(0.3,0.2)).out()
speed = 0.16
//speed = 0.66
background green
scale Math.hypot(wave(0.003),(time % 12 + 1)/5)
14 times
fill orange
stroke orange
move wave(0.03),wave(0.03),wave(0.003)
rotate wave(0.03), wave(0.12), wave(0.24)
ball sin(Math.hypot(time,time % 9 +1)/12),wave(0.03),wave(0.3)
def looptakes (loop,timer,effects,mixer,sample1,rating)
live_loop loop do
use_random_seed Time.now.to_i / timer
use_bpm 30
with_fx effects.choose, mix: 0.25 do
with_fx :distortion, mix: mixer do
sample sample1 , rate: rating, beat_stretch: 2
end
end
with_fx :distortion, mix: 0.24 do
live_loop :chaos do
sample [:ambi_piano,:ambi_drone].choose, rate: [0.25,0.5,-0.25,0.75,1,-1,-0.5].choose if spread(1743,10000)
sleep [0.25,0.5,0.75,1].choose
end
end
sleep [1,2,4].choose
end
end
looptakes(:looping,3,[:whammy,:wobble,:krush],rrand(0.4,0.6),[:loop_amen,:guit_e_fifths].tick,0.25)
looptakes(:looping1,3,[:whammy,:wobble,:ixi_techno,:ping_pong],rrand(0.2,0.4), [:ambi_piano,:loop_amen].tick,0.75)
looptakes(:looping2,2,[:ping_pong,:pitch_shift,:gverb],rrand(0.1,0.3), [:guit_em9,:drum_bass_hard].choose,0.125)
looptakes(:looping3,2,[:ixi_techno,:flanger,:pitch_shift],rrand(0.2,0.7,), [:loop_breakbeat,:drum_bass_soft,:guit_em9].choose,0.6)