Generate a random solution using the "Random" button.
Generate next/previous solutions using "Next"/"Previous" buttons.
Click and drag to rotate.
Check perspective box to view with a degree of perspective.
Use slider to control amount of perspective used.


Source code:
bedlamCanvas.java
bedlam.java

NB This is now being sold as the "Crazee cube". I'm not a big fan of the new name, but I feel obliged to mention it here just so Google can still find this page.