Explain yourself with reStructured Text, embedded code, graphs, charts, and LaTeX–style math.
Join Siafoo Now
or
Learn More
Nodebox Graphics State Tutorial Sample C, Rotation
| In Brief | A third Nodebox code sample from the Graphics State portion of the tutorial.... more |
| Language | Nodebox Python |
# 's
1rotate(40)
2rect(30,60,40,40)
3
4rotate(10)
5rect(30,120,40,40)
6
7rotate(10)
8rect(30,180,40,40)
9
10rotate(10)
11rect(30,240,40,40)
A third Nodebox code sample from the Graphics State portion of the tutorial.
This snippet demonstrates that Nodebox can remember the rotational aspect of the drawing state.
Add a Comment