Download List

專案描述

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

System Requirements

System requirement is not defined

Download Package list

Latest 5 files
名稱 大小 日期 下載總數
smartcube_v0.3.1.zip 586.9 KB 2013-08-26 05:28 53
smartcube_v0.3.rar 97.0 KB 2013-08-09 13:20 31
three.min.js 401.8 KB 2013-08-09 13:17 1164
OrbitControls.js 7.0 KB 2013-08-09 13:17 89
stats.min.js 2.2 KB 2013-08-09 13:17 44
All Files
smartcube_v0.3.1.zip586.9 KB2013-08-26 05:2853
smartcube_v0.3.rar97.0 KB2013-08-09 13:2031
smartcube v0.3
js
three.min.js401.8 KB2013-08-09 13:171164
OrbitControls.js7.0 KB2013-08-09 13:1789
stats.min.js2.2 KB2013-08-09 13:1744
Detector.js1.9 KB2013-08-09 13:17700
cube.js17.7 KB2013-08-09 13:1731
orbit.html9.2 KB2013-08-09 13:156
cube.html2.1 KB2013-08-09 13:154
smartcube_v0.2.rar550.6 KB2013-07-11 02:387
smartcube
js
three.min.js401.8 KB2013-07-11 02:34398
stats.min.js2.2 KB2013-07-11 02:34579
OrbitControls.js7.0 KB2013-07-11 02:34841
Detector.js1.9 KB2013-07-11 02:3492
cube.js5.7 KB2013-07-11 02:3459
cube.html0.8 KB2013-07-11 02:335
orbit.html7.5 KB2013-07-11 02:3311