A simple fractal visualizer made with SFML, GLSL and ImGui
This version was tested with the Mingw32 C++ compiler , SFML 2.6.1, ImGui 1.90.2 and ImGui-sfml 2.6
-
Install
mingw32
and don't forget to a add it to the PATH variable -
Download the SFML library, make sure to select the
MinGW (DW2) - 32-bit
version -
Clone the ImGui and ImGui-SFML repositories
- Clone this repository and get inside it
- Create the
lib
, andimgui
folders into theFractals
folder - Extract the previously downloaded files
Copy the sfml dll to lib- Copy the
include
andbin
fromSFML-2.6.1
into theFractals
folder - Copy all the
.cpp
and.h
files fromimgui-master
exceptimgui_demo.cpp
into theimgui
folder - Same for
imgui-sfml-2.6.x
- Edit the
imconfig.h
file in the imgui folder by adding the line#include "imconfig-SFML.h"
after the#pragma once
line - And then get into your favorite Command line tool, move into the
Fractals
folder and typemingw32-make
- Enjoy
- Zoom and movement control
- Random Colors
- Burning ship fractal
- Newton fractal