| { | |
| "canvas_size": [ | |
| 1000, | |
| 800 | |
| ], | |
| "layout": "2x3", | |
| "image_size": 300, | |
| "margins": { | |
| "top": 30, | |
| "bottom": 150, | |
| "side": 30, | |
| "inner_spacing": 20 | |
| }, | |
| "selected_images": [ | |
| { | |
| "original_filename": "composite_dice_191.png", | |
| "position": [ | |
| 30, | |
| 30 | |
| ], | |
| "size": 300, | |
| "grid_position": [ | |
| 0, | |
| 0 | |
| ], | |
| "dice_count": 1, | |
| "total_sum": 6, | |
| "dice_details": [ | |
| { | |
| "style": "dots", | |
| "value": 6, | |
| "position": [ | |
| 231, | |
| 136 | |
| ], | |
| "center": [ | |
| 350, | |
| 255 | |
| ], | |
| "size": 185, | |
| "rotation": 20.715956432858327, | |
| "actual_size": [ | |
| 239, | |
| 239 | |
| ], | |
| "placement_order": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "original_filename": "composite_dice_197.png", | |
| "position": [ | |
| 350, | |
| 30 | |
| ], | |
| "size": 300, | |
| "grid_position": [ | |
| 0, | |
| 1 | |
| ], | |
| "dice_count": 1, | |
| "total_sum": 5, | |
| "dice_details": [ | |
| { | |
| "style": "numbers", | |
| "value": 5, | |
| "position": [ | |
| 272, | |
| 159 | |
| ], | |
| "center": [ | |
| 372, | |
| 259 | |
| ], | |
| "size": 185, | |
| "rotation": 4.550348022917078, | |
| "actual_size": [ | |
| 201, | |
| 201 | |
| ], | |
| "placement_order": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "original_filename": "composite_dice_101.png", | |
| "position": [ | |
| 670, | |
| 30 | |
| ], | |
| "size": 300, | |
| "grid_position": [ | |
| 0, | |
| 2 | |
| ], | |
| "dice_count": 1, | |
| "total_sum": 3, | |
| "dice_details": [ | |
| { | |
| "style": "numbers", | |
| "value": 3, | |
| "position": [ | |
| 139, | |
| 202 | |
| ], | |
| "center": [ | |
| 258, | |
| 321 | |
| ], | |
| "size": 185, | |
| "rotation": 20.720024164184508, | |
| "actual_size": [ | |
| 239, | |
| 239 | |
| ], | |
| "placement_order": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "original_filename": "composite_dice_018.png", | |
| "position": [ | |
| 30, | |
| 350 | |
| ], | |
| "size": 300, | |
| "grid_position": [ | |
| 1, | |
| 0 | |
| ], | |
| "dice_count": 1, | |
| "total_sum": 2, | |
| "dice_details": [ | |
| { | |
| "style": "dots", | |
| "value": 2, | |
| "position": [ | |
| 251, | |
| 165 | |
| ], | |
| "center": [ | |
| 373, | |
| 287 | |
| ], | |
| "size": 185, | |
| "rotation": -23.830948323718708, | |
| "actual_size": [ | |
| 245, | |
| 245 | |
| ], | |
| "placement_order": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "original_filename": "composite_dice_194.png", | |
| "position": [ | |
| 350, | |
| 350 | |
| ], | |
| "size": 300, | |
| "grid_position": [ | |
| 1, | |
| 1 | |
| ], | |
| "dice_count": 1, | |
| "total_sum": 5, | |
| "dice_details": [ | |
| { | |
| "style": "numbers", | |
| "value": 5, | |
| "position": [ | |
| 183, | |
| 157 | |
| ], | |
| "center": [ | |
| 308, | |
| 282 | |
| ], | |
| "size": 185, | |
| "rotation": -28.468815456761277, | |
| "actual_size": [ | |
| 251, | |
| 251 | |
| ], | |
| "placement_order": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "original_filename": "composite_dice_007.png", | |
| "position": [ | |
| 670, | |
| 350 | |
| ], | |
| "size": 300, | |
| "grid_position": [ | |
| 1, | |
| 2 | |
| ], | |
| "dice_count": 2, | |
| "total_sum": 8, | |
| "dice_details": [ | |
| { | |
| "style": "numbers", | |
| "value": 6, | |
| "position": [ | |
| 94, | |
| 110 | |
| ], | |
| "center": [ | |
| 213, | |
| 229 | |
| ], | |
| "size": 185, | |
| "rotation": -20.26827878537978, | |
| "actual_size": [ | |
| 239, | |
| 239 | |
| ], | |
| "placement_order": 1 | |
| }, | |
| { | |
| "style": "dots", | |
| "value": 2, | |
| "position": [ | |
| 240, | |
| 245 | |
| ], | |
| "center": [ | |
| 366, | |
| 371 | |
| ], | |
| "size": 185, | |
| "rotation": -29.918090291887744, | |
| "actual_size": [ | |
| 253, | |
| 253 | |
| ], | |
| "placement_order": 2 | |
| } | |
| ] | |
| } | |
| ], | |
| "total_dice_count": 7, | |
| "grand_total_sum": 29, | |
| "selection_strategy": "random", | |
| "bottom_layout": { | |
| "text": { | |
| "content": "Enter the sum: ", | |
| "position": [ | |
| 50, | |
| 696 | |
| ], | |
| "background_rect": [ | |
| 30, | |
| 691, | |
| 609, | |
| 753 | |
| ], | |
| "size": [ | |
| 579, | |
| 57 | |
| ] | |
| }, | |
| "icon": { | |
| "path": "submit3.png", | |
| "position": [ | |
| 663, | |
| 664 | |
| ], | |
| "original_size": [ | |
| 1116, | |
| 378 | |
| ], | |
| "scaled_size": [ | |
| 270, | |
| 135 | |
| ], | |
| "offset": [ | |
| -7, | |
| 14 | |
| ] | |
| } | |
| } | |
| } |