Tools to calculate the area and perimeter of the Koch flake (or Koch curve), the curve representing a fractal snowflake from Koch.

Koch Flake - dCode

Tag(s) : Geometry

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

The length of the border of the flake is infinite. At each iteration, a border of length 1 become 4/3.

Starting from a straight line segment divided by 3, a broken line of 4 segments os obtained: the length is therefore increased by 4/3 (increase of 33%).

__Example:__ After 2 iterations, a line of initial length $ l $ has a new length of $ l \times \frac43 \times \frac43 = l \times \frac{16}{9} $.

If the number of iterations is infinite, the length is infinitely times increased by 4/3. The total length of this fractal curve is infinite.

$$ \lim\limits_{n \to +\infty} \left( \frac43 \right)^n = +\infty $$

The area of the flake is finite and equals $ 8/5 $ of the area of the initial triangle.

For a side of the triangle $ a $, the final area of the flake is $ \frac{2a^2\sqrt{3}}{5} $

The algorithm is as follows:

0 - Draw an isosceles triangle and for each side (segment)

1 - Calculate the points at 1/3 and 2/3 of the segment

2 - Draw the isosceles triangle based on the segment formed with the 2 points found

3 - Remove the base of this new triangle

4 - Repeat from step 1 for each segment of the new figure

Mathematically speaking, the final drawing is called the Koch curve, and its base is a set of Cantor.

dCode retains ownership of the "Koch Flake" source code. Except explicit open source licence (indicated Creative Commons / free), the "Koch Flake" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Koch Flake" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Koch Flake" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!

Reminder : dCode is free to use.

The copy-paste of the page "Koch Flake" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!

Exporting results as a .csv or .txt file is free by clicking on the *export* icon

Cite as source (bibliography):

*Koch Flake* on dCode.fr [online website], retrieved on 2024-09-10,

koch,flake,fractal,curve,snowflake,snow,cantor,area

https://www.dcode.fr/koch-flake

© 2024 dCode — El 'kit de herramientas' definitivo para resolver todos los juegos/acertijos/geocaching/CTF.

Feedback