Tips on making a Rubik's cube?

Hi all, I'm making a program that solves a rubik's cube for my final project in my first year AP Java class. However, I'm completely new to Java 3D but I've been working my way through Sun's getting started tutorial. However, I still don't have an idea of how to make thirty different colored cubes. (I'd love to just use the color cube but I understand that that can't be re-colored(correct?)) Any tips on how to get this done would be awesome. Thanks!

Thanks guys. I had read chapter one of Sun's getting tutorial but I skipped ahead to chapter two and checked out the box class. After some research on the Java3D API I found that you can colour each side of a box a different color. I just extended the box, made a few new methods of my own and it's perfect. However, now I have another problem that would probably be best in another thread.

Similar Messages

  • Any new tips for making Garageband run quicker (Delay/Lag)?

    Hey all
    AI was just wondering if anyone had come up with any new tips for making Garageband run quicker? Theres such a delay form when I move the cursor or press play to when anything actually happens.
    Ive tried everything here
    http://www.bulletsandbones.com/GB/FAQPages/Optimize.html
    But its not really made anything quicker
    I don't know where this option is though?
    Make sure your Energy Saver System Prefs is set to Highest Performance, if this is an option
    I'm not using any effects/plugins (yet) on my song, but will start mixing EQing/using plugins soon so need to try and stop
    It really slowed down when I recorded (and copy pasted) a load of handclaps into it over the entire song and onto multiple tracks.
    I'm running Snow Leopard 10.6.8 3.06GHz Intel Core 2 Duo
    4GB 1067 MHz DDR3
    Ive got 120GB of space left on my 500GB hard drive
    Any ideas or newer tips anyone?
    I'm running 39 tracks by the way.
    Thanks

    bump

  • I created a ringtone successfully and assigned it to a contact, but the default ring always answers, I've tried deleting the contact, and also shutting the phone down completely, but neither has worked. One tip mentioned making sure format was correct??

    I assigned a ringtone to a contact but the default answers.  I've tried deleting the contact and reinstalling it and  shutting the phone down (holding the home button in and the top button until apple icon appears), One tip mentioned making sure the format was correct. ???  Any suggestions?  The ringtone itself works if used as a default, but when I assign it to this contact, no dice.

    First thing to always do is write a Certified Return Receipt letter or just copy the post you made and send it to Verizon Wireless and dispute it in writing.
    Then walk down to your local court and file a small claims court case against Verizon for all the fraudulent charges. Verizon will call you before that court case and then it may be possible to get this wiped off your account.
    Also file a BBB complaint http://www.bbb.org
    Again Verizon will contact you to offer to settle. Get the settlement in writing not verbal. Or proceed to court.
    Sorry you are going through hell for something you should never have had to go through.
    Good Luck

  • Rubik's cube solver

    Hi All,
    Just though I would share a silly side project I have been working on, a G based Rubik's cube solver.
    It is far from perfect, but it brought me some joy so I thought I would share it with the community. It mostly seems to work, I won't go into too many details here, but basically you start off with a clean cube, apply some random operations to it, and then get the algorithm to solve. I supppose it would be easy enough to change to allow user defined starting positions, but it is basically proof of concept for the algorithm so I haven't bothered taking it any further. Note, the solving algorithm is based on Dan Knight's 7 step solution, which works quite well once you get the hang of it. The solution is far, far from optimal, and in fact the vast majority of cubes can be solved in 17 moves or less (belive it or not)...
    Attached is a zip of the files, note, it uses the openG 3D buttons, so I manually added that library to the zip. There are controls on the left hand side of the screen to apply the primitive transformations to the cube if you wanted to do it manually.
    The randomisation used mathscript to allow for starting with a known random number seed (is this possible with the normal random functions?), if you dont have this installed feel free to use any random number generator
    I would be interested to hear comments or see other G code for solving the cube, or if I have left something out of the zip file.
    Happy cubing...
    nrp
    ps: my record for solving the cube is about 2 mins, which is nowhere near the pros! Oh well...
    nrp
    CLA
    Attachments:
    rubiccube_main_v2 Folder.zip ‏1118 KB

    Very nice!
    nrp wrote:
    The randomisation used mathscript to allow for starting with a known random number seed (is this possible with the normal random functions?)
    Use e.g. the random white noise from the "signal processing..signal generation" palette. It has a seed input.
    nrp wrote:
    I would be interested to hear comments or see other G code for solving the cube, or if I have left something out of the zip file.
    Do you know the guys who made the LabVIEW robot solver?
    LabVIEW Champion . Do more with less code and in less time .

  • Tips on making  movies smaller

    We are created a Flash banner for a client that has a maximum
    size of 20k. And of course, the client wants War & Peace on the
    banner along with about 10 images which maxes out at 120k (don't
    ask, we've already told them it won't work).
    We've imported the images we need to use as PNGs
    We set all they type inside of Flash.
    Are there any techniques to keep the file as small as
    possible? I know were going to need to trim the animation down but
    if there are any tricks & techniques you can pass along, I'd
    appreciate it.
    -K

    Have you generated a size report to see where all the bits
    and bytes are coming from? Certain fonts can contribute a lot to
    file size. Other tips that sometimes work: make sure everything
    that moves is a movie clip, not a Group or a Graphic. And if you
    can use ActionScript for as much of the animation as possible that
    will keep things down.
    Speaking as someone who has created over 300 banners for
    Yahoo and hundreds of e-cards for major e-card sites who also
    impose file size limits, the ultimate solution is:
    Tell the client "No. You can't do that." Some people are
    afraid to confront or even scold clients. Consider it educating
    them. Often they really appreciate it, because they end up
    understanding a bit more about the process and can make more
    informed suggestions in the future. You wouldn't believe how many
    times I've done so. They might sulk a little bit, but them they
    usually come back after a pause and ask: "So...what do YOU think
    the solution is?"

  • ___Any tips for making this sign look real(er)? Ai and/or Ps

    I'm trying to make this sign* look like an actual real sign (like a sign that would have neon type lettering, but turned off during the day), that would hang above a restaurant/bar in a cosmopolitan city.
    the client thinks it isn't 'real' lloking enough - any tips/suggestions/tutorials y'all can suggest?
    9Not so much for the neon aspect - I think I have that covered) - All comments welcome!
    *name in neon has been covered by green for this screenshot's purposes.

    The trick is creating the illusion of depth and dimensions.  At a minimum you should be creating shadows and highlights ( difficult to recommend anything with seeing the actual artwork ).  Neon is a sophisticated illustration that will require quite a bit of detail ( even with the lights - off ).  Neon also has its own set of imperfections, so something computer generated will need to include those imperfections.  Consider "Blends".  Post your work so we can see how it is progressing.

  • Making abap query on cube

    Hi all,
    I need to find data on a cube loaded in delta mode, but only related to last request...
    It's possible find data in this mode with an abap query?
    tnx

    duccio,
    You can find this only in the change log and you can query RSODSACTREQ for requests and look for the same in the change log.
    In BI3.x atleast you could not query on the change log - this however can be done in BI7 as per my understanding... but definitely worth checking out.
    I will move this to the BI forums - also please be more specific as to what kind of help you would need - the code or the scenario only ?
    Arun

  • Tips for making master pages??

    Hello,
    I am making a master page that will contain jpeg images, and I am having trouble getting them to "snap to" the guides". Before, in CS3, I remember when I moved an image close to a guide, it would automatically "snap to" it, but for some reason that doesn't seem to always happen here. I am not using the baseline or other grids at all, I have made guides. The guides are two perpendicular lines, and try to snap them to the right angle formed by the lines.
    Hope that explanation wasn't confusing. I just want to find a good way to set up my master page and to establish guides. It is possible to use the "snap to" with guides alone and not the grids, right? To get rid of the grids I set the spacing for the lines for very large distances so they wouldn't appear at all.
    Cheers for any assistance in advance...

    Hello,
    Thanks for the replies. The "snap to" option is on, as well as the "guides in back" option. What will happen is, I drag an image within range of the guide (I'm not using a grid) and it will be very close, but I often have to adjust it slightly, for example (I have it set for inches as the unit of measurement) I want one image to be at  the guideline, which is .7817 but too I dragged (drug?) near to the guide ended u at .7823. Once I get this close to the guide, shouldn't the snap to" take over? BTW, my "snap to" zone is 12px.
    I see that both "align to object edge" and "align to object center" are checked... should I uncheck "align to object center"?

  • Enabling Hardware Accelearation in FireFox 31, plus Other Tips on Making FF 31 work faster

    FireFox 31 has been extremely sluggish on my computer. When I try to open a new tab or browser, the "wheel of doom" appears and the action pauses for 15 seconds to one minute. At the same time message will temporarily pop up that says "FireFox is not responding."
    I should add that I followed the advice on these boards, and made certain my graphics and all other software are updated; I paired down the number of Bookmark Toolbar tabs to under 20. However, the problem persists. The issue is NOT with the computer -- the other browsers are not experiencing sluggishness.
    Please provide the process for manually enabling hardware acceleration in FireFox 31, as well as any other tips not already mentioned above.
    Thank you!

    This is almost a duplicate. You've already had two answers at -
    https://support.mozilla.org/en-US/questions/1013828

  • Tips for making strings sound more real

    Basically i'm having trouble getting my strings from the exsp24 to sound real. mainly the violins. does anyone have any good tips?

    It very much depends on what sort of music you are writing and what you want the strings to achieve.
    As well as having decent sounding samples, you must make sure that what you are writing are typical string parts. You can have the most wonderful string samples in the world, but if you play "Chopsticks" with two fingers they'l still sound like some chimp playing "Chopsticks" with two fingers.
    Broadly speaking, chords should be structured with wider spacing between the bottom notes than the top. Although complex classical music can have chords made up of 8 or more notes, pop music tends to have much simpler writing with perhaps only 4 parts or fewer.
    Dynamics are also very important. Listen to any piece of classical string music and you'll notice there is a very wide dynamic range within phrases, and even within the length of a single note.
    In general, the sort of sound that comes with Logic are good for long legato lines, or sustained block chords, or perhaps short stabbing sounds (think "Psycho). Because the violin is a fretless, fluid instrument, parts that require more sophisticated articulations will require a more up-scale library that features these articulations, and even then the results are not always great.
      Mac OS X (10.4.8)  

  • Tips on making my iMac 7.1 run faster?

    I've tried cleaning (with Clean My Mac), moving files to external hard drive, not opening applictions on launch, etc. Still painfully slow...
    If I re-start it works faster for a while, then seriously slows down if I have more than 3 or 4 applications open.
    Sometime Restart fails becomes application take too long to log out. They 'time out'.
    I get scripting issues with Firefox / Safari too.
    And while all of the above happens, my machine grumbles, makes odd noises and doesn't seem happy at all.
    Is my machine simply getting old? Any magical cures? It's driving me crazy!
    I'm on OSX 10.4.11.
    Thanks a million.

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

  • How to Manually Perform software Updates and tips for making Macbook better

    Hi. So recently my internet was really slow. I figured the problem out and now is working well. Although the youtube site does not allow me to view entire videos.
    Well...i was told that since my macbook is turned off at night, it cant perform software updates between 3am-6am...so how can i do these manually? or how can i change the update time to sometime in the evening?
    I heard these software updates are suppose to make the macbook run and perform better. what other things can i do to accomplish that?
    (Laymans terms, im new to the mac world)

    Select Software Update from the Apple menu. Or download the standalone updaters from Apple's download site - http://www.apple.com/support/downloads/. Or simply set the Check for Updates option in Software Update to whatever frequency you prefer. SU will notify you when updates are available.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Tips for making DVD@ccess works on PC reliably !!!

    Anyone here have experience Authoring in DVDSP using DVD@ccess where your DVD will be played on a PC ??
    I beleive you need to install the DVD@ccess plug-in but i can't seem to find it anywhere on the net. Also someone told me the plug in ( for PC ) is installed on the DVD once you authored with DVD@ccess but i can't seem to find it either. Any suggestion ??? Thanks

    When you burn an image with DVD@ccess checked in your buld and burn window, it adds the file to the image -- NOTE: As I recall this only happens when you burn an image or master to a Tape backup.
    Also, you can put an autostart.ini file on the DVD-rom portion of the disk that runs DVD@access, but unless you get a little fancy with you autostart file, it will try to install it every time!!!
    Bottom line is, it's a little quirky!!! Good luck.
    Jason
    PS - there are some DVD programs that flat will not work with DVD@ccess. I think POWER DVD is one, but I can't remember.

  • Tips to making a home automation interface-

    Well, i am going to install a home automatin interface thoughout our new house via VGA touchscreens (monitor 1 will be the main control, monitor 2 will output to 2 or 3 separate touchscreens) and have some sort of integrated menu that gives you access to the following-
    Setup will involve X10 (USB module, Indigo supports Apple Scripting)
    security cameras (all hooked up via network or video to USB converter boxes)
    --using existing software, would like to create menu that allows you to view/edit/control cameras
    iTunes scripting
    Any advice would be appreciated.
    Thanks

    Hi,
    no need to have SAN , fibre channels , as you know can configure on VMware
    check http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
    http://www.scribd.com/doc/320791/Install-Oracle-RAC-10g-on-Oracle-Enterprise-Linux-Using-VMware
    Thanks

  • Tips on making forms?

    Hey guys,
    I need to make a form that just takes basic information from people for them to become a dealer for our products. I'm just a little lost on how all the spry forms actually work (what the heck is validation?) and how to make them take the data and send it in the form of an email. Are there any guides or something you could recommend?

    The Spry is more for the validation of the form as opposed to the submission itself.  The submission is usually done with a server-side language like PHP or ASP.  Do you have have scripting available on your hosting?  If so, what language?  If not, then we can talk abuot hosted form solutions.

Maybe you are looking for

  • Logical System not maintained

    Dear Experts,       I need to generate JVRD condition idoc using FV13 for a new site for some articles.JVRD condition is maintained in SAP.But when i try to send the condition type using the above t-code it generates no Idoc and shows me the message

  • WEBLOGIC 5.1SP9 : ListenThread Connection rejected: 'Login timed out after 5000 msec.

    I'm running WL Express 5.1SP9 on a NT 4 server, Oracle 8.1.7 and an j2EE application from an editor. With the previous version of the application i wasn't having any problem, since I installed the new version in the same environnement, I'm getting th

  • Trackpad with buttons from the new E/T/W 450/550 to E/T/W 440/540

    Hello, i was looking at the new 550 450 series and saw that Lenovo had returned to the old trackpoint buttons. Also i've notised for the short time i was able to take the quick look that the size of the new trackpad + buttons is the same as the track

  • "lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found"!!

    I'm trying to setup Sun Java System Web Server7.0 on the fedora11. And then I have a problem with "configuration failed". I get the error massage: **Apr 25, 2011 7:33:38 PM com.sun.web.admin.configurator.ConfigureServer main** **WARNING: /sun/webserv

  • How to close timeout  connection in SQLDBC ?

    Hello, I use SQLDBC to access MAXDB 7.7.0.7.16 database, i have the following issue : When a connection reach timeout, I close the connection, and the release the connexion, and then I create a new connection To close connection I call my Disconnect