| { |
| "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_129.png", |
| "position": [ |
| 30, |
| 30 |
| ], |
| "size": 300, |
| "grid_position": [ |
| 0, |
| 0 |
| ], |
| "dice_count": 1, |
| "total_sum": 2, |
| "dice_details": [ |
| { |
| "style": "numbers", |
| "value": 2, |
| "position": [ |
| 278, |
| 195 |
| ], |
| "center": [ |
| 390, |
| 307 |
| ], |
| "size": 185, |
| "rotation": 14.139935574973364, |
| "actual_size": [ |
| 225, |
| 225 |
| ], |
| "placement_order": 1 |
| } |
| ] |
| }, |
| { |
| "original_filename": "composite_dice_013.png", |
| "position": [ |
| 350, |
| 30 |
| ], |
| "size": 300, |
| "grid_position": [ |
| 0, |
| 1 |
| ], |
| "dice_count": 1, |
| "total_sum": 2, |
| "dice_details": [ |
| { |
| "style": "numbers", |
| "value": 2, |
| "position": [ |
| 216, |
| 122 |
| ], |
| "center": [ |
| 330, |
| 236 |
| ], |
| "size": 185, |
| "rotation": 15.580497448854317, |
| "actual_size": [ |
| 229, |
| 229 |
| ], |
| "placement_order": 1 |
| } |
| ] |
| }, |
| { |
| "original_filename": "composite_dice_159.png", |
| "position": [ |
| 670, |
| 30 |
| ], |
| "size": 300, |
| "grid_position": [ |
| 0, |
| 2 |
| ], |
| "dice_count": 2, |
| "total_sum": 4, |
| "dice_details": [ |
| { |
| "style": "numbers", |
| "value": 3, |
| "position": [ |
| 250, |
| 116 |
| ], |
| "center": [ |
| 354, |
| 220 |
| ], |
| "size": 185, |
| "rotation": 7.446356911887207, |
| "actual_size": [ |
| 209, |
| 209 |
| ], |
| "placement_order": 1 |
| }, |
| { |
| "style": "dots", |
| "value": 1, |
| "position": [ |
| 95, |
| 243 |
| ], |
| "center": [ |
| 216, |
| 364 |
| ], |
| "size": 185, |
| "rotation": -22.638164949468376, |
| "actual_size": [ |
| 243, |
| 243 |
| ], |
| "placement_order": 2 |
| } |
| ] |
| }, |
| { |
| "original_filename": "composite_dice_179.png", |
| "position": [ |
| 30, |
| 350 |
| ], |
| "size": 300, |
| "grid_position": [ |
| 1, |
| 0 |
| ], |
| "dice_count": 2, |
| "total_sum": 6, |
| "dice_details": [ |
| { |
| "style": "numbers", |
| "value": 1, |
| "position": [ |
| 194, |
| 259 |
| ], |
| "center": [ |
| 314, |
| 379 |
| ], |
| "size": 185, |
| "rotation": -21.69006924099869, |
| "actual_size": [ |
| 241, |
| 241 |
| ], |
| "placement_order": 1 |
| }, |
| { |
| "style": "numbers", |
| "value": 5, |
| "position": [ |
| 121, |
| 93 |
| ], |
| "center": [ |
| 220, |
| 192 |
| ], |
| "size": 185, |
| "rotation": -4.302122153324575, |
| "actual_size": [ |
| 199, |
| 199 |
| ], |
| "placement_order": 2 |
| } |
| ] |
| }, |
| { |
| "original_filename": "composite_dice_098.png", |
| "position": [ |
| 350, |
| 350 |
| ], |
| "size": 300, |
| "grid_position": [ |
| 1, |
| 1 |
| ], |
| "dice_count": 2, |
| "total_sum": 2, |
| "dice_details": [ |
| { |
| "style": "dots", |
| "value": 1, |
| "position": [ |
| 101, |
| 121 |
| ], |
| "center": [ |
| 223, |
| 243 |
| ], |
| "size": 185, |
| "rotation": 23.607750591335552, |
| "actual_size": [ |
| 245, |
| 245 |
| ], |
| "placement_order": 1 |
| }, |
| { |
| "style": "dots", |
| "value": 1, |
| "position": [ |
| 254, |
| 263 |
| ], |
| "center": [ |
| 376, |
| 385 |
| ], |
| "size": 185, |
| "rotation": 23.550089245371296, |
| "actual_size": [ |
| 245, |
| 245 |
| ], |
| "placement_order": 2 |
| } |
| ] |
| }, |
| { |
| "original_filename": "composite_dice_028.png", |
| "position": [ |
| 670, |
| 350 |
| ], |
| "size": 300, |
| "grid_position": [ |
| 1, |
| 2 |
| ], |
| "dice_count": 1, |
| "total_sum": 2, |
| "dice_details": [ |
| { |
| "style": "numbers", |
| "value": 2, |
| "position": [ |
| 129, |
| 138 |
| ], |
| "center": [ |
| 251, |
| 260 |
| ], |
| "size": 185, |
| "rotation": 23.851829027563774, |
| "actual_size": [ |
| 245, |
| 245 |
| ], |
| "placement_order": 1 |
| } |
| ] |
| } |
| ], |
| "total_dice_count": 9, |
| "grand_total_sum": 18, |
| "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": [ |
| 683, |
| 651 |
| ], |
| "original_size": [ |
| 1116, |
| 378 |
| ], |
| "scaled_size": [ |
| 270, |
| 135 |
| ], |
| "offset": [ |
| 13, |
| 1 |
| ] |
| } |
| } |
| } |