Tag

recursive algorithm

1 views collected around this technical thread.

Architecture Digest
Architecture Digest
Jan 4, 2017 · Fundamentals

Drawing the Koch Curve and Koch Snowflake with ASCII Art and C Language

This article explains the mathematical construction of the Koch curve and snowflake, demonstrates how to render them using only four ASCII characters, and provides a complete C program that recursively draws these fractals on a character buffer.

C programmingKoch curveascii art
0 likes · 6 min read
Drawing the Koch Curve and Koch Snowflake with ASCII Art and C Language