Board  0.9.4
Functions
koch.cpp File Reference

Draws a Koch fractal. More...

#include <cstdlib>
#include <ctime>
#include <iostream>
#include <fstream>
#include <cmath>
#include <vector>
#include <utility>
#include "Board.h"

Functions

void Koch (Polyline &curve, Point p1, Point p2, int depth)
 
int main (int, char *[])
 

Detailed Description

Draws a Koch fractal.

Author
Sebastien Fourey (GREYC)

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