Distorter


soft transition)>

"Distorter" is an applet that loads an image and allows you to distort it using your mouse. You can even add a "zoom-distortion" if you click your left mouse-button, and you can "inverse-zoom" with the right one. There are some parameters that can be changed, and, of course, any image can be used.

How To Use:

  • Download Distorter.zip (17 KB)
  • Unzip with a compression utility.

    Java Source: Unavailable

    Sample HTML Source:

    <applet code="Distorter.class" 
    	archive="Distorter.zip"
    	width="262" 
    	height="244">
    	
    	<! ATTENTION: Do not forget to enter the width and height 
    	of the image you use in the line above! >
    	<param name="auto"          
    		value="on" > 
    		<! on/off; when on, an automatic motion will start if 
    		mouse is not moved>
    
    	<param name="autoWait"      
    		value="50" > 
    		<! How long to wait until the auto-motion starts 
    		when the mouse does not move>
    
    	<param name="autoChange"    
    		value="180"> 
    		<! How fast the mode is changed to auto and back 
    		(high values -> soft transition)>
    
    	<param name="autoStrengthX" 
    		value="20">  
    		<! in %;   the horizontal strength (amplitude) 
    		of the auto-motion>
    
    	<param name="autoStrengthY" 
    		value="30">  <! in %;   same for vertical>
    
    	<param name="autoSpeedX"    
    		value="50">  <! horizontal speed of the auto-motion>
    
    	<param name="autoSpeedY"    
    		value="120"> <! same for vertical>
    	
    	<param name="zoom"          
    		value="100"> <! in %;    strength of the zoom>
    	
    	<param name="zoomSpeed"     
    		value="20">  
    		<! how fast the zoom works when a 
    		mouse-button is pressed>
    	
    	<param name="Imagefile"     
    		value="image.jpg"> <! filename of the image>
    </applet>
    
    

    Status: Free

    Author: Paul Schmidinger

    Homepage: http://www.eigelb.at

    Upload Date: April 2, 2002

    How to Add Java Applets to Your Site

    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.