Skip to content

Špatná doba kreslení #69

Open
Open
@jaklt

Description

@jaklt

Někde je chyba v počítání délky kreslení, nakreslit toto trvá u mě 25s (ikdyž je to moc pěkný).

function nuhelnik(n, delka) {
  var i = n;
  while (i > 0) {
    go(delka);
    right(360/n);
    i = i - 1;
  }
}

var i = 30;
while (i > 0) {
  nuhelnik(i+2, 200/i);
  right(12);
  i = i - 1;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions