Skip to main content

Command Palette

Search for a command to run...

CodeJourney_SuperSkills

Some Ovals & Text

Updated
•2 min read•View as Markdown
CodeJourney_SuperSkills

SpheresCirclesOvals

For The Game Jam. "SuperSkills": https://itch.io/jam/megamitts-mega-jam-19 ,SpheresCirclesOvals uses Twine, L5lua, LiveCodelab & Sonicpi to showcase a miniworld built with glitchiness through those shapes.

Short Visual Journey

https://illestpreacha.itch.io/spherescirclesovals

Video

https://youtu.be/jiaeoYzfnRY

Code

Twine

(align:"=><=")+(box:"===XXXXXXXXXXXXXXX=======")[''Spheres Ovals Circles
'']
=|=
''Pre Journey Text''


(text-colour:aqua)[Which ColorScape, (text-rotate-y:14)+(text-rotate-z:17)[Realm of Hues]

(text-colour:yellow)+(text-rotate-y:12)+(text-rotate-z:8)[does the Video],] 

(text-colour:yellow)+(text-rotate-x:8)+(text-rotate-y:12)+(text-rotate-z:9)[//''[inspire you to choose?]''//]

(text-colour:blue)+(text-style:"smear","condense","bold")[Which saturation makes your soul desire to fuse?]
=|=
''Short Visual Journey''

<iframe width="400" height="400" src="https://www.youtube.com/embed/jiaeoYzfnRY" title="SpheresCirclesOvals" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> 
=|=
''Post Journey Text''

''
(text-colour:aqua)
[
Even though short,
A voyage was displayed

Even though short
A memory was made]

(text-colour:yellow)
[Even though short
senses were transported

Eyes were ported
in this short voyage, today]''

|==|

L5lua

require ("L5")

function setup()
  size(1200,800)
  
  --video setup
  video = loadVideo("Armss.ogv")


  -- Start playing the video
  video:play()

end

shades = {'orange','teal','pink','yellow'}
shades1 = {'black','red','pink','aqua'}
shades2 = {'orange','green','blue','yellow'}

function draw()
  
  background(220)
  
image(video, 0, 0, width, height)
 
  for i = 1, 4 do
    push()
    translate(250 + (second() % 30 * 10),150)
    tri1(shades[i],i)
    pop()
    
    push()
  translate(0,200)
    tri1(shades1[i],i)
    pop()
    
    push()
  translate(250,500)
    tri1(shades2[i],i)
    pop()
    
  end

  
  frameRate(frameCount % 20)
  
 
  
end


function tri1(shade,adjust)
  fill(shade)
  rect(random(100,250),50 * adjust,50 + frameCount % 12,150,60,150)
  fill(shade)
  rect(random(100,250),50,250,50 * adjust,60 + frameCount % 12,150)
end

LiveCodeLab

simpleGradient black,red,orange
ambientLight
noStroke


50 times with i
	scale 0.99
	if i % 15 > 13
		move 0.01, (-0.2 * sin(time) )/10
		rotate i/ (time) , cos(sin(time) * (i % 3)), wave(i % 6)/time
		fill 255,abs(255 - ((time % 30)*10)),0
		ball
	if i % 15 < 8
		move 0.04 * sin(time) - 0.05, -wave(0.0000003), sin(time) * 0.06
		rotate wave(i % 6)/time
		fill 0,0,255 - ((time % 10)*20)
		box
	else
		move 0.04 * sin(time) - 0.05, -wave(0.0000003), sin(time) * 0.06
		rotate wave(i % 6)/time,wave(i % 6)/time
		fill 255 - ((time % 10)*20)
		peg

SonicPi

live_loop :emom do
  use_random_seed Time.now.to_i/6
  with_fx [:whammy, :ixi_techno].choose do
    use_bpm [5,10,15].choose
    sample [:glitch_bass_g,:ambi_piano,:glitch_bass_g ,:drum_bass_hard].choose, decay: dice(5), beat_stretch: 12, amp: dice(4)
    sleep [1,2,4].choose
  end
end

live_loop :emom2 do
  use_random_seed Time.now.to_i/5
  with_fx :flanger,mix: [0.3,0.6,0.7].choose do
    use_bpm [3,10,20].choose
    sample [:glitch_bass_g,:arovane_beat_a ,:glitch_robot2 ,:glitch_bass_g ,:drum_bass_hard].choose,rate: -2, decay: dice(5), beat_stretch: 12, amp: dice(4)
    sleep [1,2,4].choose
  end
end

live_loop :emom3 do
  use_random_seed Time.now.to_i/6
  with_fx [:whammy, :ixi_techno].choose do
    use_bpm [25,30,45].choose
    sample :ambi_choir, decay: dice(5), beat_stretch: 3, amp: dice(4)
    sleep [1,2,4].choose
  end
end

CodeJourney

Part 14 of 14

Coded Explorations and the outputs derived from them

Start from the beginning

CodeJourney_MoreNonnets

Some More Code Poetry