1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Reference | star()


Syntax
star(x, y, points=20, outer=100, inner=50, draw=True)

DescriptionDraws a star to the screen. The first two parameters set the location, measured from the star's center. There are three optional parameters that set the number of points, the outer radius and the inner radius (the fill radius).
ReturnsBezierPath containing the star
Tutorial Primitives, Paths


Example
fill(0.2)
star(50, 50, 9, 40, 10)