Skip to content
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

Koch Added #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Koch Added #1

wants to merge 11 commits into from

Conversation

DarkSanny
Copy link

от Александра Речкалова

Copy link

@disturm disturm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Решение рабочее, но стиль должен быть всегда.

koch.html Outdated
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
var size = 500;
var count = 5;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Похоже у тебя смесь табов и пробелов. В итоге отступы разъехались

koch.html Outdated
}

function drawKochSnowflake(context, point1, point2, point3, count){
fractal(context, point1, point2, count);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drawFractal

koch.html Outdated
return { x: center.x + (length * Math.cos(angle)), y: center.y + (length * Math.sin(angle)) };
}

function drawLineOn(canvasContext, sPoint, fPoint) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

startPoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants