About ads on Siafoo
Hide Siafoo is here to make coding less frustrating and to save you time. Learn More Join Siafoo

Nodebox Graphics State Tutorial Sample A, Color

In Brief: A Nodebox code sample from the Graphics State portion of the tutorial. It demonstrates Nodebox's notion of a maintained "state" -- a persistent set of remembered parameters for the programming environment.... more
Language Nodebox Python
# 's
1fill(1,0,0)
2oval(10,10,50,50)
3oval(10,70,50,50)
4oval(10,130,50,50)
5
6stroke(0)
7nofill()
8oval(10,190,50,50)
9oval(10,250,50,50)

A Nodebox code sample from the Graphics State portion of the tutorial. It demonstrates Nodebox's notion of a maintained "state" -- a persistent set of remembered parameters for the programming environment.

http://www.siafoo.net/image/83
License MIT license
Lines 8
Owner: Theodore Test
Group Owner: Nodebox Community
Viewable by Everyone
Editable by All Siafoo Users
Sponsored Links
About ads on Siafoo