Intro 1.1
You need to set a high enough NumberOfPixelsMax, the right Transparent-Color
(Red, Green, Blue), the image-filename and the number of images for the applet
to work!!
PARAMETERS:
- NumberOfPixelsMax:
- The maximum number of moving pixels. If an image contains more
none-background-pixels than this number, the applet won't work.
The more pixels move, the more CPU-power is needed. Default is
5000; increase this value if the applet does not work!
If the number is very high, e. g. 100000, more memory will be
needed, so try to find out just how many pixels You need.
- TransparentRed/-Green/-Blue:
- Every pixel of an image that has NOT this color, will
be a moving pixel. The more moving pixels You have, the
more CPU-power is needed.
- BackgroundRed/-Green/-Blue:
- The color of the background. Usually, this will be the
same color as the transparent color. You can experiment
with this color as much as You like if You leave the
transparent-color unchanged.
- NumberOfImages:
- The number of different images.
- NumberOfSteps:
- How many steps a full "morph" takes. More steps result in a slower
transition. Default is 80.
- Delay:
- The number of "steps" each image is shown before the next morph/transition starts.
(1 step is about 20 miliseconds)
- ImagesFilename:
- The path and filename of all images WITHOUT number and extension
- ImagesExtension:
- The extension/type of the image. Use GIF if possible, JPG if not
"color-accurate" -> transparent color will not work! PNG should
work as well. (not tested)
EXAMPLE: With an ImagesFilename of "pics/pic", an extension of ".gif"
and a NumberOfImages of 7, the applet will look for the
images "pics/pic1.gif", "pics/pic2.gif", ... to "pics/pic7.gif"!
All images must have the same size and the same transparent color.
Do NOT use transparent-GIFs! Don't forget to change the applets size
to the size of the images!
- RandomOrder:
- If set to "y", the image sequence is random, if set to "n", after the 1st image
the 2nd will appear, then the 3rd etc; after the last one, the process will restart
with the 1st one.
- LoadBGRed/-Green/-Blue:
- The background-color while the "loading images"-message is shown.
- LoadFGRed/-Green/-Blue:
- The text-color while the "loading images"-message is shown.
Back to Intro 1.1
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.