Download von cube.js (cube.js ( externer Link: SourceForge.net): 5,832 Bytes) wird in Kürze beginnen. Wenn nicht, klicke auf cube.js ( externer Link: SourceForge.net).

Datei-Informationen

Dateigröße
5,832 Bytes
MD5
f62425095038c46fdd1c9af271da5646

Projektbeschreibung

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