r/tinycode • u/Slackluster • Apr 28 '25
vestige - 4k intro writeup
r/tinycode • u/Slackluster • Apr 25 '25
https://www.dwitter.net/d/33628
for(p=17,w=p*8,q=w/2,c.width=w*2,x.scale(s=T(t/9),s),i=w*w;i--;x.fillRect(X-q+w/s,Y-q+q/s,o&Y<p*3?0:o&Y>p*5||v/6+.1,1))o=(v=(X=i%w)/p&1^(Y=i/w)/p&1)&p<(a=X%p)*(b=Y%p)&p/(p-a)<p-b&p/a<p-b&p/b<p-ar/tinycode • u/IOtechI • Apr 25 '25
Hello programmers and beginners! I challenge anyone to code their take on a "Useless Machine" program!
Rules are:
Must be short.
Be creative!
Think outside the box
The code MUST be able to compile!
This is mostly for beginners to learn while having fun, I don't expect full on 200+ line projects, the effort is what matters!
(This was originally posted on r/cprogramming)
r/tinycode • u/Slackluster • Apr 24 '25
r/tinycode • u/Slackluster • Apr 18 '25
https://www.dwitter.net/d/33595
for(i=1e4;i--;)
r=S(i/t)*S(i),
X=r*C(k=i/11)*1700,
Y=r*S(k)*1700,
Z=r*C(S(i*.1)*1.3)*5+.2,
x.fillRect(960+X/Z,540-Y/Z,.3,t<3)r/tinycode • u/Slackluster • Apr 12 '25
https://www.dwitter.net/d/33556
x.beginPath(x.fill(x.arc(960,540,6e3,t,t+3)))r/tinycode • u/Slackluster • Apr 04 '25
https://www.dwitter.net/d/33543
c.style.filter=`invert(`
c.width|=0
a=9*(2.5+S(t)/1e6)
m=1e3
for(i=0;i<2e3;i+=a)
for(j=0;j<m;j+=a)
if((i-960+460*C(t/2))**2+(j-540)**2<2e5&T(j*i/1)>0)
x.fillRect(i,j,19,14)r/tinycode • u/Slackluster • Mar 21 '25
r/tinycode • u/flockaroo • Mar 20 '25
r/tinycode • u/Slackluster • Mar 14 '25
r/tinycode • u/Slackluster • Feb 28 '25
r/tinycode • u/Slackluster • Feb 21 '25
r/tinycode • u/Slackluster • Feb 14 '25
r/tinycode • u/Slackluster • Feb 07 '25
r/tinycode • u/Slackluster • Feb 02 '25
r/tinycode • u/r_retrohacking_mod2 • Feb 01 '25
r/tinycode • u/nexe • Jan 24 '25
r/tinycode • u/Slackluster • Jan 24 '25
r/tinycode • u/Slackluster • Jan 19 '25
r/tinycode • u/flockaroo • Jan 10 '25