1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00
This commit is contained in:
Zeno Rogue 2019-09-13 18:05:50 +02:00
commit e5ac34e211
2 changed files with 150 additions and 0 deletions

43
papermodeldata-help.txt Normal file
View File

@ -0,0 +1,43 @@
99 1280 905 2 2 3 2000 27.7010000 0
How to create your own net for a paper model:
1) Edit the parameters above. These are:
a) How many cells to put in the model. Currently, the cells are given in order
of increasing distance from the player, so you should probably enter one of
the numbers from the list below (if the player is placed on a heptagon):
1 8 22 50 99 183 330 582
For example, there are 50 cells in radius 3.
b) (SX,SY) Size of the window used to edit the net. For example 1280x905
c) (PX,PY) How many pages you are going to print. For best results,
(SX/PX, SY/PY) should correspond to the size of the paper you are using.
d) Scale factor. Bigger scale creates files of a larger resolution,
but uses more memory and disk space. 3 is default.
e) Model size. Bigger number creates files of a better quality,
but uses more memory and disk space. 2000 is default.
f) Edge length of each shape, in pixels. You can change this later while editing.
g) Keep this as 0 to mark that the net is not yet created.
2) Make a backup of papermodeldata.txt, and copy this file to papermodeldata.txt.
3) Run HyperRogue, and choose the 'create paper models' option.
4) A net editor is shown. Initially, all the cells are glued together, and they don't
fit in the Euclidean plane. You have to distribute them over the screen, so that
they are no longer covering each other. Hover over a glued edge, press 'g' to
unglue them, and then drag one of the parts away with the mouse.
You can also use 'g' to glue an edge back, PgUp/Dn to rotate a fragment of the net,
z/x to resize the model.
5) After you exit the editor, papermodeldata2.txt will contain the data of the net
you have created. If you want to reuse it, just copy this to papermodeldata.txt.

107
papermodeldata.txt Normal file
View File

