A fractal generator with various options for mandelbrot-, julia- and newton-sets. And a improved rendering with antialiasing.
Use the following commands to get the prerequisits (run with sudo or as root):
apt-get install git build-essential meson apt-get install libgtkmm-3.0-dev apt-get install libsoup-3.0-dev
The compile goes this way:
meson setup build -Dprefix=/usr cd build meson compile ./fract
If you decide to keep it (run with sudo or as root):
cd build meson install
- All options are shown in a context menu with the right mouse click
- To zoom just press the left mouse button and drag a rectangle for the next view
Also available a "conways game of life" implementation. With the option to use .life (1.05,1.06),.cell and .rle formated links from the web or paste cell patterns into the program.
Use msys2 choose a preferred flavor and stick to it (a bit more ist explained with genericImg):
pacman -S base-devel
pacman -S ${MINGW_PACKAGE_PREFIX}-gcc
pacman -S ${MINGW_PACKAGE_PREFIX}-meson
pacman -S ${MINGW_PACKAGE_PREFIX}-gtkmm3
pacman -S ${MINGW_PACKAGE_PREFIX}-libsoup-3.0
The compile goes this way:
meson setup build -Dprefix=${MINGW_PREFIX}
cd build
meson compile
./fract.exe
The tool that makes the following happen is:
https://github.com/wingtk/gvsbuild
There are two choices:
- Use a download:
Download Gtk-3 release from
https://github.com/wingtk/gvsbuild/releases/
Modify the env as suggested on the main page, but add:
set PKG_CONFIG_PATH=C:\GTK_INSTALL\lib\pkgconfig
Get a recent Version >= 3.14 of python from python.org.
Open a command-line, install meson:
pip install meson
For this choice, you have to remove the libsoup dependency in meson.build, comment the referenes in LifeQueryDialog, the major function will still be available.
- Second choice build it:
Bring some gigabytes of storage and hours of time.
If you want the dependencies follow the "Build GTK" lead, then
uv run gvsbuild build gtk3 uv run gvsbuild build gtkmm3
- for libsoup3 the VisualC© 2013 runtime is required download it from: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2013-vc-120 and install it
- As you probably live in free country the following workaround might not be needed:
- for libsoup3 a py executable is expected so copy in python bin directory python.exe to py.exe
uv run gvsbuild build libsoup3
The following will be true for both choices:
The meson script uses a library for the life-sources that will not work for Visual-Studio© so include the sources directly, and comment the test directory in meson.build.
Create a solution:
meson setup buildVS -Dbackend=vs2022 -Dprefix=YOUR_PREFEED_PROGRAM_LOCATION
If the build complains about the fontconfig include is missing, this is due to fact that the include directories are set for each package, but the common include is missing, edit the fract@exe.vcxproj in AdditionalIncludeDirectories add the common gvs include directory (the first listed in INCLUDE=).
