Tags / Feed
7 public artworks tagged #c, from Mastodon.
![C source code of the ASCII stereogram generator. #include #include int main(void) { char *aktzeile, *auszeile, *dummy; char c; int spalten, amplitude, i, j, k, ebene; scanf("%d %d\n", &spalten, &litude); aktzeile = (char*) malloc(2*spalten*sizeof(char)+1); auszeile = (char*) malloc(2*spalten*sizeof(char)+1); k=0; while ( (c=getchar()) != EOF ) { ungetc(c, stdin); j=0; fgets(aktzeile, spalten, stdin); scanf("%s\n", &dummy); for (i=0; i'9')? 0 : ((int) aktzeile[j]-'0'); auszeile[j+amplitude] = auszeile[j+ebene]; } auszeile[spalten+amplitude] = (char) 0; printf("%s\n", auszeile); } return 0; }](https://cdn.masto.host/swisssocial/media_attachments/files/116/573/465/584/697/010/original/dbd2ec74bfc0221f.jpeg)
Found this old gem when walking through a pile of old papers. It generates an #ASCII #Stereogram from an input file. Stereograms used to be a big thing decades β¦
Posted by paulfoerster@swiss.social
prompt: particle collision system / no randomness or noiseproject: genuary27 / genuary21grid: 75x37font size: 29x14.5colors: tokyo-nightfont: ToshibaSat_8x16.ttβ¦
Posted by tomash_ghz@mastodon.social

π§΅ Part 1I downloaded #ASCIIBrot, a #Mandelbrot image generation tool for the #Linux text consolei written in #C. It allows navigation, zooming in and out, compβ¦
Posted by paulfoerster@swiss.social
rewrote stak so its (slightly) less disgustingadded my own .wav decoder, which i am very surprised worksstill need to think about how i want multichannel audio β¦
Posted by mostlypat@mastodon.social

bsddialog #preview :flan_hacker:β #coding #FreeBSD #opensource #scripting #ncurses #c #terminal #asciiart
Posted by alfonsosiciliano@bsd.network

bsddialog #preview :flan_hacker:β #coding #FreeBSD #opensource #scripting #ncurses #c #terminal #asciiart
Posted by alfonsosiciliano@bsd.network

#WIP #themes π¨β ποΈβ:flan_hurrah:β% bsddialog "Hello Style!" :flan_laugh:β#coding #FreeBSD #opensource #scripting #ncurses #c #terminal #asciiart
Posted by alfonsosiciliano@bsd.network
End of feed Β· no more posts