Making docs for Magic tools easier to maintain via PHPification.

This commit is contained in:
William Kendrick 2009-04-29 05:59:07 +00:00
parent 0307da004c
commit 238fb1f796
64 changed files with 582 additions and 623 deletions

View file

@ -1,10 +1,10 @@
# Tux Paint - A simple drawing program for children.
# Copyright (c) 2002-2008 by Bill Kendrick and others
# Copyright (c) 2002-2009 by Bill Kendrick and others
# bill@newbreedsoftware.com
# http://www.tuxpaint.org/
# June 14, 2002 - January 2, 2009
# June 14, 2002 - April 28, 2009
# The version number, for release:
@ -793,7 +793,7 @@ install-doc:
@install -d $(DOC_PREFIX)
@cp -R docs/* $(DOC_PREFIX)
@cp -R magic/magic-docs $(DOC_PREFIX)
@chmod a=rX,g=rX,u=rwX $(DOC_PREFIX)
@chmod -R a=rX,g=rX,u=rwX $(DOC_PREFIX)
# Install the man page:

View file

@ -636,7 +636,6 @@ $Id$
* Support / Testers
Tux4Kids.org, Sam Hart (Tux4Kids project manager)
Many others in the community! (Testing, bug fixes, comments, kudos)

View file

@ -8,7 +8,7 @@ http://www.tuxpaint.org/
$Id$
2009.April.23 (0.9.21)
2009.April.28 (0.9.21)
* New Starters:
-------------
* Silver Frame
@ -113,6 +113,10 @@ $Id$
---------------------------
* Corrected location of config files for Mac OS X in OPTIONS docs.
* HTML documentation files for the various Magic tools are now
generated using a PHP script. Tool details are stored in a PHP array
(which is easier-to-edit than individual HTML files).
* Other Improvements:
-------------------
* Starter images no longer need to be created with alpha transparency.

View file

@ -17,15 +17,16 @@ version
</h1>
<h3>A simple drawing program for children</h3>
<p>Copyright 2002-2008 by Bill Kendrick and others<br>
New Breed Software</p>
<p>Copyright 2002-2009 by Bill Kendrick and others<br>
<a href="http://www.newbreedsoftware.com/">New Breed Software &amp;
<a href="http://tux4kids.alioth.debian.org/">Tux4Kids</a></p>
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a></p>
<p>June 14, 2002 -
October 29, 2008</p>
April 28, 2009</p>
</center>

View file

@ -1,4 +1,7 @@
Tux Paint "Magic" Tool: Blocks
By Bill Kendrick <bill@newbreedsoftware.com>
Albert Cahalan <albert@users.sf.net>
This makes the picture blocky looking ("pixelated") wherever you drag the
mouse.

View file

@ -1,5 +1,6 @@
Tux Paint "Magic" Tool: Blur
This makes the picture fuzzy wherever you drag the mouse.
By Bill Kendrick <bill@newbreedsoftware.com>
Albert Cahalan <albert@users.sf.net>
See also: Smudge.
This makes the picture fuzzy wherever you drag the mouse.

View file

@ -1,5 +1,7 @@
Tux Paint "Magic" Tool: Bricks
By Albert Cahalan <albert@users.sf.net>
These two tools intelligently paint large and small brick patterns on the
canvas. The bricks can be tinted various redish hues by selecting
different colors in the color palette.

View file

@ -1,3 +1,6 @@
Tux Paint "Magic" Tool: Calligraphy
This paints on the canvas with a calligraphy pen.
By Bill Kendrick <bill@newbreedsoftware.com>
This paints on the canvas with a calligraphy pen. The quicker you move,
the thinner the lines.

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Cartoon
This makes the picture look like a cartoon -- with thick outlines and
bright, solid colors -- wherever you move the mouse.
By Bill Kendrick <bill@newbreedsoftware.com>
This makes the picture look like a cartoon - with thick outlines and
bright, solid colors - wherever you move the mouse.

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Chalk
By Bill Kendrick <bill@newbreedsoftware.com>
This makes parts of the picture (where you move the mouse) look like a
chalk drawing.

View file

@ -1,6 +1,8 @@
Tux Paint "Magic" Tool: Darken
By Bill Kendrick <bill@newbreedsoftware.com>
This dakrens the colors wherever you drag the mouse. (Do it to the same
spot many times, and it will eventually become black.)
See also: Darken and Tint.
See also: Fade Tint

View file

@ -0,0 +1,5 @@
Tux Paint "Magic" Tool: Distortion
By Bill Kendrick <bill@newbreedsoftware.com>
This slightly distorts the picture wherever you move the mouse.

View file

@ -1,3 +1,5 @@
Tux Paint "Magic" Tool: Drip
By Bill Kendrick <bill@newbreedsoftware.com>
This makes the paint "drip" wherever you move the mouse.

View file

@ -1,5 +1,7 @@
Tux Paint "Magic" Tool: Emboss
By Bill Kendrick <bill@newbreedsoftware.com>
This makes parts of your picture look "embossed." Wherever there are sharp
edges in your picture, the picture will look raised like it was stamped in
metal.

View file

@ -1,6 +1,8 @@
Tux Paint "Magic" Tool: Fade
By Bill Kendrick <bill@newbreedsoftware.com>
This fades the colors wherever you drag the mouse. (Do it to the same spot
many times, and it will eventually become white.)
See also: Darken and Tint.
See also: Darken Tint

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Fill
By Bill Kendrick <bill@newbreedsoftware.com>
This floods the picture with a color. It lets you quickly fill parts of
the picture, as if it were a coloring book.

View file

@ -1,6 +1,8 @@
Tux Paint "Magic" Tool: Flip
By Bill Kendrick <bill@newbreedsoftware.com>
Similar to "Mirror." Click and the entire image will be turned
upside-down.
See also: Mirror.
See also: Mirror

View file

@ -1,9 +1,11 @@
Tux Paint "Magic" Tool: Flower
By Bill Kendrick <bill@newbreedsoftware.com>
This tool draws small flowers, with leafy bases and stalks. Click to set
the base, then drag the mouse upwards to drawe the stalk, and finally
release the mouse button to finish the flower. It will be drawn in the
currently-selected color. The shape and length of the stalk depends on how
you move the mouse while you drag.
See also: Grass.
See also: Grass

View file

@ -1,5 +1,7 @@
Tux Paint "Magic" Tool: Foam
By Bill Kendrick <bill@newbreedsoftware.com>
Click and drag the mouse to draw foamy bubbles. The more you drag the
mouse in a particular spot, the more likely small bubbles will combine to
form bigger bubbles.

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Glass Tile
By Bill Kendrick <bill@newbreedsoftware.com>
Click and drag over your picture to make it look like it's being seen
through glass tiles.

View file

@ -1,7 +1,9 @@
Tux Paint "Magic" Tool: Grass
By Albert Cahalan <albert@users.sf.net>
This paints grass on the image. The higher up the canvas, the smaller the
grass is drawn, giving an illusion of perspective. The grass can be tinted
various greenish hues by selecting different colors in the color palette.
See also: Flower.
See also: Flower

View file

@ -1,25 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Blocks
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Blocks</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Blocks
</h1>
<p>
This makes the picture blocky looking ("pixelated") wherever
you drag the mouse.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Blocks</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;<br>
Albert Cahalan &lt;<a href="mailto:albert@users.sf.net">albert@users.sf.net</a>&gt;<br>
</h2>
<p>This makes the picture blocky looking ("pixelated") wherever you drag the mouse.</p>
</body></html>

View file

@ -1,26 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Blur
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Blur</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Blur
</h1>
<p>
This makes the picture fuzzy wherever you drag the mouse.
</p>
<p><b>See also:</b> <a href="smudge.html">Smudge</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Blur</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;<br>
Albert Cahalan &lt;<a href="mailto:albert@users.sf.net">albert@users.sf.net</a>&gt;<br>
</h2>
<p>This makes the picture fuzzy wherever you drag the mouse.</p>
</body></html>

View file

@ -1,26 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Bricks
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Bricks</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Bricks
</h1>
<p>
These two tools intelligently paint large and small brick
patterns on the canvas. The bricks can be tinted various redish
hues by selecting different colors in the color palette.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Bricks</h1>
<h2 align="center">By Albert Cahalan &lt;<a href="mailto:albert@users.sf.net">albert@users.sf.net</a>&gt;</h2>
<p>These two tools intelligently paint large and small brick patterns on the canvas. The bricks can be tinted various redish hues by selecting different colors in the color palette.</p>
</body></html>

View file

@ -1,24 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Calligraphy
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Calligraphy</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Calligraphy
</h1>
<p>
This paints on the canvas with a calligraphy pen.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Calligraphy</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This paints on the canvas with a calligraphy pen. The quicker you move, the thinner the lines.</p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Cartoon
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Cartoon</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Cartoon
</h1>
<p>
This makes the picture look like a cartoon &mdash; with thick
outlines and bright, solid colors &mdash; wherever you move the mouse.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Cartoon</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This makes the picture look like a cartoon &mdash; with thick outlines and bright, solid colors &mdash; wherever you move the mouse.</p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Chalk
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Chalk</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Chalk
</h1>
<p>
This makes parts of the picture (where you move the mouse)
look like a chalk drawing.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Chalk</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This makes parts of the picture (where you move the mouse) look like a chalk drawing.</p>
</body></html>

View file

@ -1,30 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Darken
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Darken</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Darken
</h1>
<p>
This dakrens the colors wherever you drag the mouse.
(Do it to the same spot many times, and it will eventually become
black.)
</p>
<p><b>See also:</b> <a href="fade.html">Darken</a>
and <a href="tint.html">Tint</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Darken</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This dakrens the colors wherever you drag the mouse. (Do it to the same spot many times, and it will eventually become black.)</p>
<p>See also: <a href="fade.html">Fade</a> <a href="tint.html">Tint</a> </p>
</body></html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool: Distortion</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Distortion</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This slightly distorts the picture wherever you move the mouse.</p>
</body></html>

View file

@ -1,24 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Drip
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Drip</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Drip
</h1>
<p>
This makes the paint "drip" wherever you move the mouse.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Drip</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This makes the paint "drip" wherever you move the mouse.</p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Emboss
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Emboss</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Emboss
</h1>
<p>This makes parts of your picture look "embossed." Wherever there are
sharp edges in your picture, the picture will look raised like it was
stamped in metal.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Emboss</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This makes parts of your picture look "embossed." Wherever there are sharp edges in your picture, the picture will look raised like it was stamped in metal.</p>
</body></html>

View file

@ -1,30 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Fade
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Fade</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Fade
</h1>
<p>
This fades the colors wherever you drag the mouse.
(Do it to the same spot many times, and it will eventually become
white.)
</p>
<p><b>See also:</b> <a href="darken.html">Darken</a>
and <a href="tint.html">Tint</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Fade</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This fades the colors wherever you drag the mouse. (Do it to the same spot many times, and it will eventually become white.)</p>
<p>See also: <a href="darken.html">Darken</a> <a href="tint.html">Tint</a> </p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Fill
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Fill</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Fill
</h1>
<p>
This floods the picture with a color. It lets you quickly
fill parts of the picture, as if it were a coloring book.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Fill</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This floods the picture with a color. It lets you quickly fill parts of the picture, as if it were a coloring book.</p>
</body></html>

View file

@ -1,27 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Flip
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Flip</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Flip
</h1>
<p>
Similar to "Mirror." Click and the entire image will be turned
upside-down.
</p>
<p><b>See also:</b> <a href="mirror.html">Mirror</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Flip</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>Similar to "Mirror." Click and the entire image will be turned upside-down.</p>
<p>See also: <a href="mirror.html">Mirror</a></p>
</body></html>

View file

@ -1,31 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Flower
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Flower</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Flower
</h1>
<p>
This tool draws small flowers, with leafy bases and stalks.
Click to set the base, then drag the mouse upwards to drawe the stalk,
and finally release the mouse button to finish the flower. It will be drawn
in the currently-selected color.
The shape and length of the stalk depends on how you move the mouse
while you drag.
</p>
<p>See also: <a href="grass.html">Grass</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Flower</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This tool draws small flowers, with leafy bases and stalks. Click to set the base, then drag the mouse upwards to drawe the stalk, and finally release the mouse button to finish the flower. It will be drawn in the currently-selected color. The shape and length of the stalk depends on how you move the mouse while you drag.</p>
<p>See also: <a href="grass.html">Grass</a></p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Foam
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Foam</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Foam
</h1>
<p>Click and drag the mouse to draw foamy bubbles. The more you drag the
mouse in a particular spot, the more likely small bubbles will combine to
form bigger bubbles.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Foam</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>Click and drag the mouse to draw foamy bubbles. The more you drag the mouse in a particular spot, the more likely small bubbles will combine to form bigger bubbles.</p>
</body></html>

View file

@ -1,24 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Glass Tile
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Glass Tile</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Glass Tile
</h1>
<p>Click and drag over your picture to make it look like it's being seen
through glass tiles.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Glass Tile</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>Click and drag over your picture to make it look like it's being seen through glass tiles.</p>
</body></html>

View file

@ -1,29 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Grass
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Grass</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Grass
</h1>
<p>
This paints grass on the image. The higher up the canvas,
the smaller the grass is drawn, giving an illusion of perspective.
The grass can be tinted various greenish hues by selecting
different colors in the color palette.
</p>
<p>See also: <a href="flower.html">Flower</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Grass</h1>
<h2 align="center">By Albert Cahalan &lt;<a href="mailto:albert@users.sf.net">albert@users.sf.net</a>&gt;</h2>
<p>This paints grass on the image. The higher up the canvas, the smaller the grass is drawn, giving an illusion of perspective. The grass can be tinted various greenish hues by selecting different colors in the color palette.</p>
<p>See also: <a href="flower.html">Flower</a></p>
</body></html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool: List of Magic Tools</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: List of Magic Tools</h1>
<li><a href="blocks.html">Blocks</a></li>
<li><a href="blur.html">Blur</a></li>
<li><a href="bricks.html">Bricks</a></li>
<li><a href="calligraphy.html">Calligraphy</a></li>
<li><a href="cartoon.html">Cartoon</a></li>
<li><a href="chalk.html">Chalk</a></li>
<li><a href="darken.html">Darken</a></li>
<li><a href="distortion.html">Distortion</a></li>
<li><a href="drip.html">Drip</a></li>
<li><a href="emboss.html">Emboss</a></li>
<li><a href="fade.html">Fade</a></li>
<li><a href="fill.html">Fill</a></li>
<li><a href="flip.html">Flip</a></li>
<li><a href="flower.html">Flower</a></li>
<li><a href="foam.html">Foam</a></li>
<li><a href="glasstile.html">Glass Tile</a></li>
<li><a href="grass.html">Grass</a></li>
<li><a href="kaleidoscope.html">Kaleidoscope</a></li>
<li><a href="light.html">Light</a></li>
<li><a href="metalpaint.html">Metal Paint</a></li>
<li><a href="mirror.html">Mirror</a></li>
<li><a href="negative.html">Negative</a></li>
<li><a href="rainbow.html">Rainbow</a></li>
<li><a href="ripples.html">Ripples</a></li>
<li><a href="shift.html">Shift</a></li>
<li><a href="smudge.html">Smudge</a></li>
<li><a href="tint.html">Tint</a></li>
<li><a href="waves.html">Waves</a></li>
</body></html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool: Kaleidoscope</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Kaleidoscope</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This paint brush draws in four places at the same time, mirroring symmetrically, both horizontally and vertically. It uses the currently selected color.</p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Light
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Light</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Light
</h1>
<p>
This draws a glowing beam on the canvas, in the currently-selected
color. The more you use it on one spot, the more white it becomes.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Light</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This draws a glowing beam on the canvas, in the currently-selected color. The more you use it on one spot, the more white it becomes.</p>
</body></html>

View file

@ -1,24 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Metal Paint
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Metal Paint</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Metal Paint
</h1>
<p>
Click and drag to draw shiny metal using the current color.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Metal Paint</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>Click and drag to draw shiny metal using the current color.</p>
</body></html>

View file

@ -1,28 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Mirror
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Mirror</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Mirror
</h1>
<p>
When you click the mouse in your picture with the "Mirror"
magic effect selected, the entire image will be reversed,
turning it into a mirror image.
</p>
<p><b>See also:</b> <a href="flip.html">Flip</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Mirror</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>When you click the mouse in your picture with the "Mirror" magic effect selected, the entire image will be reversed, turning it into a mirror image.</p>
<p>See also: <a href="flip.html">Flip</a></p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Negative
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Negative</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Negagtive
</h1>
<p>
This inverts the colors wherever you drag the mouse.
(e.g., white becomes black, and vice versa.)
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Negative</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This inverts the colors wherever you drag the mouse. (e.g., white becomes black, and vice versa.)</p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Rainbow
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Rainbow</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Rainbow
</h1>
<p>
This is similar to the paint brush, but as you move the mouse
around, it cycles through a spectrum of bright colors.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Rainbow</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This is similar to the paint brush, but as you move the mouse around, it cycles through a spectrum of bright colors.</p>
</body></html>

View file

@ -1,24 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Ripples
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Ripples</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Ripples
</h1>
<p>
Click in your picture to make water ripple distortions appear over it.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Ripples</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>Click in your picture to make water ripple distortions appear over it.</p>
</body></html>

View file

@ -1,25 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Shift
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Shift</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Shift
</h1>
<p>
This shifts your picture around the canvas. Anything that gets
shifts off an edge reappears on the opposite edge.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Shift</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This shifts your picture around the canvas. Anything that gets shifts off an edge reappears on the opposite edge.</p>
</body></html>

View file

@ -1,27 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Smudge
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Smudge</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Smudge
</h1>
<p>
This pushes the colors around under the mouse, like finger painting
with wet paint.
</p>
<p><b>See also:</b> <a href="blur.html">Blur</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Smudge</h1>
<h2 align="center">By Albert Cahalan &lt;<a href="mailto:albert@users.sf.net">albert@users.sf.net</a>&gt;</h2>
<p>This pushes the colors around under the mouse, like finger painting with wet paint.</p>
</body></html>

View file

@ -1,28 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Tint
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Tint</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Tint
</h1>
<p>
This changes the color (or hue) of the parts of the picture to
the selected color.
</p>
<p><b>See also:</b> <a href="fade.html">Fade</a>
and <a href="darken.html">Darken</a>.</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Tint</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>This changes the color (or hue) of the parts of the picture to the selected color.</p>
<p>See also: <a href="fade.html">Fade</a> <a href="darken.html">Darken</a> </p>
</body></html>

View file

@ -1,26 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool:
Waves
</title>
<body><html><head><title>Tux Paint "Magic" Tool: Waves</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000"
alink="#FF00FF">
<h1 align=center">Tux Paint "Magic" Tool:
Waves
</h1>
<p>
Click to make the entire picture wavy. Drag the mouse up and down to
change the height of the ripples, and left and right to change the width.
Release the mouse button when it looks the way you like it.
</p>
</body></html>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Waves</h1>
<h2 align="center">By Bill Kendrick &lt;<a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a>&gt;</h2>
<p>Click to make the entire picture wavy. Drag the mouse up and down to change the height of the ripples, and left and right to change the width. Release the mouse button when it looks the way you like it.</p>
</body></html>

View file

@ -0,0 +1,30 @@
Tux Paint "Magic" Tool: List of Magic Tools
* Blocks
* Blur
* Bricks
* Calligraphy
* Cartoon
* Chalk
* Darken
* Distortion
* Drip
* Emboss
* Fade
* Fill
* Flip
* Flower
* Foam
* Glass Tile
* Grass
* Kaleidoscope
* Light
* Metal Paint
* Mirror
* Negative
* Rainbow
* Ripples
* Shift
* Smudge
* Tint
* Waves

View file

@ -0,0 +1,7 @@
Tux Paint "Magic" Tool: Kaleidoscope
By Bill Kendrick <bill@newbreedsoftware.com>
This paint brush draws in four places at the same time, mirroring
symmetrically, both horizontally and vertically. It uses the currently
selected color.

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Light
By Bill Kendrick <bill@newbreedsoftware.com>
This draws a glowing beam on the canvas, in the currently-selected color.
The more you use it on one spot, the more white it becomes.

View file

@ -1,3 +1,5 @@
Tux Paint "Magic" Tool: Metal Paint
By Bill Kendrick <bill@newbreedsoftware.com>
Click and drag to draw shiny metal using the current color.

View file

@ -1,7 +1,9 @@
Tux Paint "Magic" Tool: Mirror
By Bill Kendrick <bill@newbreedsoftware.com>
When you click the mouse in your picture with the "Mirror" magic effect
selected, the entire image will be reversed, turning it into a mirror
image.
See also: Flip.
See also: Flip

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Negagtive
Tux Paint "Magic" Tool: Negative
By Bill Kendrick <bill@newbreedsoftware.com>
This inverts the colors wherever you drag the mouse. (e.g., white becomes
black, and vice versa.)

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Rainbow
By Bill Kendrick <bill@newbreedsoftware.com>
This is similar to the paint brush, but as you move the mouse around, it
cycles through a spectrum of bright colors.

View file

@ -1,3 +1,5 @@
Tux Paint "Magic" Tool: Ripples
By Bill Kendrick <bill@newbreedsoftware.com>
Click in your picture to make water ripple distortions appear over it.

View file

@ -1,4 +1,6 @@
Tux Paint "Magic" Tool: Shift
By Bill Kendrick <bill@newbreedsoftware.com>
This shifts your picture around the canvas. Anything that gets shifts off
an edge reappears on the opposite edge.

View file

@ -1,6 +1,6 @@
Tux Paint "Magic" Tool: Smudge
By Albert Cahalan <albert@users.sf.net>
This pushes the colors around under the mouse, like finger painting with
wet paint.
See also: Blur.

View file

@ -0,0 +1,2 @@
all:
php ./magic-docs.php

View file

@ -0,0 +1,240 @@
<?
/* This PHP file contains all the documentation for the various Magic Tools
that are shipped with Tux Paint, as well as code and templates to generate
individual HTML files for each of them, and an index.html that links to
them all. */
/* Bill Kendrick <bill@newbreedsoftware.com> */
/* 2008.04.28 */
/* Authors of the Magic tools: */
$AUTHOR_KENDRICK = "Bill Kendrick|bill@newbreedsoftware.com";
$AUTHOR_ALBERT = "Albert Cahalan|albert@users.sf.net";
/* Information about each of the tools:
'name' is the name of the tool; the name for the HTML file is based on
this (all lowercase, with spaces stripped)
e.g.: "My Magic Tool" (and the file will be "mymagictool.html")
'author' is the author's name and email, separated by a '|' character;
it may be an array. Try to add authors as constant vars above, so they
can be accurately reused or updated.
e.g. "Joe Schmoe|joe@sch.org"
or array("Joe Schmoe|joe@sch.org", "Another Guy|a.guy@inter.net")
'desc' is the description, in HTML. (It will be wrapped in <p>...</p>).
'see' is optional. It should be the name of another tool to link to
(same format as 'name'; it will be converted for use as a link).
e.g. "Related Magic Tool" (will link to "relatedmagictool.html")
or array("Related One", "Related Two")
NOTE: If an image "ex_shortname.png" exists in html/images/,
it will be referred to in an <img> tag in the output.
*/
$tools = array(
array('name'=>'Blocks',
'desc'=>'This makes the picture blocky looking ("pixelated") wherever you drag the mouse.',
'author'=>array($AUTHOR_KENDRICK,$AUTHOR_ALBERT)),
array('name'=>'Blur',
'desc'=>'This makes the picture fuzzy wherever you drag the mouse.',
'author'=>array($AUTHOR_KENDRICK,$AUTHOR_ALBERT)),
array('name'=>'Bricks',
'desc'=>'These two tools intelligently paint large and small brick patterns on the canvas. The bricks can be tinted various redish hues by selecting different colors in the color palette.',
'author'=>$AUTHOR_ALBERT),
array('name'=>'Calligraphy',
'desc'=>'This paints on the canvas with a calligraphy pen. The quicker you move, the thinner the lines.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Cartoon',
'desc'=>'This makes the picture look like a cartoon &mdash; with thick outlines and bright, solid colors &mdash; wherever you move the mouse.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Chalk',
'desc'=>'This makes parts of the picture (where you move the mouse) look like a chalk drawing.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Darken',
'desc'=>'This dakrens the colors wherever you drag the mouse. (Do it to the same spot many times, and it will eventually become black.)',
'author'=>$AUTHOR_KENDRICK,
'see'=>array('Fade', 'Tint')),
array('name'=>'Distortion',
'desc'=>'This slightly distorts the picture wherever you move the mouse.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Drip',
'desc'=>'This makes the paint "drip" wherever you move the mouse.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Emboss',
'desc'=>'This makes parts of your picture look "embossed." Wherever there are sharp edges in your picture, the picture will look raised like it was stamped in metal.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Fade',
'desc'=>'This fades the colors wherever you drag the mouse. (Do it to the same spot many times, and it will eventually become white.)',
'author'=>$AUTHOR_KENDRICK,
'see'=>array('Darken', 'Tint')),
array('name'=>'Fill',
'desc'=>'This floods the picture with a color. It lets you quickly fill parts of the picture, as if it were a coloring book.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Flip',
'desc'=>'Similar to "Mirror." Click and the entire image will be turned upside-down.',
'author'=>$AUTHOR_KENDRICK,
'see'=>'Mirror'),
array('name'=>'Flower',
'desc'=>'This tool draws small flowers, with leafy bases and stalks. Click to set the base, then drag the mouse upwards to drawe the stalk, and finally release the mouse button to finish the flower. It will be drawn in the currently-selected color. The shape and length of the stalk depends on how you move the mouse while you drag.',
'author'=>$AUTHOR_KENDRICK,
'see'=>'Grass'),
array('name'=>'Foam',
'desc'=>'Click and drag the mouse to draw foamy bubbles. The more you drag the mouse in a particular spot, the more likely small bubbles will combine to form bigger bubbles.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Glass Tile',
'desc'=>'Click and drag over your picture to make it look like it\'s being seen through glass tiles.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Grass',
'desc'=>'This paints grass on the image. The higher up the canvas, the smaller the grass is drawn, giving an illusion of perspective. The grass can be tinted various greenish hues by selecting different colors in the color palette.',
'author'=>$AUTHOR_ALBERT,
'see'=>'Flower'),
array('name'=>'Kaleidoscope',
'desc'=>'This paint brush draws in four places at the same time, mirroring symmetrically, both horizontally and vertically. It uses the currently selected color.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Light',
'desc'=>'This draws a glowing beam on the canvas, in the currently-selected color. The more you use it on one spot, the more white it becomes.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Metal Paint',
'desc'=>'Click and drag to draw shiny metal using the current color.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Mirror',
'desc'=>'When you click the mouse in your picture with the "Mirror" magic effect selected, the entire image will be reversed, turning it into a mirror image.',
'author'=>$AUTHOR_KENDRICK,
'see'=>'Flip'),
array('name'=>'Negative',
'desc'=>'This inverts the colors wherever you drag the mouse. (e.g., white becomes black, and vice versa.)',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Rainbow',
'desc'=>'This is similar to the paint brush, but as you move the mouse around, it cycles through a spectrum of bright colors.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Ripples',
'desc'=>'Click in your picture to make water ripple distortions appear over it.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Shift',
'desc'=>'This shifts your picture around the canvas. Anything that gets shifts off an edge reappears on the opposite edge.',
'author'=>$AUTHOR_KENDRICK),
array('name'=>'Smudge',
'desc'=>'This pushes the colors around under the mouse, like finger painting with wet paint.',
'author'=>$AUTHOR_ALBERT),
array('name'=>'Tint',
'desc'=>'This changes the color (or hue) of the parts of the picture to the selected color.',
'author'=>$AUTHOR_KENDRICK,
'see'=>array('Fade', 'Darken')),
array('name'=>'Waves',
'desc'=>'Click to make the entire picture wavy. Drag the mouse up and down to change the height of the ripples, and left and right to change the width. Release the mouse button when it looks the way you like it.',
'author'=>$AUTHOR_KENDRICK),
);
$fiidx = fopen("../html/index.html", "w");
fwrite($fiidx, page_header("List of Magic Tools"));
foreach ($tools as $t) {
$shortname = str_replace(' ','', strtolower($t['name']));
$out = page_header($t['name']);
$out .= "<h2 align=\"center\">By ";
if (is_array($t['author'])) {
foreach ($t['author'] as $a) {
list($authname, $authemail) = split('\|', $a);
$out .= $authname." &lt;<a href=\"mailto:".$authemail."\">".$authemail."</a>&gt;<br>\n";
}
} else {
list($authname, $authemail) = split('\|', $t['author']);
$out .= $authname." &lt;<a href=\"mailto:".$authemail."\">".$authemail."</a>&gt;";
}
$out .= "</h2>\n";
$out .= "<p>".$t['desc']."</p>\n";
if (!empty($t['see'])) {
$out .= "<p>See also: ";
if (is_array($t['see'])) {
foreach ($t['see'] as $s) {
$out .= "<a href=\"".str_replace(' ', '', strtolower($s)).".html\">".$s."</a> ";
}
} else {
$out .= "<a href=\"".str_replace(' ', '', strtolower($t['see'])).".html\">".$t['see']."</a>";
}
$out .= "</p>\n";
}
if (file_exists("../html/images/ex_".$shortname.".png")) {
$out .= "<p align=center><img src=\"images/ex_".$shortname.".png\"></p>\n";
}
$out .= page_footer();
$fi = fopen("../html/".$shortname.".html", "w");
fwrite($fi, $out);
fclose($fi);
$link = "<li><a href=\"".$shortname.".html\">".$t['name']."</a></li>\n";
fwrite($fiidx, $link);
}
fwrite($fiidx, page_footer());
fclose($fiidx);
function page_header($title)
{
return "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n".
"<body><html><head><title>Tux Paint \"Magic\" Tool: ".$title."</title>\n".
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=us-ascii\">\n".
"</head>\n".
"<body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#0000FF\" vlink=\"#FF0000\" alink=\"#FF00FF\">\n".
"<h1 align=\"center\">Tux Paint \"Magic\" Tool: ".$title."</h1>\n";
}
function page_footer()
{
return "</body></html>";
}
?>

View file

@ -1,6 +1,8 @@
Tux Paint "Magic" Tool: Tint
By Bill Kendrick <bill@newbreedsoftware.com>
This changes the color (or hue) of the parts of the picture to the
selected color.
See also: Fade and Darken.
See also: Fade Darken

View file

@ -1,5 +1,7 @@
Tux Paint "Magic" Tool: Waves
By Bill Kendrick <bill@newbreedsoftware.com>
Click to make the entire picture wavy. Drag the mouse up and down to
change the height of the ripples, and left and right to change the width.
Release the mouse button when it looks the way you like it.