A Java Applet by David Anderson, Stanford '01
The Perspective Assistant is a teaching tool designed to
interactively demonstrate the basic principals of perspective
drawing through a platform independant JAVA applet. |
Project Write-Up
Furthermore, as a teaching tool, the aims of the Perspective Assistant have certain limits. Mainly, the Perspective Assistant is not intended for architectual rendering or production. The Perspective Assistant is meant to teach, not produce accurate architectual plans.
How Did I Build the Perspective Assistant?
Similarly, because the objects (classes) themselves are generic and reusable, should I choose to expand the program to incorporate new functions, or write other new teaching tools, I will be able to reuse the objects, saving time and energy.
To fix this problem, I put certain limits on the freedom the user has with the viewpoint and truncated the perspective view. By limiting the range of motion for the viewpoint, I limited the potential perspective distortion to more managable levels. Nevertheless, the the perspective drawing was still occasionally too large for the display. As such, when the drawing is too large for the display, the applet draws only the portion of the perspective view that fits on the display.
To maintain its cross-platform capability, I had to rewrite the program in a primitive version of JAVA. JAVA 1.1, is supported by most development environments and the latest web browsers. However, earlier web browsers like Netscape 3.01 only support JAVA 1.01. As such, they could not compile and run my JAVA 1.1 applet. To fix this problem, I looked up the JAVA 1.01 specifications and deprecated my function calls to meet these standards.
What Can the Perspective Assistant Do? (A User's Manual)
How Could the Perspective Assistant Be Improved?
Also, on the Apple Macintosh platform, the checkboxes often disappear after you toggle the perspective or costruction lines. This is a documented problem with the JAVA JIT compiler with Netscape for Macintosh and not a problem the Perspective Assistant. Should the checkbox disappear on your display, iconify the window, and then reopen it. This forces Netscape to redraw the applet, and the checkbox should reappear.
Found another bug? Contact David Anderson [[email protected]]