License MIT license
Lines 8
Included in this Library
Permissions
Owner: Theodore Test
Group Owner: Nodebox Community
Viewable by Everyone
Editable by All Siafoo Users
Hide
Easily highlight source code for your blog with our Syntax Highlighter. Join Siafoo Now or Learn More

Nodebox Graphics State Tutorial Sample A, Color Atom Feed 0

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
# '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