Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 973 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 973 Bytes

Fractal Flames

This is an implementation of the fractal flames algorithm by Scott Draves. The actual logic is header-only and is intended to be usable as a library that asynchronously generates fractal flame images. There is also an executable that will generate fractal flame images and write them to disk.

Here is an example generated image: Example Generated Fractal Flame Image

It spawns its own threads and operates asynchronously, generating images and writing the output frames to a shared thread safe buffer that the caller registers (see main.cpp for an example).

Dependencies

  • docker

Setup

To build the image:

bash script/build

Testing

To run tests:

bash script/test

Running

To generate some fractal flame images in a directory called generated:

bash script/run generated

To see the possible configurable parameters:

docker run -it --rm fflames:latest