Skip to content

A simulation of Koch snowflake, powered by Processing using Java as programming language

Notifications You must be signed in to change notification settings

NicolasLopes7/Fractal-Koch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Koch snowflake

A simulation of Koch snowflake, powered by Processing using Java as programming language.

Line segmentation
The algorithm divides a straight line segment into 3 parts, being the middle part in two more. After this, rotates this parts in -(PI/3 RAD) or (-60°), thus, forming an equilateral triangle, this functions grows in (4/3)^x, after the third stage, the figure looks like a snowflake.

To look like a snowflake, it's necessary start with 3 segments, forming a triangule.

Generating the 3 segments

Generating the 3 segments

Creating the snowflake

Creating the snowflake

About

A simulation of Koch snowflake, powered by Processing using Java as programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published