r/tinycode • • Oct 12 '22

[Python] Prime number checker (97 bytes)

Thumbnail self.codegolf
16 Upvotes

r/tinycode • • Oct 11 '22

[Python] My take on the dogAgeYears thingy (82 bytes)

Thumbnail self.codegolf
16 Upvotes

r/tinycode • • Oct 03 '22

American Psycho's new business card in 1337 bytes

Thumbnail
youtube.com
25 Upvotes

r/tinycode • • Sep 19 '22

[Unity/C#] Movement system with jumping and ground detection in 307 bytes (or 288)

Thumbnail self.codegolf
6 Upvotes

r/tinycode • • Sep 16 '22

vermin_vm: Virtual Machine(~400 lines) + Assembler(~800 lines) written in C

Thumbnail
github.com
26 Upvotes

r/tinycode • • Sep 13 '22

[Assembly] Sierpinski's Gasket in 94 bytes, program in comments

54 Upvotes

r/tinycode • • Sep 11 '22

"Veritas" - TAS like visuals and Drum 'n' Bass in 256 bytes

Thumbnail
self.demoscene
21 Upvotes

r/tinycode • • Sep 07 '22

Infinite Freeze-Melt 🧊 cycles in SVG, 577 bytes, link in comment

29 Upvotes

r/tinycode • • Sep 03 '22

Made a couple of themes for my static site generator (mkws)

Thumbnail t.mkws.sh
13 Upvotes

r/tinycode • • Aug 31 '22

Minimalistic Data Structure Sketches

Thumbnail
okso.app
9 Upvotes

r/tinycode • • Aug 20 '22

[Python] Worley Noise generator in 236 bytes

Thumbnail self.codegolf
13 Upvotes

r/tinycode • • Aug 18 '22

Levy Dragon Animation in 32 bytes (x86)

21 Upvotes

r/tinycode • • Aug 05 '22

Tiny Forth (0.5KB) on LC-3 + VM/ASM in a few lines of C

Thumbnail
github.com
18 Upvotes

r/tinycode • • Aug 02 '22

epyt: a typing game in 1K of JS (JS1024 2022 winner in canvas2d category)

Thumbnail js1024.fun
15 Upvotes

r/tinycode • • Jul 29 '22

Game I Made a Multiplayer Game in Microsoft Word

Thumbnail
youtu.be
15 Upvotes

r/tinycode • • Jul 28 '22

Patrick Bateman's business card flame fractal in 1337 bytes

25 Upvotes
#include <stdlib.h>
#include <math.h>//gcc -o c c.c -lm;./c>c.ppm
typedef float f;typedef int d;d R=600,C=1050;
f z(f x,f o){return fmod(fmod(x,o)+o,o);}f o=
1/22.,p=.04,H=.5,V=.25,Z=1.5,e=.07,b=.14;main
(){printf("P6 %i 600 255 ",C);f (*q)[C];q=
malloc(4*R*C);f I[25][6]={{0,-b,b,0,-3,1},{
0,-b,p,0,-2,Z},{e,0,0,b,-3,2},{e,0,0,b,-3,1},
{p,-b,b,p,-1,1},{p,b,-b,p,-H,Z},{p,0,0,b,-1,1
},{b,0,0,b,1,2},{0,-b,b,0,Z,1},{0,-b,b,0,3,1,
o},{0,-b,p,0,4,Z},{e,0,0,b,3,2},{e,0,0,b,3,1}
,{b,p,-p,b,3,1},{0,-b,b,0,5,1},{e,0,0,b,7,2},
{e,0,0,b,7,H},{0,-b,b,0,7,1},{0,-b,b,0,9,1},{
e,-p,e,b,9,Z},{e,b,-e,b,9,1}},J[25][6]={{0,-b
,b,0,-3,1},{e,0,0,b,-3,1},{e,0,0,b,-3,V},{0,-
b,p,0,-2,H},{p,-b,b,p,-1,1},{p,b,-b,p,-H,Z},{
p,0,0,b,-1,1},{b,0,0,b,1,2},{0,-b,b,0,Z,1},{e
,0,0,b,3,2},{e,0,0,b,3,H},{0,-b,b,0,3,1},{p,0
,0,b,3,1},{0,-b,b,0,5,1},{0,-b,b,0,6.5,1},{p,
-b,p,p,6,Z},{p,b,-b,p,5,2},{p,-b,b,p,7,1},{p,
b,-b,p,7.5,Z},{p,0,0,b,7,1},{0,-b,b,0,9,1},{0
,-b,b,0,9.9,1},{p,b,-b,p,9,Z}};d S=22;f t=H,s
=H,Y=H,X=-b,L=R*C;for(d i=2*L;i--;){if(i==L){
o=p;memcpy(&I,&J,R);S=25;Y=0;}f a=(f)rand()/
RAND_MAX;f P=0;for(d z=S;z--;){P+=o;if(a<P){f
 G=t*I[z][0]+s*I[z][1]+I[z][4];s=t*I[z][2]+s*
I[z][3]+I[z][5];t=G;break;}}d W=(d)(z((s*b+Y)
,1)*R);d B=(d)(z(1.7-t*e,1)*C);q[W][B]=1;}for
(d x=R;x--;){for(d y=C;y--;){d E=(d)((1-q[x][
y])*255);printf("%c%c%c",E,E,E);}}}

r/tinycode • • Jul 15 '22

drama.tic - a 256 byte intro for TIC-80, 2nd place at Shadow Party 2022 (little surprise inside ;))

Thumbnail
youtu.be
32 Upvotes

r/tinycode • • Jul 14 '22

U1KE - A 1 Kilobyte Ukulele in JavaScript

Thumbnail js1024.fun
23 Upvotes

r/tinycode • • Jul 12 '22

Game I Made an RPG in Excel

Thumbnail
youtu.be
18 Upvotes

r/tinycode • • Jul 02 '22

1920x1080, 60fps game of life in 40 lines of pure python

Thumbnail
github.com
41 Upvotes

r/tinycode • • Jun 15 '22

Tiny observer for the attributes of Python objects.

16 Upvotes

Hello everyone,

I am developing Python projects with large code bases. In hundreds of rows, the attributes of objects are assigned, deleted, and many properties are accessed. Most of the time, it's hard to understand them in the spaghetti code base. To make this easier, I have developed a small python library.

I know it's not very advanced. But I think it would be better with your opinions and suggestions :)

https://github.com/furkanonder/objerve


r/tinycode • • Jun 02 '22

Incoming Transmission 64 B - a 64 byte intro for DOS(Box), tuned to specific CPU speed

Thumbnail
youtu.be
25 Upvotes

r/tinycode • • May 29 '22

melo.tic - a 256 byte intro with simple voice generation and melody for the TIC-80 fantasy console

Thumbnail
youtu.be
30 Upvotes