Download of smartcube_v0.3.rar (smartcube_v0.3.rar ( external link: SF.net): 99,357 bytes) will begin shortly. If not so, click link on the left.

檔案信息

檔案大小
99,357 bytes
MD5
1e381aa374a928f0e1b025345202744c

專案描述

File:cube.js
Author:Tyson Decker
E-mail: tyson.decker@gmail.com
Version:0.3
Description:Generates an nxn rubiks cube using three.js. Inspired by the game at http://hi-games.net/cube/


Version info

0.3 - Added ability to color each individual sticker

Added ability to turn sides. Made an algorithm
so that you can turn any side of any nxn cube (the multilayer offset feature in cube.html isn't functional yet)

Added scramble function


0.2 - Changed the version of three.js to the most recent
(r58).

Added each sticker to a face object to make positioning
easier.

generated two planes per sticker to there would be
color on the oposite side.

Generated the entire cube instead of one face

0.1 - Implemented three.js. cube.js now generates one side
of an nxn cube that is centered and facing the camera.
Color, sticker width, and sticker spacing can be
customized