Skip to content

A fractal generation program for linux

License

Notifications You must be signed in to change notification settings

guanchor/gnofract4d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this Program

Gnofract 4D is a program for drawing beautiful mathematically-based images known as fractals. See the manual for more details.

The most recent version may be obtained from http://github.com/fract4d/gnofract4d

Examples, screenshots etc are at http://fract4d.github.io/gnofract4d

Basic Installation

Run:

./setup.py build

If you would like a copy of the manual:

./createdocs.py

You can then run Gnofract4D in the local directory:

./gnofract4d

You can also install it:

sudo ./setup.py install

You can then run it as:

gnofract4d

Requirements

Gnofract 4D requires these packages to run:

  • Python version 3.5 or higher
  • GTK version 3.18 or higher
  • A C++ compiler (used at runtime to compile your fractal formulas)

To build from source you also need:

  • headers for libpng and libjpeg
  • Python headers
  • Pkg-Config

On Ubuntu, these can be installed with:

sudo apt-get install libpng-dev libjpeg-dev libcairo2-dev python3-dev gtk3.0 python3-cairo python3-gi-cairo pkg-config libgirepository1.0-dev

If you're not sure if you have these or not, just try running "./setup.py build" and see if it complains.

If FFmpeg is installed it will be possible to create videos.

On MacOS, you can install the dependencies using brew:

brew install librsvg python3 pkg-config cairo gtk+3 pygobject3 py3cairo libpng jpeg

Testing

Testing requires pytest for python3.x. In some distributions, 'pytest' is for python 2.x. Run

sudo pip3 install pytest

To get the latest.

Run individual tests from the top-level directory using pytest, e.g.: pytest fract4d/test_absyn.py

Optionally, install tox and test with all supported Python versions by running: tox

On MacOS you might find an error regarding the number of opened files, you can increase the system limit with ulimit -Sn 10000

About

A fractal generation program for linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 70.9%
  • C++ 11.7%
  • VBA 8.8%
  • HTML 7.7%
  • C 0.4%
  • CSS 0.2%
  • Other 0.3%