Skip to content

Instantly share code, notes, and snippets.

@kungfoomanchu
Last active May 14, 2020 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kungfoomanchu/7ebfd46bfa98dafc42bccb12df0d6e3d to your computer and use it in GitHub Desktop.
Save kungfoomanchu/7ebfd46bfa98dafc42bccb12df0d6e3d to your computer and use it in GitHub Desktop.
requirebin_SRVisualizer
const SRVisualizer = require("sr-visualizer");
SRVisualizer.cubePNG(document.body, {
cubeSize: 3, // 3x3 cube
width: 500, // width/height of the svg
height: 500,
algorithm: "RUR'U'",
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment