A sample target scripting language

The graphics operation word format was inspired by a motion description language8. If there were more time available, a NIOS II CPU would have been implemented in order to parse the input and write the opwords to the graphics unit. The hardware would handle the rest and display the result on VGA.

The commands that would be immediately relevant in this circuit are described below:

Many more scripting commands can be incorporated, including, but not limited to: specifying coordinate systems whose displacement (dx, dy, dz) is relative to that coordinate system; specifying a camera angle, which can also be controlled by knobs; and generating even more shapes, such as a sphere or torus with adjustable minor and major radii.

2007-12-02