JiScript - dynamic mathematical illustrationsJiScript is a package that enables programmers to create mathematical illustrations in Java by writing Python code. The guiding principle is that JiScript should make the production of high-quality Java illustrations, including animations and other interactivity, as effortless as possible. Of course, one could program directly in Java. JiScript offers at least two advantages, however. First, the graphics commands in JiScript are the same as those in Bill Casselman's PiScript, a Python package that produces PostScript figures. It is therefore possible to produce either PostScript or Java graphics using the same set of commands. Second, because JiScript programs are written in Python, they are typically much shorter and developed much more efficiently than Java programs. JiScript uses Jython, a Python interpreter written in Java, to produce Java bytecode. This means that JiScript can produce Java applets, which may be widely distributed over the Internet. Note: This package was originally called
JyScript. The
name was changed to
JiScript to reflect its close connection
with
PiScript.
Examples
Downloads The JiScript
files, including demonstrations. Installation instructions are
given below.
Documentation
A related project
PiScript,
Casselman's documentation explains the graphical component
of both PiScript and
JiScript.
Simple installations you will need
1. Unzip the file 2. Edit the registry
file in the jython installation so that the The registry is
3. Include the
Jython can be used to create Java applications and Java applets.
If the code for a Java application is in a file called, say,
David Austin (austind [at] gvsu [dot] edu)
|
||