I like converting #dwitter #dweets to #p5js. I use it to help me learn better. Today I found dwitter.net/d/10287, which is called OutRun: Neon City edition and added bits to it. I think it came out quite well!
#processing #outrun #retro #neon
Overview: Hacker News discussed Dwitter, a platform for 140-char JS demos. Community loves the creativity from constraints, but debates the character limit metagame & potential rule changes. AI's role & code golfing also came up. #Dwitter 1/6
Enter the Hamburgerverse! www.dwitter.net/d/34078 #dwitter
for(i=1400,c.width|=0,x.globalCompositeOperation="xor";i>200;i-=i/6)x.font=`${i}px ä`,x.strokeText("🍔",960-(3+C(.8*t))*i/5,540+(2+S(t))*i/5)
光源
dwitter.net/d/33459
for(i=w=800;i-=5;) for(j=600;j--;)
x.fillStyle=R(w-j,i/j*w,i-j/w),x.fillRect(w/2+i*C(j-t)*19+t,w/2+i*S(j+t)*9,5,5)
#dwitter #tinycode
beta.dwitter.net/d/33446
for(i=w=800;i-=5;)for(j=400;j-=5;x.fill())
x.beginPath(),x.arc(w/2+i*C(j)/t,w/2+i*S(j)/t,i,j,9),
x.fillStyle=R(w%i,w/i,i)
#dwitter #tinycode
Tunnel
beta.dwitter.net/d/33412
for(i=w=800;i-=5;)for(j=400;j-=5;x.fill())
x.beginPath(),x.arc(w/2+i*C(j),w/2+i*S(j),i,j,9),
x.fillStyle=R(w%i,i%w,i)
#dwitter #tinycode
フェンス
beta.dwitter.net/d/33250
for(i=64;i--;)for(j=32;j--;x.fillStyle=R(i/t/t,j/t/t,i*j/t/t))
x.fillRect(900-T(i)*99/t/t,500-S(j)*99/t/i,5,20)
#dwitter #tinycode
コンストラクション
beta.dwitter.net/d/33187
for(i=w=99;i--;)for(j=69;j--;x.fillStyle=R(X/w,Y%w*2,w/t))
x.fillRect(X=900-T(i/t)*99,Y=500-1/S(i&t)*29,50,200)
#dwitter #tinycode
beta.dwitter.net/d/33091
c.width|=0
for(i=99;i--;)for(j=69;j--;x.fillRect(500+i*C(i+t)*5,500+i*S(j)*5,5,5))
x.fillStyle=R(j*S(i),i*T(j),j*i)
#dwitter #tinycode
Top 10 Dweets of 2024! 🎉🥳 Limited to 1 per person so they aren't all just me and tomxor. Join the fun of making super tiny JavaScript programs at www.dwitter.net #generativeart #javascript #tinycode #dwitter
フラクション2
dwitter.net/d/32948
for(w=i=540;i--;)for(j=360;j-=2;)
x.beginPath(x.fillStyle=R(i^j,i+j,i*j)),
x.fillRect(-w/2+i*S(j-t)*9,j*C(j/t)*9,w/i,w%i)
#dwitter #tinycode
dwitter.net/d/32901
for(w=i=250;i--;)for(x.beginPath(j=250);j-=2;x.fillStyle=R(i^j,i+j/2,i/j))
x.fillRect(960+i*C(j/t)*39,540-i*S(j),55,55)
#dwitter #tinycode
dwitter.net/d/32878
c.width|=0
for(i=w=540;i--;)j=i*.01,x.fillStyle=R(i,w/i,w),
x.fillRect(540+i+j*C(j+t)*99,300-i*j*S(j-t),S(w/i)*9,C(w-i)*25)
#dwitter #tinycode
dwitter.net/d/32858
c.width|=0
for(i=960;i--;x.beginPath(x.lineWidth=4,x.stroke()))for(j=9;j--;)
x.arcTo(-540+j**C(a=i+t*.05),-300+j**S(a),0,0,125)
#dwitter #tinycode
スタジアム
dwitter.net/d/32830
c.width|=0
for(i=15;i--;x.beginPath(x.stroke()))for(j=25;j--;)
x.lineTo(960+i*C(j+t)*99,540-i*S(j+t)*19^99)
#dwitter #tinycode
タワー
dwitter.net/d/32802
for(i=w=2e4,j=i*.2;i--;)
x.fillRect(960+i*S(t*j)*49,t+i*C(t/j+S(j))*39,8,12)
#dwitter #tinycode
dwitter.net/d/32766
c.width|=0
for(i=w=1e3;i--;x.fillStyle=R(i/w,t-w,i%w))
x.fillRect(960+i*C(i%t),i*S(i/w%t)-t,8,12)
#dwitter #tinycode
うずまき
dwitter.net/d/32700
c.width|=0
for(i=w=2e3;i--;x.fillStyle=R(w*T(i-t),i%t,w/i))
x.fillRect(960+i*.5*C(i%t),540+i*.2*S(i%t),8,8)
#dwitter #tinycode
dwitter.net/d/32655
c.width|=0
for(i=w=2e4;i--;)
x.fillStyle=R(i%w,i/w,i),
x.fillRect(960+i*C(t%i)*S(i/t)*19,540+i*S(t%i)*C(i/t),w%i,w%i)
#dwitter #tinycode
固着と飛翔
dwitter.net/d/32606
for(x.fillRect(0,0,i=2e4,i);i--;)
x.clearRect(960+i*C(t^i)*S(i%t)*69,540+i*S(t^i)*C(i%t)*9,9,9)
#dwitter #tinycode
アウトサイダーたち
dwitter.net/d/32591
c.width|=0
for(i=w=2e3;i--;){
x.fillStyle=R(-i/w,w/i,-w/i)
x.fillRect(i%C(t*.1%i)*w,i%S(t*.1%i)*w,35,55)}
#dwitter #tinycode