Friday, August 19, 2022

visual web: Rubik's Cube with three.js or canvas

larspetrus/Roofpig: Rubik's Cube animation for the modern web. @GitHub

Roofpig is an animated, programmable and interactive Rubik's Cube for the modern web. It uses WebGL or plain Canvas (by way of three.js) and is written in CoffeeScript. You can see it in use on http://lar5.com/cube/, or play with demos.


Roofpig Feature Sample - JSFiddle - Code Playground

Roofpig Alg Demo - JSFiddle - Code Playground (jsfiddle.net)

How to Solve The Rubik's Cube