Skip to content

High speed solver without animation #3

@trichoplax

Description

@trichoplax

Have an option for omitting the animation to find and display all of the solutions as quickly as possible.

This may mean rewriting the current manual recursion stack to use built in recursion. Ideally this would be written in a way which allows it to be used for both the slow animated approach and the fast approach.

Would coroutines / generator functions allow animation during a recursive process, and also allow high speed processing without animation?

Ideally the page would remain responsive to inputs during solving, but not redraw between every step of the algorithm. Perhaps running as many consecutive steps as can fit into a few milliseconds (perhaps a user input threshold?) and then returning control to the event loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions