Globe Demo

By Paul Woodward

Originally published in EUG #09

Using Globe

Using this program, you can rotate a 3D object in any direction, zoom and move around the screen. The program works on co-ordinates fed into DATA statements then rotated using trigonometry to display a shape. The name Globe does not come from any sort of spherical rotation but because the Headmaster (Yes, Headmaster. I have not matriculated yet, because I am only twelve) set an Easter project to make a sponsored model of the Globe Theatre being built in London by the Thames, to help raise money for it. This is the prototype: the finished version has to be ready by April 25th.

Keys

Use the arrow keys to move up, down, left and right.
Use < and > to zoom in and out.

Now a challenge to all mathematically-minded programmers, can you update this program to remove all the hidden lines?

Tips on the Globe

P = The distance from the viewer to the picture. The smaller P is, the less perspective is shown.

The DATA should be held in the format: DATA X,Y,Z,plot code

Paul Woodward, EUG #9