# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# Robot

This is Vincent's robot. Vincent is our 11-year old NodeBox user. Since NodeBox uses Python as its programming language, it's as easy for anyone to write scripts containing variables, for-loops and drawing commands.

The source:

    colormode(RGB, 255)

    legs=100

    fill(194,162,272)

    rect(189,51,80,100)
    rect(83,150,300, 150)
    rect(160,301,70, legs)
    rect(293,303,69, legs)
    fill(255,0,0)
    oval(201,79,14,7)
    oval(238,79,14,7)

    tooth=211

    for y in range (3):
      star(tooth,126,1.5,15,16)
      tooth = tooth +15