dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

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

Answers to Questions

How to calculate the Koch Flake Perimeter?

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, we obtain a broken line of 4 segments: 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 increased by 4/3. The total length of this fractal curve is infinite. $$ \lim\limits_{n \to +\infty} \left( \frac43 \right)^n = +\infty $$

How to calculate the area of the Koch flake?

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

How to draw a Koch flake?

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 isoscele triangle based on the segment formed with the 2 points found

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

Ask a new question

Source code

dCode retains ownership of the source code of the script Koch Flake online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the online Koch Flake script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK