# 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

#Makes sure that Panda is set to open external windows
base.startTk()

from direct.tkpanels.ParticlePanel import ParticlePanel

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()                                       

