ericmichael / polyomino

Self-Assembly of Polyomino Tiles
3 stars 2 forks source link

Automatic centering after loading #45

Open ericmichael opened 9 years ago

ericmichael commented 9 years ago

When loading ISU TAS files, not all seeds start near the origin (0,0). This makes it to where you have to pan around to find the seed. This can be seen when loading _simpleTM.tds

SierpinskiCarpet.tds
Temperature=2
SEED 7 7 0

If you notice, the file specifies that the assembly process begins with the tile named SEED in location (7,7,0), for us (7,7) since we only support 2D ISU TAS aTAM files.

This seed is actually off the screen after loading the assembly. We should always center the screen upon loading.