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
- Host: GitHub
- URL: https://github.com/crispy-computing-machine/fractal
- Owner: crispy-computing-machine
- Created: 2023-04-17T11:11:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-20T17:44:33.000Z (almost 3 years ago)
- Last Synced: 2025-05-22T03:08:17.857Z (10 months ago)
- Language: PHP
- Homepage:
- Size: 331 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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");