mathematicator-core/mandelbrot-set

Mandelbrot set simple PHP Generator.


README

Integrity check codecov Latest Stable Version Latest Unstable Version License: MIT PHPStan Enabled

Simple Generator for create image of Mandelbrot set as base64 by full-configuration request.

This package was inspired by Pavol Hejný.

Mandelbrot set render

Installation

Via Composer:

composer require mathematicator-core/mandelbrot-set

Usage

Inject MandelbrotSet service to your application, create new Request and process by loadImage() method.

Mathematicator Framework tools structure

The biggest advantage is that you can choose which layer best fits your needs and start build on the top of it, immediately, without the need to create everything by yourself. Our tools are tested for bugs and tuned for performance, so you can save a significant amount of your time, money, and effort.

Framework tend to be modular as much as possible, so you should be able to create an extension on each layer and its sublayers.

Mathematicator framework layers ordered from the most concrete one to the most abstract one:

Third-party packages:

⚠️ Not guaranteed!

Contribution

Tests

All new contributions should have its unit tests in /tests directory.

Before you send a PR, please, check all tests pass.

This package uses Nette Tester. You can run tests via command:

composer test

Before PR, please run complete code check via command:

composer cs:install # only first time
composer fix # otherwise pre-commit hook can fail