Download of cube.html (cube.html ( external link: SF.net): 866 bytes) will begin shortly. If not so, click link on the left.

File Information

File Size
866 bytes
MD5
f102a5355374ce3cd64509ac959bc238

프로젝트 설명

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