Board
0.9.2
|
Draws a Koch fractal. More...
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <fstream>
#include <cmath>
#include <vector>
#include <utility>
#include "Board.h"
Functions | |
int | coordinate (int width) |
void | Koch (ShapeList &board, const Color &color, Point p1, Point p2, int depth) |
int | main (int, char *[]) |
Variables | |
const double | dy = 10 |
Draws a Koch fractal.
This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey http://foureys.users.greyc.fr