Skip to content

In support of my team at MEGL, a much faster polyform shuffler written in Rust

License

Notifications You must be signed in to change notification settings

dgramop/faster_polyforms

Repository files navigation

Screen Shot 2022-10-08 at 7 24 45 PM

MEGL Polyforms: Rust Version

CI

Here is an accelerated version of what was originally prototyped in the Colab, with a few improvements

Speed:

  • Incremental computation of the set of possible locations to insert a piece such that it's strongly connected to something
  • Early termination for the naive algorithm
  • (soon: cut algorithm and threading)

Quality of life:

  • Live rendering
  • Easy CLI configuration

What if we had one thread find all contiguous blocks on the left side of center, another thread find all contiguous blocks right of center, and then see if each contiguous block to the left is contiguous with a block on the right at the end.

In action with the slower "render" mode:

ezgif com-gif-maker

See a version that shuffles in your browser with web assembly at my website

About

In support of my team at MEGL, a much faster polyform shuffler written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •