from JascApp import * def ScriptProperties(): return { 'Author': u'Adrienne McCullough', 'Copyright': u'AcmDesignz', 'Description': u'Bubble Beauty ', 'Host': u'Paint Shop Pro 9', 'Host Version': u'9.01' } def Preset_BallsAndBubbles(): return { 'Illumination': { 'MaxAmbience': 100, 'MinAmbience': 0, 'LightList': [{ 'BubbleLight': False, 'Color': (255,255,255), 'Direction': (0.602786,-0.717903,-0.348231), 'HighlightSize': 11 },{ 'BubbleLight': False, 'Color': (192,192,192), 'Direction': (-0.54285,0.492579,0.680205), 'HighlightSize': 24 },{ 'BubbleLight': False, 'Color': (161,157,157), 'Direction': (-0.03154,-0.046415,0.998424), 'HighlightSize': 20 }] }, 'Mode': App.Constants.CountType.Single, 'Multiple': { 'AverageSize': 25, 'Coverage': 20, 'CreateMethod': App.Constants.BubbleCreateMethod.NonIntersecting, 'SizeVariation': 100 }, 'RandomSeed': 5493, 'RandomizePlacement': True, 'Single': { 'MaxPossibleSize': False }, 'Surface': { 'Material': { 'Color': None, 'Pattern': None, 'Gradient': { 'Name': u'Black-white', 'GradientType': App.Constants.Gradient.Sunburst, 'Angle': 0, 'RepeatCount': 0, 'RepeatType': App.Constants.RepeatType.Pad, 'ColorStops': None, 'TransparencyStops': [], 'CenterPoint': (0.5,0.5), 'FocalPoint': (0.5,0.5), 'Invert': True }, 'Texture': None, 'Art': None }, 'BumpMap': { 'Active': False, 'Depth': 63, 'FileName': u'Shadow flowers', 'Fit': False, 'Size': 335, 'Smoothness': 37, 'BumpCategory': u'' }, 'EnvironmentMap': { 'FringeType': 17996, 'Active': True, 'FileName': u'', 'FringeSpacing': 2, 'PatternOpacity': 33, 'EnvironmentType': App.Constants.BubbleMapType.CurrentImage, 'EnvironmentCategory': u'' }, 'Gloss': 20, 'Opacity': 20, 'Shininess': 50 } } def Do(Environment): # Balls And Bubbles App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())