Knitting a rubik's cube

I made this cube for my boyfriend, he's not just good at them; he can solve them one-handed while riding a unicycle, or tackle this kind of thing.

This isn't instructions or a pattern, it's just a blog post about what I did. However, I made it up as I went along, so if you have a little bit of knitting experience, I'm sure you could do the same.

It's not just a dust-gatherer. It does have some other functions, which I'll mention as I go along.

Cotton yarn won't pill or stretch and this particular yarn comes in a selection of nice bright colours. I don't think the type or weight of yarn is important, but as with toys I guess a nice tight gauge is best because you don't want the stuffing to show through. I knit that yarn on 4mm needles.

6 rows by 6 stitches seemed about right, plus a couple of stitches and rows to allow for mattress-stitching. So 8x8. You'll obviously want 9 little squares of each of 6 colours.



That's a lot of tails! Long ones are useful for stitching up. There's no weaving-in because they'll all be lost inside and help to fill the finished item.

It's vital to find a diagram of an actual scrambled cube, or use a real scrambled cube as a guide. If you place the colours randomly, it probably won't be solvable and is the equivalent of giving a musician a card with nonsense musical notes on it. 
I used this online generator for the image above. It's about 25 moves from being solved, but unfortunately I didn't save that solution and it's now lost. But that does give the knitted one another function as a puzzle: find the shortest solution from this state.

As mentioned, I used mattress stitch to sew the small squares into big squares, and then the big squares into the arrangement in the diagram and finally sewed that into the 3D shape, all bar one edge.

Most of the time you're mattress-stitching stitches that go in the same direction, but it's necessary to sew vertical to horizontal along some edges, which is harder to make neat.

I used duplicate stitch to add the black as I went along . 


A lavender bag adds another function. I understand that lavender is also a spider-deterrent, which is yet another function.
I buried the lavender bag in the middle, surrounded by regular toy stuffing and the numerous ends.
Once sewn up, the same duplicate stitch can be used along the edges.
The stuffing wants to push the cube out into a ball. I had  hoped that the stitched edges, and the lack of stretch in the cotton yarn would help hold the cube shape. I packed this in a cube-shaped box in order to help form the cube shape. 



This year his cake was also a cube and featured the same pattern, but without the colours on the bottom side.