Skip to content

A php script for generating Rubik's Cube visualisations

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

minterior/visualcube

 
 

Repository files navigation

VisualCube

Generate custom Rubik's cube visualisations from your browser address bar.

Installation Instructions

These instructions are for installing the script on your own web server. If you do not have access to your own server, or would just like to try out the software, please visit: http://cube.crider.co.uk/visualcube.php

Prerequisites
  • Access to an Apache web server with PHP and ImageMagic installed.
  • A MySQL database. This is optional, but will improve performance if you have a high traffic website.
Steps
  1. Download and extract the code into a web-accessible folder.
  2. Edit the configuration variables in visualcube_config.php
  3. Point your browser to: www.yourwebsite.com/visualcube.php
  4. (Optional) Edit DB_USER, DB_PASS and DB_NAME in visualcube_dbprune.sh and install the cron job.

Features

  • Fully 3D cube visualisation
  • Cube dimensions from 1x1x1 to NxNxN. Currently capped at 9x9 for performance.
  • Algorithm support
  • Complete orientation control
  • Multiple image formats
  • Custom image size
  • Cube and facelet transparency
  • Custom colour schemes and background
  • Image caching for speedy access
  • Cookie configurable variables
  • Arrow overlays
  • Highly configurable URL-based API
  • Open Source

About

A php script for generating Rubik's Cube visualisations

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.7%
  • CSS 2.5%
  • Shell 0.8%