Skip to content

Eyes: full initialization (internal_eyes_init)

What it does: Initializes animated eyes with detailed configuration of dimensions, behavior and FPS.

internal_eyes_init

Inputs

  • sirka_disp: value of type Number.
  • vyska_disp: value of type Number.
  • sirka_L: value of type Number.
  • sirka_R: value of type Number.
  • vyska_L: value of type Number.
  • vyska_R: value of type Number.
  • zaobleni_L: value of type Number.
  • zaobleni_R: value of type Number.
  • vzdalenost_mezi: value of type Number.
  • Field blink: parameter selection in the block menu.
  • Field curiosity: parameter selection in the block menu.
  • Field cyclop: parameter selection in the block menu.
  • Field fps: parameter selection in the block menu.
  • Field idle: parameter selection in the block menu.

Output

  • None (statement block).

When to use it

  • When you need to precisely adjust the appearance and reactions of the eyes.
  • At the beginning of the program before other blocks internal_eyes_*.

Tips and pitfalls

  • When selecting Cyclops, the generator resets the right eye (width/height/roundness/distance).
  • Block only sets parameters; custom movement and render runs only through repeated internal_eyes_refresh.

Generated Python example

eyes = RoboEyes(fbuf, display)