!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Examples

The Basics

This example shows the basic syntax of defining multiple shapes in the Mirage environment.
stacks_image_47C5DE75-707C-4A12-A257-3BD4F6834E15

Copy Groups

stacks_image_B63F1D87-7A05-4FB3-ACD9-C91FF91F449C
This example shows a more complicated series of shapes, and uses the clone functionality of the parser to duplicate the stack of spheres twice.
This example provides an environment which is interesting for testing kinematics of the robot, but would be difficult or expensive to construct in reality. Using our language, we were able to construct this environment in just a few minutes.
stacks_image_30A0D0DB-5171-408C-B923-3DB91F950678

Cool Worlds

stacks_image_B160651C-5E28-490A-B147-9DB47083E035
This example shows a more complex environment defined entirely within our language. By copying and mirroring groups of objects, we created a large environment fairly easily.
This example shows the capability of the parser to rapidly create large groups of objects in a way the user can easily specify.

The textures for the grass and buildings were custom made for this environment, which is a modification done outside of the parser.
stacks_image_88C35144-4119-407D-B1DC-46E9A685CD74

Logo Mode

stacks_image_2D82C467-0576-4A44-8FE5-C88E211C16D8
Using the turtle pen capability of our parser, we created a simple spiral shape by turning the turtle while moving the pen forward by greater and greater amounts.
We used the turtle pen mode to quickly create a maze for the Chiara robot from a sketch done on graph paper.

Because we used the turtle to draw the walls of the maze, we didn't need to worry about specifying absolute coordinates for the positions of each wall.
stacks_image_526529FD-72BD-41DB-83A8-8EB587E1C552