Show HN: Test your shape rotation skills (opens in a new tab)0xf00ff00f.github.io
659 pointsHi all, hope someone enjoys (or not) my weekend project. See how many matching pairs you can find in two minutes.
This is written in C++ and built to WebAssembly with Emscripten. The code is at https://github.com/0xf00ff00f/rotator
Comments (195) 98 threads
Show all comments
Showing thread 4 of 98
Additionally, the auto rotation itself is mostly confusing, could be better to enable manual mouse rotation.
Cool game nonetheless!
Edit: The bug seems to be that shapes with different "DNA" can still be isometric in some cases: https://github.com/0xf00ff00f/rotator/blob/master/demo.cc#L4...
For a "fast filter" generate the center of gravity for each (just the average of the voxel points as doubles) and abs+sort the resulting vector and assume they match if the "Sorted Cog Vector" matches. It will have false positives sometimes but no false negatives.
https://en.wikipedia.org/wiki/International_Chemical_Identif...
https://i.ibb.co/y4p4JSM/20220220-231734.jpg
Thank you!