
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 : “17 Squares”, SquaresInOrbits is visually coded with four layered & edited LiveCodeLab sketches. Each layer contains 17 squares through 11 squares and one cube(which is made up of 6 squares) . Audio is Coded with SonicPi to act as an orbital soundtrack.
Celestial Beings made of 17 Squares
Wandering around acting as this space
Is theirs
Within their tiers
Ignoring the others that are there
For this is their space
For their paths in their pace
simpleGradient blue, black,purple
if time % 20 > 10
rotate sin(time)/(cos(time %6) + 4)
move sin(time % 10)
scale (time % 10 + 1)/6
else
rotate sin(time)/(cos(time %6) + 4)
move sin(time % 10),cos(time % 10)
scale (time % 10 + 1)/9
pushMatrix()
noStroke
if time % 15 > 10
fill white
if time % 15 < 5
fill black
box sin(time)*1.5, sin(time)*1.5,sin(time) * 1.5
if time % 30 > 20
fill gold
if time % 30 < 10
fill brown
5 times
stroke gold
rotate
rect 1.5,1.5,1.5
popMatrix()
move
scale 0.5
if time % 15 > 10
fill black
if time % 15 < 5
fill white
box 1
live_loop :changeGameTunes do
use_random_seed Time.now.to_i
use_bpm [120,120,120,90,90,240].choose
with_fx [:ping_pong,:wobble].tick, mix: 0.65 do
with_fx :ixi_techno , mix: [0.6,0.3,0.1].tick do
with_fx :reverb, mix: 0.7, pre_mix: 0.4 do
synth [:pretty_bell,:piano,:hollow,:piano,:chiplead].choose if spread(3,8).mirror.shuffle
play scale([44,22,88,66,11,99].choose, [:minor,:major].tick).choose
sleep [0.5,1,2].choose
end
end
end
end