Skip to content

Commit

Permalink
Fieldfxmas
Browse files Browse the repository at this point in the history
  • Loading branch information
totetmatt committed Dec 24, 2024
1 parent 2067e2f commit e2bdfa5
Show file tree
Hide file tree
Showing 15 changed files with 1,198 additions and 0 deletions.
128 changes: 128 additions & 0 deletions public/data/2024_12_23_shaderbyte_jam_fieldfxmas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"title": "Fieldfxmas",
"started": "2024-12-23",
"date": "23 December 2024",
"type": "Shaderbyte",
"website": "",
"flyer": "",
"vod":"",
"software_used": [
{
"name": "TIC-80 FFT Hack",
"url": "https://github.com/aliceisjustplaying/TIC-80/releases/tag/v0.0.5",
"version": "tic80showdown Alice fork v0.0.5",
"purpose": "Graphic"
},
{
"name": "Bonzomatic",
"url": "https://github.com/wrightwriter/Bonzomatic-Compute/releases/tag/v1.0.1",
"version": "Wrighter Compute - v1",
"purpose": "Graphic"
}
],
"phases": [
{
"title": null,
"vod": null,
"entries": [
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "doop",
"demozoo_id": 141174
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/doop.gif",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/doop.lua"
},
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "Enfys",
"demozoo_id": 89891
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/Enfys.gif",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/Enfys.lua"
},
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "Aldroid",
"demozoo_id": 63755
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/grabber_xmas_aldroid.jpg",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/grabber_xmas_aldroid.glsl"
},
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "Catnip",
"demozoo_id": 113525
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/grabber_xmas_catnip.jpg",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/grabber_xmas_catnip.glsl"
},
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "HeNeArXn",
"demozoo_id": 113525
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/HeNeArXn.gif",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/HeNeArXn.lua"
},
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "jtruk",
"demozoo_id": 135705
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/jtruk.gif",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/jtruk.lua"
},
{
"id": null,
"rank": null,
"points": null,
"handle": {
"name": "muffintrap",
"demozoo_id": 80210
},
"shadertoy_url": null,
"preview_image": "2024_12_23_shaderbyte_jam_fieldfxmas/muffintrap.gif",
"source_file": "/shader_file_sources/2024_12_23_shaderbyte_jam_fieldfxmas/muffintrap.lua"
}
],
"staffs": [

]
}
],
"staffs": [
{
"handle": {
"name": "RaccoonViolet",
"demozoo_id": 90373
},
"job": "Organizers"
}
],
"demozoo_party_id": "LCDZFFCM"
}
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.
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
--hello ho ho
--mary chrysler
--hap chrimmus
--happee crimbo

snow={}
for i=1,250 do
snow[i]={math.random()*256,math.random()*256}
end

sin=math.sin
function TIC()
cls(10)
t=time()/100
--its snowing innit
for i=1,#snow do
pix((snow[i][1]+sin(t/2+i)*2),(snow[i][2]+t+i*t/64)%135,12)
end

rect(0,98,240,40,12)
rect(68,98,100,40,13)
for i=-1,4 do
tree(-78+i*48,0,i,sin(i*9)*4)
end
snowman(0,-4)
for i=-16,16 do
sv=-math.abs(sin(t/1.5+i)*4)
snowchild(i*32+t*8%513,0+sv,i*3%8+3)
end
end

function tree(x,y,o,s)
rect(113+x,78+y,15,20,1)
for i=-6+s/2,6 do
tri(100-i+x,68+i*4+y,120+x,58+i*4+y,140+i+x,68+i*4+y,7)
end
for i=-1+s*2,52 do
circ(120+sin(i/2)*i/3+x,38+i+y,1,i+t+o*3)
end
end

function snowchild(x,y,c)
for i=0,1 do
circ(20+x,78+i*12+y,8+i*2,13)
end
for i=0,1 do
circ(20+x,78+i*12+y,7+i*2,12)
circ(19+i*5+x,76+y,1,15)
end
rect(14+x,81+y,14,3,c)
rect(16+x,81+y,3,8,c)
circ(22+x,90+y,1,15)
end

function snowman(x,y)
for i=0,20 do
circ(120+i,68+i/4+y,1,15)
end
for i=0,20 do
circ(120-i+sin(t/2+1.6)*2,70-i/(4+sin(t/2)*2)+y,1,15)
end
for i=0,2 do
circ(120,58+i*16+y,9+i*2,13)
end
for i=0,2 do
circ(120,58+i*16+y,8+i*2,12)
end
for i=0,1 do
circ(120,73+i*16+y,1,15)
circ(117+i*6,55+y,1,15)
end
rect(113,64+y,16,3,1)
rect(116,64+y,3,15,1)
for i=-4,4,2 do
pix(120+i,61+sin(i/3+1.5)*2+y,15)
end
rect(117,59+y,3,1,3)
rect(140,63+y,3,40,0)
circ(141,60+y,8,2)
circ(141,60+y,6,4)
rect(137,59+y,9,3,0)
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
-- hi everyone! HeNeArXn here
t=0
cos=math.cos
sin=math.sin
pi2=2*math.pi
pi=math.pi
text="XMAS BYTEJAM"

top=-1




function TIC()
vbank(0)
cls(6)
vbank(1)
poke(0x03FF8, 15)
for j=3,47 do
poke(16320+j,sin(j+t/200)^2*255)
end
cls(15)
a=40--+sin(t/130)*15
b=20-sin(t/150)*15
xc=240/2
yc=136/2
steps=1000
i=0
--x=cos(i+t/100)*a+sin(13*i)*b
--y=sin(i+t/100)*a-cos(13*i)*b
x=0
y=0
for ii=-1,steps do
i=pi2*ii/steps
x_=cos(i+t/100)*a+sin(13*i)*b
y_=sin(i+t/100)*a-cos(9*i+cos(t/40)*4)*b
if ii>0 then
line(x+xc,y+yc,x_+xc,y_+yc,0)
end
if ii%10==0 then
for it=0,3 do
circ(x_+xc,y_+yc+3+2*it,3-it,(ii/10)%14+1)
end
end

x=x_
y=y_

end

-- for x=0,239 do
-- for y=0,135 do
-- pix(x,y,((x//10+y//10)%2)*4+2)
-- end
-- end

--for y=100+top,240,5 do
-- print(string.rep("snow",10),0,y,12,0,1)
--end

--for x=0,239 do
--line(x,135,x,120+sin(x/40)*15-cos(x/100)*20,12)
--line(x,0,x,120+sin(x/40)*15-cos(x/100)*20,0)
--end

--y=126+top-6
--print("trunk",100,y,2)
--print("trunk",100,y+5,2)

--print(text,15,100+sin(t/30)*20,12,0,3)
t=t+1

end
Loading

0 comments on commit e2bdfa5

Please sign in to comment.