Skip to content

Repository files navigation

Magic Snake Workbench

A browser-based 3D editor and player for designing Rubik's Snake shapes. It supports 24, 36, 48, and 72-piece snakes and runs entirely on the client side.

Live demo

Magic Snake Workbench

Features

  • Select pieces in the 3D view and rotate their joints
  • Enter and convert between 0123 pose encoding, speed-solving notation, and parenthesized formulas
  • Browse built-in shapes and play their folding sequences step by step
  • Detect overlapping pieces in the final pose using exact geometry
  • Automatically frame shapes during playback and control the camera with the mouse or axis buttons
  • Share the current shape through the URL hash
  • Switch between Chinese and English interfaces

Local development

Node.js and npm are required.

npm install
npm run dev

Open the local address shown in the terminal.

Checks and production build

npm run lint
npm test
npm run build

About

A 3D editor and player for designing and sharing Rubik’s Snake shapes.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages