imageLL

blade740

Mack Daddy
Joined
May 29, 2006
Messages
851
WCA ID
2007NELS01
YouTube
Visit Channel
I've been working on a project (which will remain undisclosed for now) and after messing a bit with imagecube, I got the idea to make a version for last layer algs. After a little bit of tweaking (and learning the PHP GD library) I figured it out.

http://www.fizzboards.com/imageLL.php?stickers=oogbyyyrgyyybbyyyorrg&size=200&thickness=2

Fancy, yes?

Well, then I thought, "it's not really the be-all end-all LL image, since a lot rely on arrows" Well, I solved that.

http://www.fizzboards.com/imageLL.p...byyyorrg&size=200&thickness=2&arrows=64463993

Maximum of 6 arrows. Arrows are pretty self-explanatory. Notice that 2-ended arrows are actually 2 different arrows.

Also, I realize that you can have arrows go from corners to edges (and the U center, actually) but I think it makes it easier to use (and understand). Besides, imagecube never fixed wrong color-schemes before, why should I?

Oh, also, I added more colors. Capital letters are greyed out, but still have color. k and K are black and dark grey, respectively (W is light grey, and x is middle grey as in imagecube)


Can anyone think of anything else to add?
 
I started to create one, then realised that it is pointless considering there are already images on the web for every single last layer case

You seem to have a problem with your arrows $_GET variable as well, you are not checking if it isn't a number, just by adding blah or something non-numerical, it comes up with an error.
 
I know, I've been lazy with input validation.

As to whether or not it's needed: sure, there are images for every last layer case. But say someone comes up with a new last layer scheme, or has trouble finding one they like the look of (though they may not like the look of mine either).

Plus, the project this is for benefits greatly from the ability to make diagrams without having to upload each individual image.
 
Yeah but a standard error coming from the language is a wasted opportunity for mockery. Validate the input and if it fails, display this text:

"Your input is invalid. An automated email displaying your incompetence has been sent to your teachers, your parents, your girlfriend and your dog."
 
Possible glitch? Drawing an arrow from 0 to 1 or 1 to 0 makes the outline of the cube and the arrow white instead of black. Of course, you will probably never need to draw an arrow from the upper left corner of the image to the upper left cubie, but I thought I would just point it out.

Also, can you extend this to cubes of other sizes?
 
Last edited:
0 was never intended to be a valid location. Because it can't draw to an actual location, it draws to 0,0. I don't know why the line color changes, though.

I figured there wasn't much use in extending it to bigger cubes. Besides ELL commutators, there are very few algorithms for larger cubes.
 
Back
Top