Important alert: (current site time 7/15/2013 4:05:20 PM EDT)
 

winzip icon

Bhushan3DCube

Email
Submitted on: 6/7/2002 8:50:58 AM
By: Bhushan-  
Level: Advanced
User Rating: By 22 Users
Compatibility: Java (JDK 1.2)
Views: 30326
author picture
(About the author)
 
     Bhushan3DCubE is most interesting part of 3D animation Move your mouse cursor over the cube and its rotation will roughly follow the movement of the mouse. Click once to bring any of the faces forward. Once a face is locked forward it can be double clicked to link to its assigned URL. A single click will cause the face to recede and rotation will recommence.

 

HTML:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
//HTML for :Bhushan3DCube
//**************************************
<APPLET CODE="Bhushan3DCubE" Archive="Bhushan3DCubE.jar" Width = "200" Height = "200" MAYSCRIPT>
 <param name="background" value="F0F0FF">
 <param name="shadowcolor" value="F0F0FF">
 <param name="spotlight" value="no">
 <param name="showlightbutton" value="no">
 <param name="sleeptime" value="5">
 <param name="target" value="_self">
 <param name="anglestep" value="8">
 <param name="mouseresponse" value="6">
 <param name="zoomspeed" value="2">
 <param name="image0" value="duke.jpg">
 <param name="image1" value="duke.jpg">
 <param name="image2" value="duke.jpg">
 <param name="image3" value="duke.jpg">
 <param name="image4" value="duke.jpg">
 <param name="image5" value="duke.jpg">
 <param name="url0" value="http://bhushan.cjb.net/"><--put here you're URL-><param name="url1" value="http://bhushan.cjb.net/"><param name="url2" value="http://bhushan.cjb.net/"><param name="url3" value="http://bhushan.cjb.net/"><param name="url4" value="http://bhushan.cjb.net/"><param name="url5" value="http://bhushan.cjb.net/">
</applet>
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 14 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
6/7/2002 9:22:40 AMmac

Great Code
"as you say pretty much diff..n bet..n your 3DCube and other that's great"
(If this comment was disrespectful, please report it.)

 
6/7/2002 12:02:21 PMivireee

just Excellent i have no words
good code
(If this comment was disrespectful, please report it.)

 
6/9/2002 11:59:02 AMLewis

Best code from me 5 star
(If this comment was disrespectful, please report it.)

 
6/10/2002 4:10:36 AMSteve

Excellent, I rate it a 5
(If this comment was disrespectful, please report it.)

 
6/10/2002 7:19:15 PMGP

How do you initially upon load up stop it from spinning. Perhaps just a slow spin would be much more "user friendly"?? Can you PLEASE tweek this? I say this also because if the mouse goes off the applet it stops so its counter intutitive.

This is cool but. Now to convince my team leader I can use it! :)
(If this comment was disrespectful, please report it.)

 
11/1/2002 4:41:46 AM

very nice application
Cong~
(If this comment was disrespectful, please report it.)

 
1/31/2004 4:51:26 PMLUCASJOHNSON00

this is the coolest thing ive seen in a long time. My pictures show up and remain crystal clear even when its spinning :).. 5 stars dude !. im not much of a java guy, i dunno know how to edit the java. How do you change the location of the cube? Regardless of what i try, i cant get it centered.
(If this comment was disrespectful, please report it.)

 
3/15/2004 9:13:15 AM

thanks !
(If this comment was disrespectful, please report it.)

 
7/11/2004 1:25:56 PM

This is about the coolest code I've seen in recent times for 3d animation. It's da bomb.

Bmaq
(If this comment was disrespectful, please report it.)

 
1/4/2005 9:42:00 PM

How do I go about making the images an absolute web address value, rather than have to have all the images in one location on my server. Thanks, John
(If this comment was disrespectful, please report it.)

 
12/5/2007 6:58:20 AMJosh Code

It is probably neat to see but for me it throws Exception in thread "Thread-109" java.lang.ArrayIndexOutOfBoundsException: 1 at Bhushan3DCubE._2(Bhushan3DCubE.java:979)
and the code looks automatically generated. It is extremely difficult to read.
(If this comment was disrespectful, please report it.)

 
12/8/2008 2:49:13 AMsatish

vbcv
(If this comment was disrespectful, please report it.)

 
3/19/2011 1:04:31 AMLefteris Eleftheriades

Code is obfuscated. Probably decompiled from somewhere. plus
ArrayIndexOutOfBoundsException in line 979
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.