home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A sea of transparent green bubbles',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 61,
- 'MinAmbience': 59,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (109,163,139),
- 'Direction': (0.631606,0.540523,0.994301),
- 'HighlightSize': 35
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (236,118,161),
- 'Direction': (0.632733,0.344679,0.438245),
- 'HighlightSize': 12
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (149,126,54),
- 'Direction': (0.124202,0.930325,0.92504),
- 'HighlightSize': 30
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (36,81,46),
- 'Direction': (-0.508642,-0.788908,0.841089),
- 'HighlightSize': 43
- }]
- },
- 'Mode': App.Constants.CountType.Multiple,
- 'Multiple': {
- 'AverageSize': 56,
- 'Coverage': 84,
- 'CreateMethod': App.Constants.BubbleCreateMethod.Overlapping,
- 'SizeVariation': 95
- },
- 'RandomSeed': 11510,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (69,170,121),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 15,
- 'Opacity': 12,
- 'Shininess': 38
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-