Javascript: cube
Written by Andreas Berger   
Saturday, 19 April 2008 07:47

The JavaScript produces a small, movable cube, consisting of its eight corners only,  optionally showing an image. The programming is not really neat, due to my lacking mathematical knowledge. Anyway - it works.


The cube is linked to the cursor, you can move it around the screen and that's it. Practical use? None.

The JavaScript is till now tested as follows:

Windows Mac OSX Linux FreeBSD
MSIE Internet Explorer
6
MSIE Internet Explorer 7.0 J
MSIE Internet Explorer 8
FireFox Firefox
2.0.0.16 J
FireFox Firefox
3.0.1 J
Opera Opera
9.25 J
Safari Safari
3.11 J

Demo (shown inside an inline-frame):


License:
Free to use as long as the copyright-notice in the sources stays intact.
Provided as is, no warranty, no liability!

Miscellaneous:
I am happy about everybody who gives me a link back to www.bretteleben.de on his website, this way helping me to popularize the script.
If you have questions or suggestions about this JavaScript, please use the comment-function. Records about the behavior of this script with further browsers/operating systems would be appreciated.

The ZIP-archive contains a demo-page, all configurable parameters are commented inside the script.

Downloads:
FileLast Modified
Download this file (cube.20080426.de.zip) cube.20080426.de.zip2008-05-11
Download this file (cube.20080426.en.zip) cube.20080426.en.zip2008-05-11
Last Updated on Friday, 08 August 2008 20:59
 
English
Panoramic Image Viewer
Follow me on Google+

bretteleben.de

Add to circles

Who's Online
We have 39 guests online