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

Родин Роман #4

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

Conversation

CINOEA
Copy link

@CINOEA CINOEA commented Mar 2, 2017

Мой вариант решения задачи.
Инструкция:
в поле N необходимо ввести значение (обработан случай если оставить пустым)
в поле lenght of the line можно ввести длину ребра (по стандарту значение равно 200; также если оставить пустым будет взято последнее использованное значение)

ps: в решении задачи я использую внешний скрипт (библиотеку) Flake.js основной код там...

</div>
<div style="margin-top: 5px;">
<p style="display:inline-block;padding:0;margin:0;">length of the line =</p>
<input id="LL" class="register">
Copy link

Choose a reason for hiding this comment

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

Строю догадки почему LL...


function inputN() {
sky.clearRect(0,0,canvas.width,canvas.height);
if(isNaN(parseInt(document.getElementById("LL").value))==false){
Copy link

Choose a reason for hiding this comment

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

Так пишут в Индии. В России пишут !IsNaN(...)

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.

2 participants