SolvingRubik
Member
- Joined
- Jan 24, 2019
- Messages
- 16
Hey, I'm back to share something I've been sitting on for awhile.
This is my new javascript library PuzzleGen. A library to draw puzzle images in the DOM. Full 3d models of all puzzles are supported, as well as 2d "net" views of puzzles
Here is the GitHub
Here is some documentation
Here is an app I wrote to see it in action
It takes inspiration from my previous port of Visualcube. But this is rewritten entirely from scratch and supports all WCA puzzles (except clock). It's mainly for showing scramble previews, or demonstrations for tutorials.
This is not intended to be an interactive/animated puzzle preview, rather just rendering a static image to the screen. But hopefully it's useful enough to build whatever you want with it.
Here are some examples
One cool feature I am proud of is the ability to write a custom renderer. This lets you use the library in a context without a DOM. (ex. react native, or a node.js app running server side)
Happy to hear any feedback. Or if you find any issues feel free to report them on github.
This is my new javascript library PuzzleGen. A library to draw puzzle images in the DOM. Full 3d models of all puzzles are supported, as well as 2d "net" views of puzzles
Here is the GitHub
Here is some documentation
Here is an app I wrote to see it in action
It takes inspiration from my previous port of Visualcube. But this is rewritten entirely from scratch and supports all WCA puzzles (except clock). It's mainly for showing scramble previews, or demonstrations for tutorials.
This is not intended to be an interactive/animated puzzle preview, rather just rendering a static image to the screen. But hopefully it's useful enough to build whatever you want with it.
Here are some examples
One cool feature I am proud of is the ability to write a custom renderer. This lets you use the library in a context without a DOM. (ex. react native, or a node.js app running server side)
Happy to hear any feedback. Or if you find any issues feel free to report them on github.
Last edited: