OZONE Asylum
Forums
DHTML/Javascript
Spinning 3D cube
This page's ID:
29993
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hello everyone, I thought I would share my little project that I started to work on the other night. It is a spinning 3D cube with shading that is controlled by the keyboard. This was my first attempt at something major with canvas. I have done some simple bar chart stuff in the past, but nothing in 3D. [url]http://www.pascarello.com/canvas/KeyBoard3DCube.html[/url] I had to break out the old geometry books to remember my sines and cosines. It took me 5 hours to get the equations right! I used to like math! I ended up with missing sides or shading that was backwards. I lost some hair with that! I plan on turning it into a game where you need to stop the "space ship" from spinnging out control under a certain amount of times/moves. I doubt I can get that under 32 lines without killing performance! :) Eric
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »