-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
639 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"title": "Outline", | ||
"started": "2024-05-09", | ||
"date": "9 - 12 May 2024", | ||
"type": "Byte Jam", | ||
"website": "", | ||
"flyer": "", | ||
"vod":"https://www.youtube.com/watch?v=5nWoPYPJAf8", | ||
"software_used": [ | ||
{ | ||
"name": "TIC-80 FFT Hack", | ||
"url": "https://github.com/aliceisjustplaying/TIC-80/releases/tag/v0.0.4", | ||
"version": "tic80showdown Alice fork v0.0.4", | ||
"purpose": "Graphic" | ||
} | ||
], | ||
"phases": [ | ||
{ | ||
"title": null, | ||
"vod": null, | ||
"entries": [ | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "jtruk", | ||
"demozoo_id": 135705 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_05_10_byte_jam_outline/jtruk.gif", | ||
"source_file": "/shader_file_sources/2024_05_10_byte_jam_outline/jtruk.lua" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "gasman", | ||
"demozoo_id": 5879 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_05_10_byte_jam_outline/gasman.gif", | ||
"source_file": "/shader_file_sources/2024_05_10_byte_jam_outline/gasman.lua" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "alice", | ||
"demozoo_id": null | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_05_10_byte_jam_outline/alice.gif", | ||
"source_file": "/shader_file_sources/2024_05_10_byte_jam_outline/alice.lua" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "aldroid", | ||
"demozoo_id": 63755 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_05_10_byte_jam_outline/aldroid.gif", | ||
"source_file": "/shader_file_sources/2024_05_10_byte_jam_outline/aldroid.lua" | ||
} | ||
], | ||
"staffs": [ | ||
{ | ||
"handle": { | ||
"name": "dojoe", | ||
"demozoo_id": 24894 | ||
}, | ||
"job": "DJ Set" | ||
} | ||
] | ||
} | ||
], | ||
"staffs": [ | ||
{ | ||
"handle": { | ||
"name": "havoc", | ||
"demozoo_id": 2419 | ||
}, | ||
"job": "Organizers" | ||
} | ||
], | ||
"demozoo_party_id": 4889 | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 143 additions & 0 deletions
143
public/shader_file_sources/2024_05_10_byte_jam_outline/aldroid.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
-- aldroid here | ||
-- love to all at outline! | ||
-- thanks to our fab orga team | ||
-- havoc, zeno4ever, the poobrain | ||
-- crew. and alice for making tic80 | ||
-- 100% better for jams! glhf to | ||
-- her, gasman and jtruk and dj | ||
-- dojoe! | ||
--------------- | ||
function TIC1() | ||
cls() | ||
bnd=3 | ||
wd = 240/8 | ||
for x=0,240/8 do | ||
rect(x*wd+bnd,bnd,wd-2*bnd,136-2*bnd,3) | ||
end | ||
for i=0,239 do | ||
circ(i,110 - fft(i*2)*200,2,0) | ||
end | ||
for i=0,239 do | ||
circ(i,110 - fft(i*2)*200,1,12) | ||
end | ||
end | ||
|
||
function TIC2(i) | ||
cls(5) | ||
pd=2 | ||
nt=8 | ||
bss = fft(0,10)*80 | ||
offs = 68 + 40*math.sin(i) | ||
for i=0,bss do | ||
tri(i*240/nt+pd, offs-20, | ||
(i+1)*240/nt-pd, offs, | ||
i*240/nt+pd, offs+20, | ||
0) | ||
end | ||
end | ||
|
||
function TIC3() | ||
cls(9) | ||
circ(120,68,fft(0,10)*560,10) | ||
circ(120,68,fft(0,10)*560-fft(10,40)*190,11) | ||
end | ||
|
||
S=math.sin | ||
C=math.cos | ||
|
||
bac=0 | ||
|
||
function TIC4() | ||
cls(12) | ||
bac = bac+ fft(5,10)*2 | ||
for i=0,12 do | ||
circ( | ||
120+40*S(bac+i*math.pi*2/12), | ||
68+40*C(bac+i*math.pi*2/12), | ||
8,0) | ||
end | ||
pkr = (bac // math.pi)%4 | ||
x=240-40 | ||
y=136-40 | ||
if pkr==0 or pkr == 1 then | ||
x=40 | ||
end | ||
if pkr==0 or pkr ==3 then | ||
y=40 | ||
end | ||
circ(x,y,S(bac)*20,9) | ||
end | ||
|
||
function TIC5() | ||
cls(0) | ||
circ(120,68,40,5) | ||
for i=-2,2,0.1 do | ||
circ( | ||
120+20*S(i*math.pi*2/12), | ||
68+20*C(i*math.pi*2/12), | ||
3,0) | ||
end | ||
circ(120-10,68-10,4,0) | ||
circ(120+10,68-10,4,0) | ||
end | ||
|
||
function TIC6() | ||
cls() | ||
bac = bac + fft(0,10) | ||
bnd=3 | ||
wd = 240/8 | ||
for y=0,3 do | ||
for x=0,240/8 do | ||
rect( | ||
x*wd+bnd,y*wd+bnd, | ||
wd-2*bnd,wd-2*bnd,7) | ||
end | ||
end | ||
t=(bac*5)//1 | ||
y=t//8 | ||
sh=(t+y*8)%3 | ||
cx=(t%8-0.5)*wd | ||
cy=(y%5-0.5)*wd | ||
if sh==0 then | ||
circ(cx,cy,5,0) | ||
elseif sh==1 then | ||
tri(cx,cy-4,cx-4,cy+4,cx+4,cy+4,0) | ||
else | ||
rect(cx-4,cy-4,8,8,0) | ||
end | ||
end | ||
|
||
function TIC7() | ||
cls(14) | ||
thx=240/6 | ||
circ(thx,68,14+fft(0,10)*600,1) | ||
trmt=20+fft(10,100)*100 | ||
trmt = trmt*0.8 | ||
tri(thx*3,68-trmt, | ||
thx*3-trmt,68+trmt, | ||
thx*3+trmt,68+trmt, | ||
1) | ||
rcmt=10+fft(100,1000)*300 | ||
rect(thx*5-rcmt,68-rcmt,rcmt*2,rcmt*2,1) | ||
end | ||
|
||
function TIC() | ||
t=time() | ||
sc=t//500 | ||
pc = sc %7 | ||
if pc==0 then | ||
TIC1() | ||
elseif pc==1 then | ||
TIC2(sc) | ||
elseif pc==2 then | ||
TIC3() | ||
elseif pc==3 then | ||
TIC4() | ||
elseif pc==4 then | ||
TIC5() | ||
elseif pc==5 then | ||
TIC6() | ||
elseif pc==6 then | ||
TIC7() | ||
end | ||
end |
128 changes: 128 additions & 0 deletions
128
public/shader_file_sources/2024_05_10_byte_jam_outline/alice.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
-- alice here | ||
-- | ||
-- greets: | ||
-- aldroid, | ||
-- jtruk, | ||
-- gasman, | ||
-- nusan | ||
-- | ||
-- and the entire FieldFX discord | ||
-- | ||
-- see you at EMF! | ||
|
||
------------------- | ||
|
||
-- pico8 the colors | ||
pico8="0000001D2B537E2553008751AB52365F574FC2C3C7FFF1E8FF004DFFA300FFEC2700E43629ADFF83769CFF77A8FFCCAA" | ||
|
||
function palit(p) | ||
for i=1,#p,6 do | ||
for j=0,2 do | ||
poke(0x3fc0+((i//6)*3)+j, | ||
tonumber(p:sub(i+j*2,i+j*2+1),16)) | ||
end | ||
end | ||
end | ||
|
||
palit(pico8) | ||
|
||
------------ | ||
|
||
pi,sin,cos=math.pi,math.sin,math.cos | ||
PI=math.pi; TAU=PI*2 | ||
|
||
psin=function(a) | ||
return -math.sin(a*TAU) | ||
end | ||
|
||
pcos=function(a) | ||
return math.cos(a*TAU) | ||
end | ||
|
||
patan2=function(a,b) | ||
return (math.atan2(-a,-b)/PI+1)/2 | ||
end | ||
|
||
sqrt=function(a) | ||
return math.sqrt(a) | ||
end | ||
|
||
min,max,abs=math.min,math.max,math.abs | ||
floor,ceil=math.floor,math.ceil | ||
|
||
function ptime() | ||
return time()/1000 | ||
end | ||
|
||
SCRW,SCRH,SCRWH,SCRHH=240,136,120,68 | ||
MIDX=120 | ||
MIDY=68 | ||
|
||
sub=string.sub | ||
|
||
--- | ||
|
||
t=0 | ||
fwd=true | ||
m="hello outline" | ||
f={} | ||
fs={} | ||
c=0 | ||
tt=0 | ||
function TIC() | ||
tt=tt+0.03 | ||
if fwd then | ||
t=t+1 | ||
else | ||
t=t-1 | ||
end | ||
cls() | ||
for i=0,239 do | ||
f[i]=fft(i) | ||
fs[i]=ffts(i) | ||
end | ||
|
||
for i=0,239 do | ||
line(i,136,i*fft(i),10, i%15) | ||
end | ||
len=print(m,0,-1000) | ||
print(m, t, 0, t//10%15) | ||
if t == 236-len then | ||
fwd=false | ||
end | ||
|
||
if t == 0 then | ||
fwd=true | ||
end | ||
|
||
for j=1,19 do | ||
if fft(j) > 0.3 then | ||
--rect(150, 20+j*10, j*10, 4, j%15) | ||
print("BEAT", 218, j*7, j%15) | ||
end | ||
end | ||
|
||
bx=150 | ||
by=40 | ||
bs=10 | ||
cnt=8 | ||
line(bx+10,by+24,bx+18,by+70,3) | ||
|
||
|
||
--elli(bx+bs*2*psin(tt),by+bs*pcos(tt),bs,bs,8) | ||
--elli(bx+bs*2*psin(tt),by+20+bs*-pcos(tt),bs,bs,8) | ||
--elli(bx+20*2*psin(tt),by+bs*pcos(tt),bs,bs,8) | ||
--elli(bx+20*2*psin(tt),by+20+bs*-pcos(tt),bs,bs,8) | ||
|
||
elli(bx,by,bs,bs,8) | ||
elli(bx,by+20,bs,bs,8) | ||
elli(bx+20,by,bs,bs,8) | ||
elli(bx+20,by+20,bs,bs,8) | ||
|
||
elli(bx+10,by+10,cnt,cnt,9) | ||
|
||
print("i love pjanoo!!",30,30,7) | ||
|
||
--fftss=fftssum(0,239) | ||
--rect(SCRW-fftss,50,fftss,4,8) | ||
end |
Oops, something went wrong.