Svojstva kornjače

     
 

Rješenja zadataka - samo za mentore

  1. setpc 2
    fd 30 rt 360/7
    fd 30 rt 360/7
    fd 30 rt 360/7
    fd 30 rt 360/7
    fd 30 rt 360/7
    fd 30 rt 360/7
    fd 30 rt 360/7
  2. Boje mogu biti različite od navedenih.
    setpc 1
    fd 30 rt 120
    setpc 3
    fd 30 rt 120
    setpc 5
    fd 30 rt 120
  3. Postavljanje svojstva kornjače slovo N
    setpc 1 setpensize [2 2] fd 30
    rt 150 fd 35 lt 150 fd 30
    Pomak i slovo I
    pu bk 30 rt 90 fd 10 lt 90 pd
    fd 30
    Pomak i slovo K
    pu bk 30 rt 90 fd 10 lt 90 pd
    fd 30 bk 15 rt 30 fd 16 bk 16 rt 120 fd 16
    Pomak i slovo A
    pu lt 60 fd 10 pd
    lt 75 fd 30 rt 150 fd 30 bk 10 rt 105 fd 10

  4. a)

    setpc 1
    setpensize [2 2]
    fd 20 pu fd 20 pd fd 20 rt 60
    fd 20 pu fd 20 pd fd 20 rt 120
    fd 20 pu fd 20 pd fd 20 rt 60
    fd 20 pu fd 20 pd fd 20 rt 120

    b)

    setpc 0
    setpensize [2 2]
    fd 10 rt 45
    setpc 1
    setpensize [2 2]
    fd 15 rt 45
    setpc 2
    setpensize [2 2]
    fd 20 rt 45
    setpc 3
    setpensize [2 2]
    fd 25 rt 45
    setpc 4
    setpensize [2 2]
    fd 30 rt 45
    setpc 5
    setpensize [2 2]
    fd 35 rt 45
    setpc 6
    setpensize [2 2]
    fd 40 rt 45
    setpc 8
    setpensize [2 2]
    fd 45 rt 45
    setpc 9
    setpensize [2 2]
    fd 50 rt 45
    setpc 10
    setpensize [2 2]
    fd 55 rt 45
    setpc 12
    setpensize [2 2]
    fd 60 rt 45
    setpc 13
    setpensize [2 2]
    fd 65 rt 45
    setpc 14
    setpensize [2 2]
    fd 70 rt 45
    setpc 15
    setpensize [2 2]
    fd 75 rt 45
    setpc 16
    setpensize [2 2]
    fd 80 rt 45
    setpc 18
    setpensize [2 2]
    fd 85 rt 45