I want to display numbers in the millions, billions, and so forth. I want to put commas in my number as I display it so that you can tell how big the number really is. If my number is of type double, how would I display that with commas?
So I wrote a Rubik's Cube class that can calculate all the turns and complexities of a Rubik's Cube. I was so thrilled with it that I decided to go all the way with this one as my new project. Below, I've attached some pictures of the execution of the program. I would like to somehow publish this so that I could actually send the .zip file as a link. Anyone got any suggestions on what method I should use? I do not own a website.
I hope this was a little bit inspiring for some people to experience the amazingness that is Rubik's Cubes! My personal best time for solving one is 31.5 seconds. It's quite a bit of fun and I encourage everyone to at least try it! :)
I'm trying to create an applet that will essentially be the website itself. The only question I have at this point is about resizing applets. Is it possible to make an applet take up the entire browsing window? And from there, is it possible to resize the browsing window and have the applet follow based on the browser window's dimensions?
To do so, I would need some command to get the width and height of the window.
I'm pretty sure I can do that with the "document.width" and "document.height" commands in JavaScript, but how would I allow that to talk to processing, or is there something I can do in processing to access that information?