Coder Social home page Coder Social logo

Comments (2)

roice3 avatar roice3 commented on August 26, 2024

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.

roice3 avatar roice3 commented on August 26, 2024

It might be nice to consider issue #1 at the same time.

from magictile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.