# Author: Shao Zhang, Phil Saltzman
# Last Updated: 4/19/2005
#
# This file contians the minimum code needed to load the particle panel tool
# See readme.txt for more information

import sys
try: import _tkinter
except: sys.exit("Please install python module 'Tkinter'")

import direct.directbase.DirectStart        #Initialize Panda
base.startTk()    #Makes sure that Panda is set to open external windows
from direct.tkpanels.ParticlePanel import * #load the panel code
pp = ParticlePanel()                        #Create the panel
base.disableMouse()                         #Disable camera control to place it
camera.setY(-10)                            #Place the camera
base.setBackgroundColor(0,0,0)              #Most particle systems show up
                                            #better on black backgrounds
run()                                       
