You are browsing as a guest. Sign up (or log in) to start making projects!

Rubiks Cube Solver

  • 4 Devlogs
  • 10 Total hours

A 3d printed robot to solve any rubiks cube scamble using a custom algorithm!

Open comments for this post

1h 19m 26s logged

Devlog 2

I know this one is short, but I just want to keep things nice and tidy for when I start my solving algorithm.
Changes:

  • Refractored so code is cleaner
  • Added animations (fun!)
  • Now I can trigger move commands with a single string and not a bunch of function calls
  • Added middle slicing
  • Cleaned up logic to make it more computationally clean

and with that… LET THE GRIND BEGIN

0
0
5
Open comments for this post

1h 42m 3s logged

Today is the first day of software development for this project… first up is representing the cube’s state with code. I created a list of faces (6), where each face is a 3x3 matrix comprising of 9 squares. I spent a lot of time figuring out what would be the correct orientation and ordering of each face, but I think I have come to a happy compromise. For rotations, I kept trying to come up with some fancy matrix operation to transform 4 faces at the same time, but I ended up just creating a table of pieces to move for each operation and fetching that every time (if it works dont fix it). Finally, I created a function to turn the standard notation into a list of operations for my virtual cube. My next step is creating a visual representation of the cube in 2D!

0
0
32

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…