dwitter (@dwitter_net) profile picture

twitter account for the create js-community https://xitter.cf/t.co/mwc89RoNb6 Created by @lionleaf and @sigvef along with github contributors.

Joined December 2017
Photo by dwitter (@dwitter_net)Photo by dwitter (@dwitter_net)
dwitter retweeted
140-byte scenery dwitter.net/d/10792 for(i=c.width=99;i--;T=(j,t)=>S(j*j+i/j-t*7)+C(j**5-i/j*7+t)**3)for(k=j=56;j-->-k;x.fillRect(i,a,1,(j>0)*T(j,t)*j/k-q*q))q=T(a=j/2+30,0)/j*2
4
12
1
62
140 byte #ascii art demo "Tourists visiting the Great Pyramid of Math". #math #Egypt #javascript @dwitter_net @js1k dwitter.net/d/10794
12
39
dwitter retweeted
138-byte inverted Worley noise by blending CSS radial gradient backgrounds dwitter.net/d/10629 s=c.style;s.backgroundBlendMode='lighten';for(b=[i=20];i--;)b[i]=`radial-gradient(at ${50+S(t+i)*50}%${i*5}%,tan,#210 25%)`;s.background=b
3
15
dwitter retweeted
Real time liquid dynamics PBR dwitter.net/d/10765
1
4
18
dwitter retweeted
More things you can do with radial gradients in 140 bytes dwitter.net/d/10644 dwitter.net/d/10639 dwitter.net/d/10629
5
19
Incredible work on @dwitter_net today, by tomxor: dwitter.net/d/10534
1
17
41
dwitter retweeted
Another 140-byte thing dwitter.net/d/10281 c.width=-1 for(i=2e3;i--;x.fillRect(150+C(--m)*r,30+i/15+S(m)*r/2,9,6))r=9+C(i/770)**2*44,x.fillStyle=R(a=S(m=i+t)**8*255+128,a*.7,a/4,i/66) Howto write these: zozuar.org/txt/chalice/
1
3
16
Golfed my OutRun dweet some more so I could add retro colors... @dwitter_net dwitter.net/d/10287
4
10
Little optical delusion dwitter.net/d/9955
1
2
Block party - 140 byte #javascript #dwitter_net demo... dwitter.net/d/9870
1
3
14
Replying to @beesandbombs
Reproduced in 184 bytes of Javascript by the passionate people at @dwitter_net (and compressed to fit in 140) dwitter.net/d/9734
1
12
79
dwitter retweeted
Painting volume fog slices with shadowBlur: for(x[f='fillRect'](0,0,c.width=99,j=299);q=j--/9;x[f](50+C(i)*s*6,26+C(i*8)*s,s,s))x.shadowColor=R(j,i=j*j/1e4+t,99),s=99/q,x.shadowBlur=q dwitter.net/d/9672
1
3
14
dwitter retweeted
140-byte flower @dwitter_net for(i=w=c.width=500;(i*=.9998)>w/2;x.fillRect(w/2+S(i+t)*q,j*300-C(i+t)*q,9,9))j=1-i/w,q=(2+S(i*5)**3)*j**4*w,x.fillStyle=R(a=j*600,a*2,a/2) dwitter.net/d/9544
3
1
12
dwitter retweeted
139-byte fish @dwitter_net c.width=-1;for(j=2e3;j--;x.fillRect(99+9*S(a=j/1250)*S(j)+50*S(m=t*3+a),75+25*(S(-a*5)+1)*C(j),3,7))x.fillStyle=R(q=(j&128)-C(j)**3*99,q,q) dwitter.net/d/9649
dwitter retweeted
f=f=>(f(i)+f(z=i**.5)+f(t))*i/15-w for(x[r='fillRect'](e=C(t),w=-600,i=2e3,i);i--;x[r](f(S)-e*w,f(C),z,z))x.fillStyle=R(q=(3-C(e-i))**4,q,q) dwitter.net/d/9454
1
4
10
JavaScript animation in 140 characters: @dwitter_net #2 dwitter.net/d/8869 c.width|=0 for(i=0;i<8;i++){ a=i+t x.fillStyle=R(j=64*i,8,8,.3) x.beginPath() x.moveTo(w=960,h=540) x.arc(w,h,h-j,a,a+3*(1+C(a))) x.fill() }
2
13
Hery is a tiny slot machine in dwitter.net/d/8633 in 119 bytes of JavaScript: c.width=500;x.font='9em"'for(i=3;i--;x.fillText(T[0]+T[1]+T[2],40,200))t%6<i+2?T[i]=[...'💰🔔🍒🍌🍉'][(i*t+9*t|0)%5]:S @dwitter_net
2
24
1
92
Here's how you do a 3D wireframe landscape in 140 bytes of #javascript. @dwitter_net @js1k @BalintCsala jsriffs.blogspot.fi/2018/05/…
3
9
33
dwitter retweeted
Just to clarify; JS1k X is real! Only the 10k part was a joke. The tenth edition of JS1k will be themed X as it's the tenth year of the compo. I hope you've started to prepare your demo. Only 9 months to go :D
6
16