Change language: Eesti keeles

SWOG is a language to draw pictures programmatically

Getting started documentation SWOG reference manual

Latest version: 1.1pre37
Download the latest version
Change history

The original SWOG is written in Perl, but is is also possible to use the Java version!

You can always ask for help: jaanus_hansen is my MSN address start (before @hotmail.com)
Animation example
SWOG code:
html clickmap imageCommands used to get the animation:
readObjects('ani.swog');
output_raw_gifanim('/tmp/')


Or for fast mode use:
buf_gifanim('/tmp/');
readObjects('ani.swog');
output_raw_gifanim();
HTML clickmap example
You can click on clickable regions.
SVG (Scalable Vector Graphics) example
To create SVG, You need Perl module XML::Writer
To see SVG, You need a viewer, for example Adobe SVG Viewer

Server-side click processing example
Click on an object and SWOG tells what was hit.


You can type new SWOG code here:


Default SWOG code