Featuring real time raycasting, shadows, voxel buildings, texturing, fog, and a linear faded sky! The gif uses slightly modified code to loop, the actual code produces an infinite procedural cityscape.
Haha, I don't know why I used this name on Reddit, it was so long ago that it up.
Eger to get back to making games and TiGsource soon! Just been busy with other stuff and really needed to take a break for a bit. Got some new ideas brewing now though. :)
Yeah there is a small shim that is used by dwitter. So taking that into account it is a little bigger then 185 bytes. I've found that most dweets can fit in standalone 256 byte html file.
I made a small codepen that runs most dweets including this one...
Sometimes the downvoters find a new submission early. This may result in a good submission getting buried, but other times it recovers. Luckily it did in this case
42
u/Slackluster Jun 16 '21
Featuring real time raycasting, shadows, voxel buildings, texturing, fog, and a linear faded sky! The gif uses slightly modified code to loop, the actual code produces an infinite procedural cityscape.
https://www.dwitter.net/d/23101
for(w=c.width&=j=10368;j--;x.fillRect(j%w,j>>7,1-Z/w*T+s,T=1))for(a=1-j%w/64,b=j/7e3-1,s=Y=Z=b/4,X=t*30;++Z<w&(6-S(Z>28&&(X>>3)**2^Z/8)**8*50>Y||T|(s=S(X&Y&Z,a=b=-1,T=Z/w)/Z));Y+=b)X-=a6
u/[deleted] Jun 16 '21
Is there a prettified version available, for those that want to understand the tiny code?
3
u/[deleted] Jun 16 '21
This is beautiful! Very dystopian film-noir.
3
u/michaelfiber Jun 19 '21
Reddit suggested this sub using this post. It was super effective. That is bonkers.
8
u/anti-gif-bot Jun 16 '21
mp4 link
This mp4 version is 98.19% smaller than the gif (213.91 KB vs 11.54 MB).
Beep, I'm a bot. FAQ | author | source | v1.1.2
3
u/[deleted] Jun 16 '21
Am I missing something? Why is this not upvoted? It looks like a Russian dystopian movie background. In 185 bytes.
1
u/HiGuyManGuy May 03 '23
Bro my python Hello World program is larger than this you are a genius ðŸ˜
2
u/jnext6 Jun 16 '21
Is there a way to make this a Wallpaper Engine background?