diff options
| author | pepperpepperpepper <pepper@scannerjammer.com> | 2015-12-06 17:31:00 -0800 |
|---|---|---|
| committer | pepperpepperpepper <pepper@scannerjammer.com> | 2015-12-06 17:31:00 -0800 |
| commit | f72d7dc6a5a926f56790151e3dde36eaf7978ba0 (patch) | |
| tree | 1620560f424ffc558ac30ae1b6246d4b7df2eeac /ricky/pbgrid/probabilities.py | |
| parent | 8ebd9d7eb7b3289a722cdae6a4bdcdd4cd21ff86 (diff) | |
cleaned up names
Diffstat (limited to 'ricky/pbgrid/probabilities.py')
| -rwxr-xr-x | ricky/pbgrid/probabilities.py | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ricky/pbgrid/probabilities.py b/ricky/pbgrid/probabilities.py new file mode 100755 index 0000000..cdda026 --- /dev/null +++ b/ricky/pbgrid/probabilities.py @@ -0,0 +1,64 @@ +from ricky.param.probabilities import Probabilities +format_probabilities = Probabilities.from_dict( + { 'weight': 20, 'value': 'png' }, + { 'weight': 0, 'value': 'gif' }, + { 'weight': 0, 'value': 'jpg' }, +) +transition_probabilities = Probabilities.from_dict( + { "value" : "background", "weight": 1 }, + { "value" : "dither", "weight": 1 }, + { "value" : "random", "weight": 1 }, + { "value" : "tile", "weight": 1 }, + { "value" : "edge", "weight": 1 }, +) +skycolor_colors = \ + bgcolor_colors = planebgcolor_colors = Probabilities.from_dict( + { "value" : "white", "weight" : 1 }, + { "value" : "silver", "weight" : 1 }, + { "value" : None, "weight" : 10 }, +) + +linecolor_colors = Probabilities.from_dict( + { "value" : "black", "weight" : 1 }, + { "value" : "white", "weight" : 1 }, + { "value" : "silver", "weight" : 1 }, +) +swing_probabilities = tilt_probabilities = roll_probabilities = Probabilities.from_dict( + {"value": "", "weight": 2}, + {"value": 30, "weight": 1}, + {"value": -30, "weight": 1}, +) +width_probabilities = height_probabilities = Probabilities.from_dict( + { "value" : 400, "weight" : 1 }, + { "value" : 600, "weight" : 1 }, +) +linethickness_probabilities = Probabilities.from_dict( + {"value":1, "weight": 2}, + {"value":2, "weight": 1}, +) +opacity_probabilities = Probabilities.from_dict( + {"value":1, "weight": 2}, + {"value":0.5, "weight": 1}, +) +spacing_probabilities = Probabilities.from_dict( + {"value":10, "weight": 1}, + {"value":15, "weight": 1}, +) +vlines_probabilities = hlines_probabilities = Probabilities.from_dict( + {"value":"", "weight": 2}, + {"value":"true", "weight": 1}, +) +shadow_probabilities = Probabilities.from_dict( + {"value":"", "weight": 1}, + {"value":"true", "weight": 1}, +) +zoom_probabilities = Probabilities.from_dict( + {"value": 0, "weight": 3}, + {"value": 1.2, "weight": 1}, + {"value": -1.2, "weight": 1}, +) +trim_probabilities = Probabilities.from_dict( + {"value":"", "weight": 1}, + {"value":"true", "weight": 1}, +) + |
