r/tinycode • • Sep 04 '26

JavaScript The Depths of JavaScript: Minesweeper in 247 Bytes

Thumbnail
yui.dev
18 Upvotes

r/tinycode • • Jun 05 '26

JavaScript Dweet of the Week #128 - Default Ex Nihilo by Agnes

Thumbnail
i.redd.it
23 Upvotes

https://www.dwitter.net/d/35500

for(x.reset(i=F=0);i++<9;)for(j=1e3,D=t-9*i;j--;x.fillRect(j%10*5+M(D*=D<0)+300*(i/3+1+S(D?9*i:t)+D*C(9*i)),400+j/5+M(),5,2))M=_=>D*T(j*F++)

r/tinycode • • Jun 12 '26

JavaScript Dweet of the Week #129 - untitled by taupelink

Post image
32 Upvotes

https://www.dwitter.net/d/35567

for(i=z=1080;i--;x.fillRect(320*t,i,6,z*=1+C(i/105/p)*C(t/p)))x.fillStyle=`hsl(${6**(z&=7)},25%,${300/(z+=3-(p=(-.7)**z)*C(t+i/210*p))}%,.3`

r/tinycode • • 7d ago

JavaScript Dweet of the Week #153 - Fresnel lens over tiles by Axioplase

Thumbnail
i.redd.it
23 Upvotes

https://www.dwitter.net/d/36697

c.width|=0;for(j=200;j--;)for(i=500;i--;)d=C(i/20+t)*S(j/20+t)*19.8,r=((j-100)**2+(i-200)**2)**.5,d<S(r+t)&&x.fillRect(i*5,j*5,5,5)

r/tinycode • • Jul 31 '26

JavaScript Dweet of the Week #136 - Welcome to the Matrix by KilledByAPixel

Thumbnail
i.redd.it
44 Upvotes

https://www.dwitter.net/d/35970 - tiny raycasting engine with text rendering

x.fillRect(0,0,2e3,2e3)
for(A=99;A;T+=.1)for(q=((X=t+A/(e=55/T)-T)^T)%3,i=q||(x.fillStyle=R(T=1,--A&&9*e),18);!q&&i--;x.fillText(S((i+(X*30|0)**3+t*9|0)**3)+1|0,A*19,540-(i-9)*e))x.font=e+'px"'

r/tinycode • • Sep 10 '26

JavaScript How Rémi Vansteelandt made a physics-based BMX game in under 13 kilobytes

Thumbnail
remvst.substack.com
31 Upvotes

r/tinycode • • Jul 17 '26

JavaScript Dweet of the Week #134 - Skydreams JS1024 Demo by KilledByAPixel

Thumbnail
i.redd.it
36 Upvotes

https://www.dwitter.net/d/35908

check out the actual 1k demo: https://js1024.fun/demos/2026/25/bar

for(c.width|=i=300;i--;)for(Y=t*60+i,s=(300-i)**2,X=7;X--;(X^Y>>6)%4&&x.fillRect(960-X*w+w/.4+3*S(Y/99)*i,s/80,w,s))x.fillStyle=\hsl(${(Y>>9)*90} 99% ${((Y>>4X)&1?60:9)+(Y%32>1)*30}%`,w=9+s/299`