An open API service indexing awesome lists of open source software.

https://github.com/crispy-computing-machine/fractal

PHP Fractal Classes
https://github.com/crispy-computing-machine/fractal

Last synced: 8 months ago
JSON representation

PHP Fractal Classes

Awesome Lists containing this project

README

          

# Examples

```php
$fractal = new Mandelbrot($height, $width, 100, -2, 1, -1, 1);
$fractal->createImage("mandelbrot.png");

$fractal = new Julia($height, $width, 300, -1.5, 1.5, -1.5, 1.5, -0.70176, -0.3842, 1, 0.1, 0.1);
$fractal->createImage("julia.png");

$fractal = new BurningShip($height, $width, 100, -2, 1, -2, 2);
$fractal->createImage("burning_ship.png");

$fractal = new Tree($height, $width, 11, -2, 2, -2, 2, M_PI / 4, 0.5, 1);
$fractal->createImage("tree.png");

$fractal = new Feigenbaum($height, $width, 100, 3, 4, -1, 1, 3.7);
$fractal->createImage("feigenbaum.png");

$fractal = new GoldenDragon($height, $width, 15, -2, 2, -2, 2);
$fractal->createImage("golden_dragon.png");