diff --git a/docs/demo.js b/docs/demo.js index 2efbe39..24bb305 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -31,7 +31,7 @@ // Generate a scramble Cube.asyncScramble(function(alg) { let safeAlgo = alg.replace(/\s+/g, ''); // remove spaces - let url = `http://cube.crider.co.uk/visualcube.php?fmt=svg&size=150&pzl=3&alg=${safeAlgo}`; + let url = `http://cube.rider.biz/visualcube.php?fmt=svg&size=150&pzl=3&alg=${safeAlgo}`; $('#randomstate .result').html(`${alg}
`); }); } diff --git a/docs/index.html b/docs/index.html index 6f0d4e4..6b6b94d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,7 +32,7 @@

cube.js random-state scrambler This is a simple random state scrambler created with cube.js. After the initialization is complete, click on the "generate random scramble" button to generate a random-state scramble.

- Graphics are generated using Conrad Rider's VisualCube. + Graphics are generated using Conrad Rider's VisualCube.

The demo scrambler and its code are presented below. Click here for a standalone page. @@ -106,7 +106,7 @@

The code

// Generate a scramble Cube.asyncScramble(function(alg) { var s = alg.replace(/\s+/g, ''), // remove spaces - url = "http://cube.crider.co.uk/visualcube.png?size=150&alg=" + s; + url = "http://cube.rider.biz/visualcube.png?size=150&alg=" + s; $('#randomstate .result').html(alg + "<br><img src=\"" + url + "\">"); }); };