Part of the 1for1.com network!

Spinner Applet

Overview

The rotated output applet displays a vector image at different scales and rotations. There is a C++ program written for windows that can generate images suitable for use in this applet, its called Spinner, a generated vector image is required for use. The spinner designer application is included in the zip archive. Alternativley you could generate a file yourself from the file format documentation.

Examples of the Applet

Usage and inserting into a HTML document
Parameter List and allowable ranges
Parameter Range of values Description
VectorFile string - filenname the vector file containing the image
XRotation 0 thru 10 the speed of rotation. 0 no rotation, 10 fast
ScaleSpeed 0 thru 10 the speed at which the image should zoom 0 slow 10 fast
ScaleMin double 0.001 - 10.00 the smallest scale value
ScaleMax double 0.001 - 10.00 the largest scale, if ScaleMin and ScaleMax are equal, no scaling is done.
XLRotation 0 thru 10 an addition rotation about the images x axis
YLRotation 0 thru 10 an addition rotation about the images y axis
LightShading true or false if simple light shading should be used, default is false

 

Actual Example for directly editing HTML
<applet CODE="JElriDEV.Spinner.class" WIDTH="150" HEIGHT="150">
<
param name="VectorFile" value="your file name">
<
param name="XRotation" value="4">
<
param name="ScaleSpeed" value="3">
<
param name="ScaleMin" value="0.03">
<
param name="ScaleMax" value="0.4">
<
param name="XLRotation" value="1">
<
param name="YLRotation" value="1">
<
/applet
>

 

Additional Notes

 

Download the Applet

The use of this applet on your site is free, providing that you create a link on your site back to my site, please link to the front page (index) of the site the address is http://www.oocities.org/elricsgsx. please use the image provided in this download elrilink.gif for the link.

This applet is provided as is, there is no warranty implied or otherwise. ElriDEV can not under any circumstances be held liable for any damages caused by the use of this product. The copyright of this product remains the right of ElriDEV, however you may use this free of charge on your site, or use the source for learning purposes. By clicking on any links below you accept these agreement.