Results 1 to 8 of 8

Thread: A interactive VML 3D cube

  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default A interactive VML 3D cube

    1) CODE TITLE: A interactive VML 3D cube

    2) AUTHOR NAME/NOTES: Paulo Lopes

    3) DESCRIPTION: As simples 3D cube made in VML that can be rotated by draging the mouse.

    4) URL TO CODE: http://sips.inesc-id.pt/~pacl/sd/cubo

    or, ATTACHED BELOW (see #3 in guidelines below):

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The rotation around a corner is interesting. If you did it around the center, might be more standard, though that's kinda cool too.

    I don't knonw if this is acceptable to DD, simply because VML is IE only, so that's no fun. But it certainly does what it does well.
    The other issue, though, is that it's not practical, just fun... a gimic. That's fine and all, but it doesn't really add content, just, in short, a really cool picture.

    This doesn't say anything against your coding, though.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    what about adding a link/pic to each of the sides?

    would that be possible?
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I don't knonw if this is acceptable to DD, simply because VML is IE only, so that's no fun.
    Plenty of the scripts on DD are IE-only. It could always be ported to SVG/canvas later (by someone more mathematically minded than myself, no doubt).
    The other issue, though, is that it's not practical, just fun... a gimic. That's fine and all, but it doesn't really add content, just, in short, a really cool picture.
    Again, like around 10-25&#37; of the other scripts on DD
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    ive taken a look at the w3 specifications, and if the cube is drawn 3d and not 2d it should be possible...
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  6. #6
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    fun - shame its only IE.
    one simple thing to add would be...
    Keep the cursor position the same when mouse is down. That way mouse movement wouldn't be limited to the size of the window. I guess you'd take the mouse movement, change the appearance of the cube and then reset the mouse cursor to its original position.

  7. #7
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    i think that kind of control would be open to abuse, because then someone could write a page that normal people couldn't figure out how to close.

    And if you'll refer to my sig, normal people are idiots.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by boxxertrumps View Post
    And if you'll refer to my sig, normal people are idiots.

    Girl from my grade: "Is Canada a state or a province?"
    Note, this is high school.
    Didn't they have a big vote on that last year?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •