Most nodes have example scenes named example.yg where example is the name of the node.
All example scenes are located in the scenes directory of the Ygdrasil installation directory (usually /usr/local/yg/data/scenes).
ygNode.yg
This example diagrams the basic node syntax and demonstrates fundamental concepts such as message passsing and events
example1.yg
This example demonstrates using the pointAtTrigger and the timer node to create a spinning banana
example2.yg
This example demonstrates using the wandTrigger, sound, and CAVENavigator nodes
userWithArm.yg
This example demonstrates using the pointAtNode and the distance node to create an articulated arm for the user avatar
userWithLegs.yg
This example demonstrates using the moveToNode, the distance node, and timers to create an articulated legs for the user avatar
userMirror.yg
This example demonstrates using the userPosition node and the interpolate node to create a distorted image of the the user avatar
userVelocity.yg
This example demonstrates using the add, multiply, and mathematics nodes to calculate the user velocity
pathSelector.yg
This example demonstrates using the boolean, and, or, and nodeTrigger nodes to create a user puzzle
applyScale.yg
This example demonstrates using the applyTexture node and interpolate node to map an "X" on a texture
spatialized.yg
This example demonstrates most of the sound nodes
stencilMirror.yg
This example demonstrates how to use the reflection and stencilBuffer nodes to create a mirror