Skip to content

Latest commit

 

History

History

KochSnowflake

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Koch snowflake

Usage

To use simply call the koch_snowflake function :

koch_snowflake(6)

It should display the following :

KockSnowflake6

To display the antisnowflake, use the arg "anti" :

koch_snowflake(6,anti=True)

AntiKockSnowflake6

TODO

  • Implement koch snowflake
  • Vectorize the code
  • Implement Koch antisnowflake
  • Add zoom possibility / specify region to visualization

Links

https://en.wikipedia.org/wiki/Koch_snowflake