© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by FB36|
I found this equation in Wikipedia page for "List of fractals by Hausdorff dimension".
The problem is how to calculate the scaling coefficients for any given IFS fractal.
You can see the heuristic I used in the code.
It gave correct values for all the fractals listed except for Centipede it gave 2.27.
I do not know its correct fractal dimension to compare though.
You can change the average size of the clusters by changing the maxIt value.
(The calculation would take longer if you increase it though.)
3d Surface fitting to N random points.
It draws the surface by converting z values to RGB colors.
Data compression via Fibonacci encoding.
Method of Exhaustion is a generalization of Archimedes Method for calculating PI.
The user can define a query expression for (almost) any CSV file.
(The first row assumed to contain column headers.)
Then the code outputs all data rows matching to the given query expression.
I did not use the Turtle graphics module of Python because this way is much faster.
It simulates reflections of a ball on a billiards table that has one or more circular obstacles.
(This can also be thought as a 2d ray-tracing.)
Most of the time the path of the ball would be chaotic (meaning, if another ball...
Shannon-Fano Data Compression.
It can compress any kind of file up to 4 GB.
(But trying to compress an already compressed file like zip, jpg etc. can produce a (slightly) larger file though. Shannon-Fano is not the best data...
It draws the central region of Apollonian Gasket fractal using IFS description.
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.