Comments (2)
I totally understand what is going on now, and unfortunately it will be a bit bigger change than I hoped, requiring me to update the way I record macros. Right now, when I record a macro I only record the "logical" twists that comprise it, e.g. I might save "6:R", which stands for a right-click of the 6th twist. However that 6th twist represents a set of identified twisting circles, not a single twisting circle. When I go to apply the macro, the particular circle that ends up used is the circle (among all identified circles) that is closest to the origin. On orientable puzzles with regular colorings this is all fine, but on non-orientable puzzles it can lead to some completely unintuitive behavior.
To fix, I'm going to need to record either the actual physically clicked locations or the specific twisting circle among the set of identified twisting circles. (It might be enough to just store whether it was a normal or mirrored tile that was clicked, then later make sure to pick a specific twisting circle that matched that. I think that would work for the Klein bottle puzzle, but that might still be less optimal for non-regular colorings.)
A little bit of history on why the one closest to the origin is used. That fixed an issue Nan reported early on where the transformation of a macro could move the macro off of the tiling (at least off of how far I had recursed it). So this change will need to take care to not break that again.
For those following this issue, I'm not sure when I'm going to get this done.
from magictile.
It might be nice to consider issue #1 at the same time.
from magictile.
Related Issues (20)
- Surface mode for an unsliced tiling crashes! HOT 1
- Undo and half-turn metric
- Macro modifiers should highlight the grip and stop highlighting cutting circles.
- Restoring previous puzzle and macros file on restart would be nice
- Point to the solutions wiki page somewhere in the program
- Android version please HOT 1
- Support Jumbling Puzzles HOT 1
- Table view of puzzles
- Cannot run in debug env HOT 1
- Allow the faces to be arbitrary images
- Idea: Cooperative solving of huge puzzles HOT 3
- Build for Linux HOT 11
- Mac: OpenGL canvas slightly misaligned
- No puzzles HOT 14
- Idea: Implement a TNoodle like algorithm
- Macros broken on KQ Earthquake puzzle
- Support for truncated, rectified, etc. tilings.
- xml puzzle format
- Example of how to move across or traverse a 2D tessellation like HyperRogue? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magictile.