simon-git: tilings (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Jun 22 06:56:54 BST 2024


TL;DR:
  1ed3bde Ergonomic improvements to --findcoords input.
  c07ef4e Allow --patch to write --findcoords output.
  e48b770 Add coordinate annotations in --patch's output SVG.

Repository:     https://git.tartarus.org/simon/tilings.git
On the web:     https://git.tartarus.org/?p=simon/tilings.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2024-06-22 06:56:54

commit 1ed3bde86968fd3d5fde09fa2e0782f1e818c491
web diff https://git.tartarus.org/?p=simon/tilings.git;a=commitdiff;h=1ed3bde86968fd3d5fde09fa2e0782f1e818c491;hp=acb752582935a11fdef1df6238b161f6344b0908
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Jun 20 08:29:48 2024 +0100

    Ergonomic improvements to --findcoords input.
    
    My initial runs of this mode were on tiling patch descriptions I'd
    generated automatically from data in another format, which happened to
    show all tile edges bidirectionally. So I completely missed the fact
    that if you only say A edge 1 is adjacent to B edge 2, and not vice
    versa, then the walk generated by depth-first search crashes when it
    tries to retrace its steps. Now we ensure all adjacencies are
    symmetric when we read the input.
    
    Also, tolerate blank lines and comments, on the general principle that
    if humans are writing this format, they'll need both.

 toplevel.sage | 3 +++
 1 file changed, 3 insertions(+)

commit c07ef4e150ee595c640da21f76fd558a691cfba6
web diff https://git.tartarus.org/?p=simon/tilings.git;a=commitdiff;h=c07ef4e150ee595c640da21f76fd558a691cfba6;hp=1ed3bde86968fd3d5fde09fa2e0782f1e818c491
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Jun 20 08:58:24 2024 +0100

    Allow --patch to write --findcoords output.
    
    This allows some experimentation with translating between coordinate
    systems, in a slow kind of way, by making a patch of tiling from an
    input coordinate string in one substitution system and then asking
    what its coordinates might be in another.

 toplevel.sage | 83 ++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 56 insertions(+), 27 deletions(-)

commit e48b770da1f72e3e7d6b10039f6aa90cbfc70c88
web diff https://git.tartarus.org/?p=simon/tilings.git;a=commitdiff;h=e48b770da1f72e3e7d6b10039f6aa90cbfc70c88;hp=c07ef4e150ee595c640da21f76fd558a691cfba6
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Jun 21 08:00:45 2024 +0100

    Add coordinate annotations in --patch's output SVG.
    
    That way you can not only see _where_ the infinite supertile
    boundaries are, but also find out _what_ they are easily. (And finite
    coordinates too, if you're interested in the mundane :-)

 toplevel.sage | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list