#tinycode resultados de búsqueda
f=0,d=200,draw=o=>{for(f||createCanvas(W=400,W),noStroke(background(0,20)),q=o=>{for(i=0;i<TAU;i+=PI/1024)r=120*cos(i+f/2),F=sqrt(2*sin(i+f+o),2*sin(o+i)),fill(W,9*F),circle(sin(i+F)*r+d,120*cos(i+F)+d,3)},k=22;k--;)q(k/TAU);f-=.015};//#つぶやきProcessing #tinycode #bw #algoart
f=0,d=200,draw=c=>{for(f||createCanvas(W=400,W),noStroke(background(0,20)),i=0;i<PI;i+=PI/256)r=99*cos(i+f/2),x=sin(i)*r+d,y=99*cos(i)+d,fill(W,150),circle(x,y,3),circle(W-x,y,3),fill(W,22),circle(W-x,W-y,3),circle(y,x,3),circle(y,W-x,3);f-=.05}//#つぶやきProcessing #tinycode #bw
#tinycode #js f=0,d=200,draw=n=>{for(f||createCanvas(W=400,W),noStroke(background(f-=.01,v=44)),S=sin,C=circle,k=v;k--;)for(i=-7;i<7;i+=.01)r=99*cos(t=atan(tan(sqrt(S(a=k+f+i)*i,f)+f)))+a*S(t+4),F=sqrt(t/r,r/W),fill(W,F*d),C(X=t*r+d+2*a,Y=S(i+F+a)*r+S(2*f+a/v)*v+d,1),C(W-X,Y,1)}
🖌️ 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
f=0,d=200,draw=o=>{for(f||createCanvas(W=400,W),noStroke(background(0,20)),q=o=>{for(i=0;i<TAU;i+=PI/1024)r=120*cos(i+f/2),F=sqrt(noise(2*sin(i+f+o),7*cos(i+f+o))+2*sin(o+i)),fill(W,9*F),circle(sin(i+F)*r+d,120*cos(i+F)+d,3)},k=4;k--;)q(k);f-=.01};//#つぶやきProcessing #tinycode
for x in range(r): for y in range(int(240/b)): X=(r/2)+int(math.sin(t/10)*r/3) Y=(r/2)+int(math.cos(t/10)*r/3) c=int(math.sqrt((x-X)*(x-X) + (y-Y)*(y-Y))) c=int(abs(0.1/(c+0.01)*5000)) lcd.rect(x*b, y*b,b,b,color=c,fillcolor=c)#tinycode
Lit Sphere 🌔 dwitter.net/d/34411 #javascript #tinycode for(r=500,i=1e4;i--;x.fillRect(960+r*X,540+r*Y,9,9))Z=i**.9%1,W=1-Z*Z,X=W*S(a=i*t),Y=W*C(a),x.fillStyle=R(v=(S(t)*Z-C(t)*X-Y/2)*400,v/2,30)
draw=_=> { s=4; n=1.0; for(y=0;y<20;y++){ for(x=0;x<20;x++){ u=x/20.0; v=y/20.0; U=(u*n)%1.0; V=(v*n)%1.0; fill(U*255,V*255,0); rect(x*s,y*s,s,s); }}} #つぶやきprocessing #tinycode #p5t #p5js #glsl MOD
t=0;b=33;w=99;F=255; I=m=> X=(G,A)=>{for(var i=m;i--;)G[1](G.slice(1),[i,A])}; v=(G,A)=>{[x,y]=A.flat();c=createVector; p=c(x,y).mult(r=w/b);c=1; c+=sin(p.x*cos(t/b)*80); c+=cos(p.y*cos(t/b)*F*80+40); fill(0,c*F,0); rect(p.x,p.y,r); } q=I(b);draw=_=>{q([0,q,v]);t++;}#tinycode
t=0;b=33;w=99;F=255; I=m=> X=(G,A)=>{for(var i=m;i--;)G[1](G.slice(1),[i,A])}; v=(G,A)=>{[x,y]=A.flat();c=createVector; p=c(x,y).mult(r=w/b); o=120/c(x,y).mult(b).sub(mouseX*r*r,mouseY*r*r).mag(); fill(0,o*F,0); rect(p.x,p.y,r);} q=I(b); draw=_=>{q([0,q,v]);t++;}//#tinycode
let B=[];draw=_=>{background(220);(mouseX!=pmouseX||mouseY!=pmouseY?B=[...B,createVector(mouseX,mouseY)].reduce((a,p)=>(circle(p.x,p.y,10),a.concat(p).slice(-30)),[]):B.reduce((_,p)=>(circle(p.x,p.y,10),_),[]));} #tinycode #つぶやきprocessing
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)
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
sea strokes #genart #tinycode #javascript #dwitter for(i=1920;i-=.25;){X=i,Y=0,f=1-t/5;if(f<0)f=0;for(w=1/f;w<385/f;w/=.6)A=(X+t*w)%w-w/2,X+=A*C(D=(1-A*A/w/w*4))+Y*S(D)-A,Y=Y*C(D)-A*S(D);x.lineTo(X,Y+w)}x.stroke(),x.beginPath(),x.globalAlpha=.1 dwitter.net/d/28040
setup=_=>{createCanvas(400,400,WEBGL);} draw=_=>{ background(255); orbitControl(); l=100;n=10; for (i=0;i<=n;i++) { a=PI*i/n; for (j=0;j<n;j++) { h=TWO_PI*j/n; x=l*sin(a)*cos(h); y=l*sin(a)*sin(h); z=l*cos(a); line(0,0,0,x,y,z); }}}#つぶやきprocessing #p5t #tinycode normal vector
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
f=0,draw=n=>{for(f||createCanvas(W=400,W),background(0,d=200),translate(d,d),i=0;i<PI;i+=PI/16384)s=99*tan(tan(i+sin(f))+f+i)+d,stroke(W,s/99+3),line(cos(sin(i*(3*sin(f)))+f+i)*d,s,sin(33*sin(i-f))*d,tan(tan(i)*sin(f/2))+d);f-=.005};//#つぶやきProcessing #tinycode #creativecode
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)
🖌️ 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
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
👨💻 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
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)
Lunar Cycle 🌗 dwitter.net/d/34421 #javascript #tinycode for(q=frame!=9,i=1e4,A=q&&C(t*=25),B=S(t);t<6&&--i;x.fillRect(960+A*800+r*X,540+r*Y-B*300,r/=9,r))r=q?t?99:i:300,Z=i**.9%1,W=1-Z*Z,X=W*S(i),Y=W*C(i),x.fillStyle=t&&R(v=(B*Z-A*X+!q*W)*800,v/3,70)
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
🚂 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...
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()
Trees, shadows, hills. dwitter.net/d/33856 #javascript #tinycode F=(X,Y,Z,A,B=0)=>Z>1&&F(X-S(A)*Z,Y+C(A)*Z,Z*.97,A*.99,B+1)|x.fillRect(t?X+Y*q:Y*9,j*89-(t?q?Y/3:Y:S(Y/9)*20),Z*2,Z)|B>9&&F(X,Y,Z/2,A+2*C(X*Y)) q=t?++i%2:i=7 i<28&&F(S(j=i>>1)*900+960,0,i,C(j)/6)
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
Canyonero 🏜️ dwitter.net/d/33860 #javascript #tinycode with(x)for(i=a=2e3,t*=60,s=.5,fillStyle=`hsl(${t?t%30+9:a} 50%${t?t/2-t%9:75}%`;i--;s*=1.01)(w=t?99-t+i%119:i)>i**4%59+9&&beginPath(fill(ellipse((i**5%a+S(t/9+i)*9)*s,(290-t)*s,w*=s,w/5,0,0,9)))
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;
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)
Lit Spheres 🎾 dwitter.net/d/34422 #javascript #tinycode for(i=2e4,A=S(t*=600)*960,r=t%150;i--;x.fillRect(960-A+r*X,t+r*Y,7,7))Z=1-i**.9%1,X=Z*S(i),Y=Z*C(i),x.fillStyle=R(v=A*X-t+t*Z-Y*400,v/5+99)
Something went wrong.
Something went wrong.
United States Trends
- 1. Jalen 70.3K posts
- 2. Eagles 113K posts
- 3. Herbert 32.3K posts
- 4. AJ Brown 9,818 posts
- 5. #BoltUp 4,478 posts
- 6. #WWERaw 47.4K posts
- 7. Saquon 11.3K posts
- 8. Sirianni 5,468 posts
- 9. Patullo 6,897 posts
- 10. #PHIvsLAC 3,739 posts
- 11. Tony Jefferson 2,914 posts
- 12. Cam Hart 1,288 posts
- 13. Cameron Dicker 1,784 posts
- 14. 4 INTs 3,322 posts
- 15. LA Knight 10K posts
- 16. Tanner McKee 1,605 posts
- 17. Jordan Davis 1,131 posts
- 18. Dotson 1,979 posts
- 19. Greg Roman 1,420 posts
- 20. Smitty 3,109 posts