Sean Readdy

From WLCS
(Redirected from Fathead)

Is thinking about working on a streaming music server. Also likes spinning in chairs, and dislikes stools.

Goals

- find HTML tutorial [X] Here's the one i used
- learn HTML [X] Here's a good database for HTML
- setup a basic web page [X] Check out the site
- put information about HTML on the web page[X]
- post examples of HTML capabilities e.g. pictures, links, etc.
- link together multiple pages to the basic page[X]
- design a prototype interface[X]
- post basic interface using HTML [X] Check out the prototype
- find CSS tutorial [X] Here's what I'm currently studying Here's another source I'm using
- find PHP tutorial [X] The w3 tutorial Here's another I haven't looked to extensively at either but they are recommended by the google machine and w3 is very reliable

Goals II, The Sequel

- learn CSS[X]
- create and apply CSS stylesheet for basic website [X] The CSS coding This page has the effects of the stylesheet
- create a stylesheet for the prototype interface [X] The effects of this sheet
- apply CSS to the interface design (make it look good) [X] Checkitout
- begin learning PHP [X]
- learn basic PHP[X]
- make mini-sites with PHP [X] Simple yet practical example Super good form stuffs
- add PHP forms to the interface[X]simple search bars and upload form
- research different types of music servers [X] The HowStuffWorks perspective on things Mp3 streaming info
- research steps to create a server [X] Wired's explanation

Third Quarter Goals

- Research Rubik's cube algorithms [X] my summary of the youtube explanation another explanation
- Learn to solve rubik's cube [X]
- Create a basic model of the rubik's cube using python [X]
- Brush up on python skills [X] Using this python tutorial
- Model the six possible turns right(R) [X] right inverted(Ri) [X] left(L) [X] left inverted(Li) [X] up(U) [X] up inverted(Ui) [X] down(D) [X] down inverted(Di) [X]
- Choose algorithm set to model [X] I'm using the basic algorithms on my page and might incorporate some higher level algorithms such as f2l.

Rubik's Cube Model

White = 1 Yellow = 2 Red = 3 Orange = 4 Blue = 5 Green = 6

- up = [[1,1,1],[1,1,1],[1,1,1]]
- down = [[2,2,2],[2,2,2],[2,2,2]]
- front = [[3,3,3],[3,3,3],[3,3,3]]
- back = [[4,4,4],[4,4,4],[4,4,4]]
- right = [[5,5,5],[5,5,5],[5,5,5]]
- left = [[6,6,6],[6,6,6],[6,6,6]]


Rubik's Cube Project

The goal here is to create a program that can solve a rubik's cube, and tells you the steps to solve it, if you input the placement of the colors on the cube. All of this will be done using python.

To model the cube I used a series of matrices, using the numbers 1 through 6 to represent the colors. These matrices can be seen above. I had some trouble at first, because it has been about a year since I last used python I had forgotten that the matrix and list numbering starts at 0 instead of 1. Once I stopped being dumb and resolved the situation I had no more problems manipulating the matrices.

I started by buying a rubik's cube and marking each square with the number that corresponds to the space in the matrix it inhabits. Doing this makes it much easier to create code that models how the squares on the cube shift around when the cube is manipulated.

Here's the code I've managed to figure out so far. It's lightly commented, but there's more to come.

The next step was to code the different turns that someone could make the cube do, such as turning the right face clockwise or turning the front face counter-clockwise.