#tinycode ผลการค้นหา
🖌️ Mini 2-Color Pixel Editor I made a Base 69 storage method that excludes URL unsafe characters so that you can share your 2-color pixel art creations. 👉 Storage method extracts and combines three 3-bit values to each character. #tinycode #javascript
👨💻 Three Implementations of lodash _.uniq I was attempting to get all unique values of an array and since my 3 implementations used #tinycode techniques I learned recently, I decided to share them. Share your implementation if you have a different one. #codegolf #javascript
Dweets become a great reference to experiments so I built a browser. It's hard to find the code I'm looking for on Dwitter since it renders every dweet. I hope dwitter doesn't mind me using their API. Future feature: set your own username #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
🚂 Random Text Generator in a Bookmark (bookmarklet) in #javascript #tinycode #codegolf With a small amount of code, I created a script that generates random data. And formatted it so you could put save it as a #bookmarklet. Commented source code in link...
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
x=y=4e4;setup=_=>createCanvas(512,512);draw=_=>{(x>0)?x-=224:0;for(i=1e4;i--;){point(256+((x+=y>>8)>>8),256+((y-=x>>8)>>8))}}//#p5js #tinycode filled #circle, all integers + simplest arithmetic ops (no mul), early x86/ARM friendly
#generativeart #creativecoding #tinycode #digitalart #art #visualcoding #p5js #pixelart #javascript #generativedesign #digitalcreativity
setup=_=>{g=500,colorMode(HSB,g,g,g),createCanvas(g,g),blendMode(ADD),r=random,s=stroke,v=vertex,p=40,fill(0),rect(0,0,g,g),strokeWeight(0.1),for(a=p;a--;){for(b=p;b--;){i=map(a,p,0,g,0),beginShape(),v(r(g),i),s(r(g),g,g),v(i,r(g)),s(i,r(g),g),v(i,i),endShape()}}}//#tinycode #wip
c.width=w=1e3;for(i=0;i<w;i++,z=90*S(i/8+t),a=15*S(i/6+t/5),b=7*S(i/3+t*5),x.fillRect(w+a/z*w-500,w/2+b/z*w-160,z,3)); #tinycode
Snowy City ❄️ dwitter.net/d/32992 #javascript #tinycode #generativeart for(c.width=w=99,i=6e3;i;C-=a)++T<w&R<4-S(q=C/9^T/9)*(T>>5)*29?R-=b:x.fillRect(i%w,--i/w|x.clearRect(i/4+S(t*9+i)*2-(e=(C+i**2.7)%w)*2,e,1,1),1,(C&R&T+q&3)/9+T/w,R=T=a=1-i%w/50,b=1-i/4e3,C=t*30)
More Tiny Snowflakes ❄️ dwitter.net/d/32798 #javascript #tinycode 18 bytes smaller then my previous attempt! 🏌️♂️ can you guess what the 943 is for? 🤔 for(t*=i=433;i--;x.fillRect(t*24%2e3+X*C(a=i%12*943)-Y*S(a),t+X*S(a)+Y*C(a),4,4))X=i/12|0,Y=X*S(X*t)*(i%2*2-1)
Forest 🌳🌳🌳 dwitter.net/d/33864 #javascript #tinycode F=(X,Y,Z,A,B=0)=>Z>1&&F(X-Z*S(A),Y-Z*C(A),Z*.97,A*.97,B+1)|x.fillRect(X,Y,Z*2,Z)|B>7&&F(X,Y,Z/2,A+C(X*Y)*2) t<20&&F(t**9%3e3*t,t*t*3,t,t%.3)
Hedge Maze 🌳 dwitter.net/d/34341 #tinycode #javascript for(w=83,i=6e3;t<3&&i--;d=i**3.2*t%4<<1)x.fillRect(i%w*T-i/9,i/2-t*40-T,T=40,t?A[i]:A=[w]),A[j=i*2]&&!A[j+=d=d>2?d*w-w*5:d-1]&!A[j+d]&j%w<81?A[j]=A[j+d]=T:x.fillStyle=R(v=t<2.9?t*35:170,v*2,v/2)
Watercolor Textures 🖌️ dwitter.net/d/33833 #javascript #tinycode for(i=3e3,C(d*t)>.999?x.fillStyle=`hsl(${d**3%i} 99%${C(d)*40+40}%`:R=0;i--;)x.fillRect(i,R+t*99,.05,R+=C(i*i*++d))}{d=Date.now()
Views from the Destroyed City 🌆 dwitter.net/d/32960 #tinycode t?0:d=Date.now() for(w=i=500;i--;x.fillStyle=R(z=Z-Y*4,z-Z,Z),x.fillRect(i*4,t*240,4,4))for(a=i%w/250-1,Y=Z=b=1-t/3,X=d;++Z<230&&Y<6-S(X/9|Z/9)**8*(Z>>5)*33|X&Y-6&Z&15||b-.5&&(a=b=.5);Y-=b)X+=a;
Can you guess what this #js code does? Hint: it starts with "Smallest..." and ends with "... ever"! (and it is 794 bytes long). I'm going to create some cool demos to show its full potential, before the official release 😁 #codegolf #tinycode
Updated my #tinycode bitfield based text rendering article with #x86 code for wireframe text (as low as 52 bytes to draw a three letters string) and stylized fonts (~70 bytes) #codegolf #demoscene onirom.fr/wiki/blog/25-0…
Mountainous ⛰️ dwitter.net/d/34033 #tinycode #genart for(i=2e3;i--;x.fillRect(i,t*60,1,z/7+.5))for(z=0,j=9;--j;z+=F(Y=t*5/j-z+j,X=i/19/j)*(1-Y%1)+Y%1*F(Y+1))F=Y=>X%1*S(X^Y)+(1-X%1)*S(X-1^Y)
Something went wrong.
Something went wrong.
United States Trends
- 1. Piers 31.3K posts
- 2. Pulisic 7,570 posts
- 3. Alina Habba 14.4K posts
- 4. Wolves 90.8K posts
- 5. Chargers 16.4K posts
- 6. Cunha 15K posts
- 7. Paramount 80.4K posts
- 8. #WOLMUN 9,023 posts
- 9. Amorim 41.3K posts
- 10. Carragher 41.3K posts
- 11. Farmers 86.1K posts
- 12. Mason Mount 4,438 posts
- 13. #MUFC 15.7K posts
- 14. Jasmine Crockett 21.4K posts
- 15. Tracy Morgan N/A
- 16. Kyle 33.5K posts
- 17. Manchester United 41.6K posts
- 18. Amad 5,076 posts
- 19. Busta 1,602 posts
- 20. Jermaine Burton N/A