I finally got it working......nice graphics and pretty good memory and cpu usage. I found rotating to be difficult to control. It would be nice if you had something akin to "snap to grid", because trying to stop the rotation
at 90 degree points was tricky. Like if you are within 10 degrees of 90, it would snap to 90 upon mouse-button-1 release. Also maybe link keys 1,2,3 to controlling which axis of freedom is selected, as relying on just the mouse is cumbersome. An "auto-solve" feature would be cool, snapshoting each move into an animated gif or something.
But beyond the Rubic's Cube game, I think you are on to something. The 3-d control is pretty good if you ask me, and this could be generalized into something like visualizing warehouse inventories stacked in 2-d aisles, or other such real world usage. I'll have to study how you did it. :-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.