This project is a demo of the user widgets system. It displays a Rubik's cube in the Lean infoview. Inspired by the rubiks-cube-group from Kendal Frey.
The purpose of this example is to show how to build widgets using TypeScript and bundled NPM libraries.
In order to build you need Lean 4 and Node.js. You also need to be using VSCode (or a Gitpod). First run
lake build rubiksJsand then open Rubiks.lean in the editor. Put your cursor over the #widget command and you should
see an interactive Rubik's cube in the infoview.
