Воссоздаёт объект по одному изображению в виде процедурного TypeScript-кода для Three.js, готового к анимации, а не файла с мешем.
regomne/magic-snake
A browser-based 3D editor and player for designing and sharing Rubik's Snake shapes with 24, 36, 48, or 72 pieces.
- Звёзды
- 69
- Форки
- 9
- Открытые issues
- 0
- Последний коммит
- 3 месяца назад
Что это?
Magic Snake Workbench is a browser-based 3D editor and player for Rubik's Snake shapes. It supports 24, 36, 48, and 72-piece snakes and runs entirely on the client side, so no server is needed to use it.
Users can select pieces in the 3D view, rotate their joints, and enter or convert between 0123 pose encoding, speed-solving notation, and parenthesized formulas. Built-in shapes can be browsed and their folding sequences played back step by step, with classic or rainbow colors or a custom cyclic palette. Overlapping pieces in the final pose are detected using exact geometry.
The current shape can be shared through the URL hash, and the interface is available in Chinese and English. The project is built with TypeScript and Three.js and can be run locally with npm.
Ключевые возможности
- 01Select and rotate pieces of a Rubik's Snake in a 3D view
- 02Convert between 0123 pose encoding, speed-solving notation, and formulas
- 03Play built-in folding sequences step by step
- 04Choose classic or rainbow colors, or define a custom cyclic palette
- 05Detect overlapping pieces in the final pose
Сценарии использования
- Designing new Rubik's Snake shapes before building them physically
- Learning folding sequences by watching built-in shapes play back
- Sharing a specific shape with others through a link
Темы
Частые вопросы
- Что такое magic-snake?
- A browser-based 3D editor and player for designing and sharing Rubik's Snake shapes with 24, 36, 48, or 72 pieces. Magic Snake Workbench is a browser-based 3D editor and player for Rubik's Snake shapes. It supports 24, 36, 48, and 72-piece snakes and runs entirely on the client side, so no server is needed to use it.
- magic-snake можно использовать бесплатно? Какая у него лицензия?
- У magic-snake не указана лицензия. Код открыт, но без лицензии нет явного разрешения на его использование — уточните у автора, прежде чем на него полагаться.
- magic-snake всё ещё поддерживается?
- Обновлялся за последние 6 месяцев. Последний коммит в magic-snake — 4 авг. 2026 г..
- Для чего можно использовать magic-snake?
- Designing new Rubik's Snake shapes before building them physically Learning folding sequences by watching built-in shapes play back Sharing a specific shape with others through a link
- Где скачать magic-snake?
- Исходный код и инструкции по установке — на GitHub: https://github.com/regomne/magic-snake
Описание создано ИИ на основе README проекта. Статистика GitHub обновляется ежедневно.
Похожие проекты
Набор из девяти навыков агентов Codex и Claude Code для создания готовых к игре, отполированных браузерных игр на Three.js; навык-директор распределяет задачи.
Бесплатный двуязычный 3D-музей в браузере, где маленькие дети и взрослые изучают доисторических животных суши, моря и неба.
Interactive 3D insect field guide where 63 species are modeled procedurally in the browser with TypeScript and Three.js, with no model files.
An offline-capable interactive web app that reconstructs the local night sky in the browser for any place and time.
Открытый каталог интерактивных UI-компонентов на Three.js/WebGL без входа в систему, с интерактивными превью и полным исходным кодом на React.