Simple Phigs in Javascript

Introduction

Simple PHIGS emulation is presented for use in Javascript language. Javascript itself has no drawing capabilities. LiveConnect connection between Javascript and Java applet is used for all calls from Javascript to Java canvas. Simple drawing examples were tested an converted from PHIGS tutorial. Examine the following examples and try to figure out how the code works.

Currently implement PHIGS functions can be found in phigs.js file.

Examples

Download

This package is available via HTTP or via FTP

BUGS

Many functions not implemented. If Java is not loaded into your browser function onLoad will not work. Try refresh.

Author

Leon Kos
Last modified: Thu Dec 3 10:42:41 CET 1998