@ -0,0 +1,107 @@
50 1280 905 2 2 3 2000 27.7010000 1
7 6 6 6 6 6 6 6 6 7 7 6 7 6 7 6 7 6 7 6 7 6 7 6 6 6 6 6 6 7 6 6 6 7 6 6 6 7 6 6 6 7 6 6 6 7 6 6 6 7
-0.348809 0.167978 -0.348809 -0.167978 -0.086149 -0.377442 0.241383 -0.302685 0.387149 0.000000 0.241383 0.302685 -0.086149 0.377442 0.000000 0.000000
-0.348809 -0.167978 -0.697618 -0.335955 -0.783767 -0.713398 -0.521107 -0.922863 -0.172298 -0.754885 -0.086149 -0.377442 0.000000 0.000000 -0.412312 -0.517023
-0.086149 -0.377442 -0.172298 -0.754885 0.069086 -1.057570 0.396618 -0.982813 0.482767 -0.605371 0.241383 -0.302685 0.000000 0.000000 0.147152 -0.644717
0.241383 -0.302685 0.482767 -0.605371 0.869916 -0.605371 1.015682 -0.302685 0.774298 -0.000000 0.387149 -0.000000 0.000000 0.000000 0.595808 -0.286926
0.387149 0.000000 0.774298 0.000000 1.015682 0.302685 0.869916 0.605371 0.482767 0.605371 0.241383 0.302685 0.000000 0.000000 0.595808 0.286926
0.241383 0.302685 0.482767 0.605371 0.396618 0.982813 0.069086 1.057570 -0.172298 0.754885 -0.086149 0.377442 0.000000 0.000000 0.147152 0.644717
-0.086149 0.377442 -0.172298 0.754885 -0.521107 0.922863 -0.783767 0.713398 -0.697618 0.335955 -0.348809 0.167978 0.000000 0.000000 -0.412312 0.517023
-0.348809 0.167978 -0.697618 0.335955 -1.046428 0.167978 -1.046428 -0.167978 -0.697618 -0.335955 -0.348809 -0.167978 0.000000 0.000000 -0.661297 0.000000
-1.240002 -1.016083 -1.433577 -1.528233 -1.170916 -1.737698 -0.714681 -1.435013 -0.521107 -0.922863 -0.783767 -0.713398 0.000000 0.000000 -0.926456 -1.161740
-0.607256 -1.905676 -0.279723 -1.980433 0.021277 -1.602990 0.069086 -1.057570 -0.172298 -0.754885 -0.521107 -0.922863 -0.714681 -1.435013 -0.293714 -1.286845
-1.868535 -0.713398 -1.722769 -1.016083 -1.240002 -1.016083 -0.783767 -0.713398 -0.697618 -0.335955 -1.046428 -0.167978 -1.567535 -0.335955 -1.189224 -0.572700
0.021277 -1.602990 0.301000 -2.073653 0.628533 -1.998896 0.676341 -1.453476 0.396618 -0.982813 0.069086 -1.057570 0.000000 0.000000 0.330648 -1.448666
1.111300 -1.662941 1.373960 -1.453476 1.266534 -0.982813 0.869916 -0.605371 0.482767 -0.605371 0.396618 -0.982813 0.676341 -1.453476 0.822968 -1.031970
1.266534 -0.982813 1.808918 -1.057570 1.954684 -0.754885 1.558065 -0.377442 1.015682 -0.302685 0.869916 -0.605371 0.000000 0.000000 1.338768 -0.644717
1.993023 -0.167978 1.993023 0.167978 1.558065 0.377442 1.015682 0.302685 0.774298 -0.000000 1.015682 -0.302685 1.558065 -0.377442 1.319939 0.000000
1.558065 0.377442 1.954684 0.754885 1.808918 1.057570 1.266534 0.982813 0.869916 0.605371 1.015682 0.302685 0.000000 0.000000 1.338768 0.644717
1.373960 1.453476 1.111300 1.662941 0.676341 1.453476 0.396618 0.982813 0.482767 0.605371 0.869916 0.605371 1.266534 0.982813 0.822968 1.031970
0.676341 1.453476 0.628533 1.998896 0.301000 2.073653 0.021277 1.602990 0.069086 1.057570 0.396618 0.982813 0.000000 0.000000 0.330648 1.448666
-0.279723 1.980433 -0.607256 1.905676 -0.714681 1.435013 -0.521107 0.922863 -0.172298 0.754885 0.069086 1.057570 0.021277 1.602990 -0.293714 1.286845
-0.714681 1.435013 -1.170916 1.737698 -1.433577 1.528233 -1.240002 1.016083 -0.783767 0.713398 -0.521107 0.922863 0.000000 0.000000 -0.926456 1.161740
-1.722769 1.016083 -1.868535 0.713398 -1.567535 0.335955 -1.046428 0.167978 -0.697618 0.335955 -0.783767 0.713398 -1.240002 1.016083 -1.189224 0.572700
-1.567535 0.335955 -2.088641 0.167978 -2.088641 -0.167978 -1.567535 -0.335955 -1.046428 -0.167978 -1.046428 0.167978 0.000000 0.000000 -1.485921 0.000000
-2.738451 -3.433909 -2.217344 -3.265931 -1.519726 -2.511046 -1.170916 -1.737698 -1.433577 -1.528233 -2.109918 -2.040383 -2.690642 -2.888489 -1.849193 -2.318815
-1.519726 -2.511046 -1.412300 -2.981709 -0.956065 -2.679024 -0.607256 -1.905676 -0.714681 -1.435013 -1.170916 -1.737698 0.000000 0.000000 -1.008120 -2.093383
-1.722769 -1.016083 -2.399111 -1.528233 -2.592685 -2.040383 -2.109918 -2.040383 -1.433577 -1.528233 -1.240002 -1.016083 0.000000 0.000000 -1.816569 -1.448666
-0.607256 -1.905676 -0.956065 -2.679024 -0.977342 -3.527129 -0.649810 -3.601886 -0.301000 -2.828538 -0.279723 -1.980433 0.000000 0.000000 -0.595808 -2.610405
-0.279723 -1.980433 -0.301000 -2.828538 -0.021277 -3.299201 0.279723 -2.921759 0.301000 -2.073653 0.021277 -1.602990 0.000000 0.000000 -0.000000 -2.323479
-2.910748 -0.377442 -3.211749 -0.754885 -2.690642 -0.922863 -1.868535 -0.713398 -1.567535 -0.335955 -2.088641 -0.167978 0.000000 0.000000 -2.265225 -0.517023
-1.868535 -0.713398 -2.690642 -0.922863 -3.366983 -1.435013 -3.221218 -1.737698 -2.399111 -1.528233 -1.722769 -1.016083 0.000000 0.000000 -2.412377 -1.161740
0.977342 -4.282014 1.170916 -3.769864 1.015682 -2.753781 0.628533 -1.998896 0.301000 -2.073653 0.279723 -2.921759 0.580724 -3.904572 0.659969 -2.891515
1.015682 -2.753781 1.450640 -2.963246 1.498449 -2.417826 1.111300 -1.662941 0.676341 -1.453476 0.628533 -1.998896 0.000000 0.000000 1.008120 -2.093383
1.111300 -1.662941 1.498449 -2.417826 2.148258 -2.963246 2.410919 -2.753781 2.023770 -1.998896 1.373960 -1.453476 0.000000 0.000000 1.669417 -2.093383
1.373960 -1.453476 2.023770 -1.998896 2.566153 -2.073653 2.458728 -1.602990 1.808918 -1.057570 1.266534 -0.982813 0.000000 0.000000 1.816569 -1.448666
3.957176 -1.905676 3.677453 -1.435013 2.786260 -0.922863 1.954684 -0.754885 1.808918 -1.057570 2.458728 -1.602990 3.414792 -1.980433 2.672162 -1.286845
2.786260 -0.922863 3.221218 -0.713398 2.824600 -0.335955 1.993023 -0.167978 1.558065 -0.377442 1.954684 -0.754885 0.000000 0.000000 2.265225 -0.517023
1.993023 -0.167978 2.824600 -0.335955 3.656176 -0.167978 3.656176 0.167978 2.824600 0.335955 1.993023 0.167978 0.000000 0.000000 2.677537 0.000000
1.993023 0.167978 2.824600 0.335955 3.221218 0.713398 2.786260 0.922863 1.954684 0.754885 1.558065 0.377442 0.000000 0.000000 2.265225 0.517023
3.957176 1.905676 3.414792 1.980433 2.458728 1.602990 1.808918 1.057570 1.954684 0.754885 2.786260 0.922863 3.677453 1.435013 2.672162 1.286845
2.458728 1.602990 2.566153 2.073653 2.023770 1.998896 1.373960 1.453476 1.266534 0.982813 1.808918 1.057570 0.000000 0.000000 1.816569 1.448666
1.373960 1.453476 2.023770 1.998896 2.410919 2.753781 2.148258 2.963246 1.498449 2.417826 1.111300 1.662941 0.000000 0.000000 1.669417 2.093383
1.111300 1.662941 1.498449 2.417826 1.450640 2.963246 1.015682 2.753781 0.628533 1.998896 0.676341 1.453476 0.000000 0.000000 1.008120 2.093383
0.977342 4.282014 0.580724 3.904572 0.279723 2.921759 0.301000 2.073653 0.628533 1.998896 1.015682 2.753781 1.170916 3.769864 0.659969 2.891515
0.279723 2.921759 -0.021277 3.299201 -0.301000 2.828538 -0.279723 1.980433 0.021277 1.602990 0.301000 2.073653 0.000000 0.000000 0.000000 2.323479
-0.279723 1.980433 -0.301000 2.828538 -0.649810 3.601886 -0.977342 3.527129 -0.956065 2.679024 -0.607256 1.905676 0.000000 0.000000 -0.595808 2.610405
-0.607256 1.905676 -0.956065 2.679024 -1.412300 2.981709 -1.519726 2.511046 -1.170916 1.737698 -0.714681 1.435013 0.000000 0.000000 -1.008120 2.093383
-2.738451 3.433909 -2.690642 2.888489 -2.109918 2.040383 -1.433577 1.528233 -1.170916 1.737698 -1.519726 2.511046 -2.217344 3.265931 -1.849193 2.318815
-1.240002 1.016083 -1.433577 1.528233 -2.109918 2.040383 -2.592685 2.040383 -2.399111 1.528233 -1.722769 1.016083 0.000000 0.000000 -1.816569 1.448666
-1.722769 1.016083 -2.399111 1.528233 -3.221218 1.737698 -3.366983 1.435013 -2.690642 0.922863 -1.868535 0.713398 0.000000 0.000000 -2.412377 1.161740
-1.868535 0.713398 -2.690642 0.922863 -3.211749 0.754885 -2.910748 0.377442 -2.088641 0.167978 -1.567535 0.335955 0.000000 0.000000 -2.265225 0.517023
-4.392134 0.000000 -3.935899 -0.302685 -2.910748 -0.377442 -2.088641 -0.167978 -2.088641 0.167978 -2.910748 0.377442 -3.935899 0.302685 -2.965876 0.000000
0 1 1 0 2 2 0 3 3 0 4 4 0 5 5 0 6 6 0 7 0 1 0 0 1 2 5 1 7 1 1 8 3 1 9 4 1 10 2 2 0 0 2 1 1 2 3 5 2 9 2 2 11 3 2 12 4 3 0 0 3 2 1 3 4 5 3 12 2 3 13 3 3 14 4 4 0 0 4 3 1 4 5 5 4 14 2 4 15 3 4 16 4 5 0 0 5 4 1 5 6 5 5 16 2 5 17 3 5 18 4 6 0 0 6 5 1 6 7 5 6 18 2 6 19 3 6 20 4 7 0 0 7 1 5 7 6 1 7 10 4 7 20 2 7 21 3 8 1 5 8 9 4 8 10 0 8 22 2 8 23 3 8 24 1 9 1 4 9 2 3 9 8 5 9 11 2 9 23 6 9 25 0 9 26 1 10 1 3 10 7 4 10 8 2 10 21 5 10 24 1 10 27 6 10 28 0 11 2 5 11 9 0 11 12 4 11 26 1 11 29 2 11 30 3 12 2 4 12 3 3 12 11 5 12 13 2 12 30 6 12 31 0 12 32 1 13 3 5 13 12 0 13 14 4 13 32 1 13 33 2 13 34 3 14 3 4 14 4 3 14 13 5 14 15 2 14 34 6 14 35 0 14 36 1 15 4 5 15 14 0 15 16 4 15 36 1 15 37 2 15 38 3 16 4 4 16 5 3 16 15 5 16 17 2 16 38 6 16 39 0 16 40 1 17 5 5 17 16 0 17 18 4 17 40 1 17 41 2 17 42 3 18 5 4 18 6 3 18 17 5 18 19 2 18 42 6 18 43 0 18 44 1 19 6 5 19 18 0 19 20 4 19 44 1 19 45 2 19 46 3 20 6 4 20 7 3 20 19 5 20 21 2 20 46 6 20 47 0 20 48 1 21 7 5 21 10 4 21 20 0 21 27 3 21 48 1 21 49 2 22 8 3 22 23 2 22 24 4 23 8 5 23 9 4 23 22 0 23 25 3 24 8 5 24 10 0 24 22 4 24 28 1 25 9 0 25 23 1 25 26 5 26 9 0 26 11 5 26 25 1 26 29 4 27 10 4 27 21 5 27 28 3 27 49 0 28 10 0 28 24 5 28 27 1 29 11 3 29 26 4 29 30 2 30 11 5 30 12 4 30 29 0 30 31 3 31 12 0 31 30 1 31 32 5 32 12 0 32 13 5 32 31 1 32 33 4 33 13 3 33 32 4 33 34 2 34 13 5 34 14 4 34 33 0 34 35 3 35 14 0 35 34 1 35 36 5 36 14 0 36 15 5 36 35 1 36 37 4 37 15 3 37 36 4 37 38 2 38 15 5 38 16 4 38 37 0 38 39 3 39 16 0 39 38 1 39 40 5 40 16 0 40 17 5 40 39 1 40 41 4 41 17 3 41 40 4 41 42 2 42 17 5 42 18 4 42 41 0 42 43 3 43 18 0 43 42 1 43 44 5 44 18 0 44 19 5 44 43 1 44 45 4 45 19 3 45 44 4 45 46 2 46 19 1 46 20 0 46 45 2 46 47 5 47 20 0 47 46 1 47 48 5 48 20 0 48 21 5 48 47 1 48 49 4 49 21 3 49 27 2 49 48 4 -1 -1 -1
972.0000000 796.0000000 8.6670000 -1
571.0000000 223.0000000 0.0000000 -1
963.0873878 690.8758785 13.5289886 0
324.0352679 644.9533145 10.6623767 14
1076.4716831 810.7031633 15.3241844 0
450.1716464 366.9928586 0.5758024 6
546.0000000 372.0000000 1.6230000 -1
871.4948025 828.0814721 11.7337928 0
487.8970000 175.0204606 1.0471976 1
107.7973103 363.2971573 10.4187867 -1
793.4588340 757.0821539 15.5485839 7
212.8086289 373.4528720 15.2807753 9
1049.6712415 630.5952692 17.3437797 2
713.0000000 613.0000000 0.0000000 -1
224.3364348 679.4592307 8.1939825 -1
1171.4943074 824.0764825 16.3713820 4
169.0000000 88.0000000 0.4590000 -1
73.4846483 132.8032718 5.3209886 16
498.8686198 732.7959490 12.3199650 -1
927.8489035 298.6347553 14.2017683 20
1033.1300924 305.4455434 10.8357762 -1
1125.0300758 357.2616474 15.6977648 20
350.0000000 84.0000000 -2.5560000 -1
487.8970000 79.0613817 2.0943951 8
404.7940000 223.0000000 0.0000000 8
94.3311834 258.6588326 13.4855795 9
846.0000000 563.0000000 0.0000000 -1
706.8749803 817.3627631 19.8121739 10
723.0000000 217.0000000 0.0000000 -1
274.1093951 287.5882598 17.8987692 11
1010.1687129 532.7685561 21.6073697 12
1214.0000000 513.0000000 1.9350000 -1
1153.8353743 613.8516431 21.3081704 12
332.3465379 826.8544964 13.8787692 34
235.7921382 784.3366946 12.4575725 14
109.0000000 812.0000000 -1.4490000 -1
119.5393341 667.2902844 12.1583732 14
77.6794003 570.4488599 15.9731643 36
162.7780967 508.0891978 20.8351529 37
233.9341255 171.1509165 3.5257928 16
456.5152637 555.6990535 20.4731459 41
561.8695313 561.2662668 18.0047517 42
579.8854296 665.2179045 16.5835550 18
778.8456974 372.2722390 12.1073732 44
832.0899899 292.4399765 13.1545708 19
830.0000000 111.0000000 4.1130000 -1
935.2140124 118.7799209 6.8805935 45
1063.1973883 204.3195166 13.9025690 20
1190.2093989 155.6242534 14.6895673 -1
1215.8541298 303.5819791 18.3157587 21