This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Martin Klingensmith | |
// Flea mover | |
// 2012 | |
// | |
// | |
#include <stdio.h> | |
#include <math.h> | |
#define WIDTH 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//dec2english.c | |
#include <stdio.h> | |
void num(char s); | |
void teens(char s); | |
void tys(char s); | |
int main() | |
{ | |
char innum[15]; | |
int length = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Martin Klingensmith | |
// Fractal Fern generator. | |
// 2012 | |
// | |
// | |
#include <stdio.h> | |
#include <math.h> | |
#define WIDTH 1200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Martin Klingensmith | |
// Fractal Fern generator. | |
// 2012 | |
// | |
// | |
#include <stdio.h> | |
#include <math.h> | |
#define WIDTH 1200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Martin Klingensmith | |
// Sierpinski BMP generator. | |
// 2012 | |
// Uses crappy Bresenham line drawing. | |
// | |
#include <stdio.h> | |
#include <math.h> | |
#define WIDTH 800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
#define ld __float128 | |
ld pie(int level); | |
ld cake(int level); | |
void sho(ld a); | |
// | |
// I borrowed sho() from: |