Download .zip |
Info | Screenshots | View files (7) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2005-03-17 (12 years ago) | Not enough user ratings | Total: 1,003 | All time: 3,526 This week: 807 |
Version | License | Categories | ||||
mandelbrot 1.0 | GNU General Publi... | Algorithms, Graphics |
Description | Author | ||||||||||||||
This class can generate Mandelbrot and Julia fractals images using arbitary precision math using the PHP BC extension. |
|
PHP Mandelbrot Class ==================== Intro ----- A class to visualize the Mandelbrot and Julia fractals using arbitary precision math. Examples -------- Some examples provided showing basic usage. Public Methods -------------- setBounds($min_x,$max_x,$min_y,$max_y) Complex plane dimensions setBoundsAlternate($mid_x,$mid_y,$size) Complex plane dimensions setIterations($i) Maximum iterations setImageSize($i) Image size setJulia($i,$j) Julia point loadParameterFile($filename) Load parameter file save() Save image and parameter file Notes ----- Class constructor can take a true|false parameter which controls verbose mode. Verbose mode outputs current horizontal (y-axis) line that is being computed. Precision is auto-magically controlled using a hand-rolled algorithm. Precision has been tested to deep zoom levels but extreme depth requires more RAM and CPU power. Complex plane bound methods expect strings as input parameters, e.g. "2.5" No method to override colour map. If you need to then you must edit class source. Best advice for creating stunning fractals is to use a standalone fractal program for example fractint to get rough idea of complex plane dimensions or find a fractal parameter file archive and then use this class to produce high-definition images. Of course, leave your computer running for a night or two ;) 2005-03-17 ultrasine@gmail.com |
Screenshots | ||
Files |
File | Role | Description |
---|---|---|
class-mandelbrot.php | Class | Main Class |
example1.php | Example | 1st Example |
example2.php | Example | 2nd Example |
example3.php | Example | 3rd Example |
example4.php | Example | 4th Example |
readme.txt | Doc. | Read Me |
test-1.png | Output | Sample Image |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
alt.fractals Sample parameters you can test |
Benoit B. MANDELBROT The Man! R.I.P. |
Mandelbrot Set From Wikipedia, the free encyclopedia. |