Re: quick advice sought

Kragen Sitaker (kragen@pobox.com)
Mon, 28 Jun 1999 21:19:43 -0400 (EDT)


Joe Touch asks:
> I'm looking for a fairly high-level language for putting graphics up
> in a Web browser window. I.e., the level of Logo's turtle-graphics,
> preferably without the pain of needing a full-blown compiler.

Do you mean client-side or server-side?

Tcl/Tk runs in the Tcl Plugin, which I think is available from
Scriptics.com, although I haven't played with it since it was available
from sunscript.sun.com. The Tk canvas widget is almost as high-level
as Logo, Tcl is a very similar language to Logo, and the canvas widget
has the advantage of having a better imaging model than Logo's.

On the server side, Thomas Boutell's gd library will generate .gifs for
you, and includes commands to draw lines. There are bindings to gd for
just about everything, including Perl, Tcl, Python, and Scheme.
(Bindings are included with the SIOD distribution, in fact.)

HTH.

Kragen (who keeps thinking of the Shania Twain song:
So you've got the grants, but have you got Joe Touch?
Don't get me wrong, yeah, I think you're all right
But that won't keep my net up in the middle of the night
. . . whenever he sees Joe's name)

-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
According to my medieval text in the seventh century a finalizer raised a
dead object named Gorth who infected every computer in Cappidocia ending
Roman rule in the region.  -- Charles Fiterman on gclist@iecc.com