Capture

Two Tweet Challenge in Shadertoy

by Pol Jeremias on February 23, 2015

No Comments

How big is two tweets?

If one tweet is 140 characters long, well you guessed it right, two tweets is 280 characters! Here is a sample of what two tweets could look like :

This is a sample tweet written to show how many characters can fit in the first tweet. This is a sample tweet written to show how many ch…This is a sample tweet written to show how many characters can fit in the first tweet. This is a sample tweet written to show how many ch…

So, how much content can you squeeze in 280 characters of code? This was the question asked by Shadertoy user Nimitz when he started the “Two Tweet Challenge”. The challenge received more than 100 submissions, incredible! And the results are crazy, as in crazy awesome, but before looking at some of my favorites, here are the links to the official competition and the official winners:

Contest Information
Judging Information
The Results
See all Submissions

So now, let’s take a look at how much code you can put in 280 chars. Below you can find the code to generate the shader called Metasin, which I made for the competition, this one is only 252 chars:

Metasin – https://www.shadertoy.com/view/4llGDH

void main(){vec4 q=gl_FragCoord/iResolution.xyzx; float t=iGlobalTime*0.15;for(float i=1.;i<30.;i+=1.) q.w+=1.-smoothstep(.0,.15,length(q.xy-vec2(i/30.+sin(i+t),.5+.3*sin(q.x*10.*sin(t)+t)))); gl_FragColor=vec4(1.-q.w)*4.*sqrt(q.x*q.y*(1.-q.x)*(1.-q.y));}

And here are some of the most amazing contributions, remember, these are not the official winners, they are just my favorites:

Mistery Mountains – Dave_Hoskins

NOTE: Mistery Mountains is also the official winner of the challenge!

Flying – iq

old school 3d driving – mattz

Minecraft – reinder

 

Leave a Reply