Skip to content

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

Open
CINOEA wants to merge 3 commits into
trpomoais2017:masterfrom
CINOEA:master
Open

Родин Роман#4
CINOEA wants to merge 3 commits into
trpomoais2017:masterfrom
CINOEA:master

Conversation

@CINOEA

@CINOEA CINOEA commented Mar 2, 2017

Copy link
Copy Markdown

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

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

Comment thread SnowFlake.html
</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
Copy Markdown

Choose a reason for hiding this comment

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

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

Comment thread Flake.js

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

Copy link
Copy Markdown

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