u5ele55 / sfml-circle-recursion

C++ & SFML program which generates fractal that consists of circles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sfml-circle-recursion

C++ & SFML program which generates fractal that consists of circles

You can change resulting picture by modifying constants in Source.cpp file

const int WINDOW_WIDTH = 720;
const int WINDOW_HEIGHT = 640;

const int RECURSION_LEVEL = 3;
const int CIRCLE_QUANTITY = 6;

const double BASE_RADIUS = 128;
const double BASE_CIRCLE_THICKNESS = 4;
const double RADIUS_DECREMENT = 0.5;

const Color BACKGROUND_COLOR = Color::Black;
const Vector3f BASE_CIRCLE_COLOR = { 255, 0, 150 };

Results

About

C++ & SFML program which generates fractal that consists of circles


Languages

Language:C++ 100.0%