Skip to content

updated README #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ We are glad to partner with IIT Kharagpur as a part of the Kharagpur Winter of C
* [Inception Tic-Tac-Toe](https://github.com/prateekiiest/Code-Sleep-Python#inception-tic-tac-toe)
* [Sprint](https://github.com/prateekiiest/Code-Sleep-Python#sprint)
* [Floating Text](#floating-text)
* [Koch Curve](https://github.com/prateekiiest/Code-Sleep-Python#Koch-Curve)

----------------------------------

Expand Down Expand Up @@ -193,6 +194,18 @@ Floating Text is a simple program which displays a given String as a floating st

----------------------------------------------------

### Koch Curve

A Fractal is geometrical figure, each part of which has the same statistical character as the whole. Koch Curve (also known as the **Koch snowflake**) is a mathematical fractal curve constructed recursively using an equilateral triangle (See figure). The progression for the area of the snowflake converges to 1.6 times the area of the original triangle, while the progression for the snowflake's perimeter diverges to infinity. Consequently, the snowflake has a finite area bounded by an infinitely long line. **[more info](https://en.wikipedia.org/wiki/Koch_snowflake)**

This program traces out a 4 level Koch curve.

![](https://upload.wikimedia.org/wikipedia/commons/f/fd/Von_Koch_curve.gif)

**[CODE](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/Koch%20Curve/koch%20curve.py)**

----------------------------------------------------

## Getting started with Python

New to Python? No problem! Take a look at the following resources:
Expand Down