cubing / cubing.js

🛠 A library for displaying and working with twisty puzzles. Also currently home to the code for Twizzle.
https://js.cubing.net/cubing/
GNU General Public License v3.0
235 stars 42 forks source link

3D SVG for FTO only shows six faces #124

Open rokicki opened 3 years ago

rokicki commented 3 years ago

Go to twizzle explorer; select FTO in the puzzles drop-down, then open options, ensure 3D is selected, and then select SVG from the actions drop-down. The resulting SVG only renders six of the eight faces (the other two are perpendicular to the viewer). A different default orientation should be selected for this. Other puzzles may also be affected.

A simpler way to reproduce is to just run

node dist/bin/puzzle-geometry-bin.js --svg --3d FTO > t.svg ; open -a Safari.app t.svg

The 2D SVG is fine.

lgarron commented 3 years ago

It's so cute!

Screen Shot 2021-07-22 at 20 43 19

Personally, I think reusing the vertex-centered views instead of a net might be nice. R and BR could even be joined at the edge to form a distorted net.

Screen Shot 2021-07-22 at 20 44 08