From 5541d229464df7b6ba6eef69bdb0045ac230a79a Mon Sep 17 00:00:00 2001 From: meganrm Date: Thu, 21 Sep 2023 16:24:47 -0700 Subject: [PATCH] add second example --- .../tests/recipes/v2/test_variable_size.json | 35 +++++++++++++++---- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/cellpack/tests/recipes/v2/test_variable_size.json b/cellpack/tests/recipes/v2/test_variable_size.json index ea01f12ea..5c3dd30aa 100644 --- a/cellpack/tests/recipes/v2/test_variable_size.json +++ b/cellpack/tests/recipes/v2/test_variable_size.json @@ -9,8 +9,8 @@ 0 ], [ - 100, - 100, + 500, + 500, 1 ] ], @@ -64,23 +64,46 @@ 1, 0 ] + }, + "sphere_40": { + "type": "single_sphere", + "inherit": "base", + "color": [ + 0.1, + 0.5, + 0.5 + ], + "radius": 40, + "max_jitter": [ + 1, + 1, + 0 + ] } }, "composition": { "space": { "regions": { "interior": [ - "A" + "A", "B" ] } }, "A": { "object": "sphere_25", - "count": 10, + "count": 200, "size_options": { "distribution": "uniform", - "min": 5, - "max": 30 + "min": 20, + "max": 25 + } + }, + "B": { + "object": "sphere_40", + "count": 200, + "size_options": { + "distribution": "list", + "list_values": [35, 40, 41] } } }