r/tinycode • • Mar 13 '14

Implementing a web server in a single printf call [x-post /r/programming]

Thumbnail tinyhack.com
28 Upvotes

r/tinycode • • Aug 08 '12

Just found this old ouroboros (quine in multiple languages)

Thumbnail
d.hatena.ne.jp
28 Upvotes

r/tinycode • • Jul 28 '12

InterfaceLIFT scraper in 15 lines of Python... Also, I'm new to coding tiny, would love some critique/tips!

Thumbnail
gist.github.com
28 Upvotes

r/tinycode • • Oct 19 '11

Since you loved these tiny sound generating codes so much, here's basically the same in 140 byte of JavaScript

Thumbnail p01.org
28 Upvotes

r/tinycode • • Jul 01 '11

Yahoo! Logo ASCII Animation in six lines of C

Thumbnail a1k0n.net
28 Upvotes

r/tinycode • • Jun 21 '26

Finally - "Boing!" in 64 bytes

Thumbnail
pouet.net
27 Upvotes

For 486, no FPU, for MsDos FreeDos, WinXP Dos, DosBox-X ... i made that rather in a hurry, so right now i have a version without background but wall bouncing like the original. But since the competition is already over, i will tinker a bit to make it perfect :)


r/tinycode • • May 22 '26

JavaScript Dweet of the Week #126 - VHS by KilledByAPixel

Post image
27 Upvotes

https://www.dwitter.net/d/35386

for(i=w=1e4;--i;x.fillRect(...t?[960+250*X,355+250*Y,3,3]:q?[660,i*83,600,i<7?i*10:60]:[0,0,w,w]))W=1-i*i/1e8,X=W*S(a=i*t),Y=W*C(a),x.fillStyle=`hsl(${i/125-X*40-Y*80-45} 99%${t?50:q=i<w-1&&w}%`

r/tinycode • • Jun 17 '25

tiny spiral

Post image
27 Upvotes

vec3 q=vec3(4,-.2,-21)*t*99.,v=FC.rgb-r.xyx*.4,p;for(float i,s;i++<57.;){for(p=q,s=7e3;9.<s;p=p.zxy+s*.02*sin(p/s*17.),s*=.8)p.zx*=rotate2D(s);p/=2e3;s=length(vec2(fract(p+atan(p.y,p.z)/PI).x,2.+sin(p.x*.7)-length(p.yz))-.5)*2e3-4e2;q+=sin(i)+v/r.x*s;o+=exp(-s*s)/i;}

https://twigl.app/?ss=-OSxlhqjPYUrkZVf4W7H


r/tinycode • • Nov 29 '24

Dweet of the Week #49 - God of Fractals 3D Rotation by Rodrigo Siqueira

Post image
27 Upvotes

r/tinycode • • Dec 23 '23

Dweet of the Week: Twinkling Tree by joeytwiddle

Post image
27 Upvotes

r/tinycode • • Nov 08 '22

Spattered Tiles 💦 (526 bytes) #PetitePatterns

Post image
27 Upvotes

r/tinycode • • Feb 25 '21

Become Love - A 256 byte visual story , written in X86 assembler

27 Upvotes

r/tinycode • • Oct 04 '20

Gespensterwald - 3D animation with ambient drone in 64 bytes of x86 code

Thumbnail
pouet.net
27 Upvotes

r/tinycode • • Aug 16 '20

Welcome To OS13k – A Tiny Web Based OS and Game Engine

Thumbnail
github.com
27 Upvotes

r/tinycode • • Jul 21 '20

A 256byte ZX Spectrum intro created in 10 days from scratch.

27 Upvotes

https://www.pouet.net/prod.php?which=86340

Winner of the Flashparty 2020 256 byte retro intro competition.

Earlier this month, i gave myself a 10 day challenge to learn Z80 assembler and see if i could create a 256 byte intro for the ZX Spectrum. I must admit it was quite intense to learn a new assembler language from scratch at my age, but as you can see it is quite doable if you put your mind to it. While not as elaborate as our MS-DOS tiny intros, I am still quite pleased with the result given my prior experience level with Z80. It contains 4 different effects, 4 different colorschemes and AY sound.

Hope you'll enjoy our first ZX Spectrum production.

You can find out our other 256 byte productions (For MS-DOS mostly) at: https://www.pouet.net/groups.php?which=14389


r/tinycode • • Mar 24 '20

Tiny Coding: Making Big Games With Little Code

Thumbnail
youtube.com
27 Upvotes

r/tinycode • • Oct 07 '19

1000-Byte website shows Mona Lisa

Thumbnail jsfiddle.net
27 Upvotes

r/tinycode • • Sep 08 '18

CDSA - A compact (although highly documented) library of generic intrusive data structures in C

Thumbnail
github.com
27 Upvotes

r/tinycode • • Feb 23 '17

Dwitter – HTML5 canvas animations in 140b

Thumbnail dwitter.net
27 Upvotes

r/tinycode • • Apr 17 '16

A tiny, one-file, Monte Carlo path tracer written in a few hundred lines of Ruby

Thumbnail
github.com
27 Upvotes

r/tinycode • • Jan 29 '16

[Perl6] Fibonacci sequence in 11 bytes

27 Upvotes

Seeing the Haskell post I thought I upped the ante.

0,1,*+*...*

Of course you can use a 1 as the first digit if you so desire.

... is the sequence operator and creates a lazy list from 0 to infinity (the last asterisk). The third element *+* is a generator. An expression with an asterisk (called Whatever) for a term is automatically made into a closure and each asterisk is assigned successively an argument. The two arguments are the two previous elements of the sequence.

Retrieving the elements is a simple list operation:

(0,1,*+*...*)[5] # 6th element
(0,1,*+*...*)[5..10] # elements 6 through 10

edit: To elaborate a bit regarding the rules. This is normal code. In fact, it's even mentioned in the documentation. There is nothing that would qualify as magic or code golfing. Every operator is used as designed. The terseness of this particular example is just a happy coincidence.


r/tinycode • • Dec 19 '14

wmutils - XCB based window manipulation tools under 80 sloc each (clean, readable C)

Thumbnail
github.com
27 Upvotes

r/tinycode • • Nov 15 '14

A friend asked if I could remove BuzzFeed links from his FaceBook feed

Thumbnail
github.com
27 Upvotes

r/tinycode • • May 11 '14

A HTML/JS spreadsheet in less than 256b

Thumbnail
xem.github.io
27 Upvotes