473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

A GUI framework for running simulations

Hello! I am currently working on writing a simulation engine for
special relativity physics. I'm writing it in Python, of course. I'm
doing fine with the engine, but I want a GUI framework in which I
could use it conveniently, and test different setups on it. I'm not so
strong with GUI programming. I looked at Tkinter, I looked at
WxPython, I looked at PythonCard. It all looks pretty daunting.

My question is, does there exist a GUI package that is intended
specifically for simulations? I saw a program called Golly, which is a
simulation for Conway's Game of Life. Its GUI had most of the features
I needed. For example, you can load a setup, there are "play" and
"stop" buttons, you can change a setup and save it, etc.

So does anyone know of a general GUI framework for running
simulations?
Jan 23 '08 #1
5 1859
2008/1/23, ra********@gmail.com <ra********@gmail.com>:
Hello! I am currently working on writing a simulation engine for
special relativity physics. I'm writing it in Python, of course. I'm
doing fine with the engine, but I want a GUI framework in which I
could use it conveniently, and test different setups on it. I'm not so
strong with GUI programming. I looked at Tkinter, I looked at
WxPython, I looked at PythonCard. It all looks pretty daunting.

My question is, does there exist a GUI package that is intended
specifically for simulations? I saw a program called Golly, which is a
simulation for Conway's Game of Life. Its GUI had most of the features
I needed. For example, you can load a setup, there are "play" and
"stop" buttons, you can change a setup and save it, etc.
Golly uses wxWidgets, and if you are planning to use Python then you
would be using wxPython.
So does anyone know of a general GUI framework for running
simulations?
All them serves this purpose. The main part of your gui application
will be a custom widget that you will need to do yourself.
--
http://mail.python.org/mailman/listinfo/python-list

--
-- Guilherme H. Polo Goncalves
Jan 23 '08 #2
ra********@gmail.com wrote:
Hello! I am currently working on writing a simulation engine for
special relativity physics. I'm writing it in Python, of course. I'm
doing fine with the engine, but I want a GUI framework in which I
could use it conveniently, and test different setups on it. I'm not so
strong with GUI programming. I looked at Tkinter, I looked at
WxPython, I looked at PythonCard. It all looks pretty daunting.

My question is, does there exist a GUI package that is intended
specifically for simulations? I saw a program called Golly, which is a
simulation for Conway's Game of Life. Its GUI had most of the features
I needed. For example, you can load a setup, there are "play" and
"stop" buttons, you can change a setup and save it, etc.

So does anyone know of a general GUI framework for running
simulations?
although quit premature,
PyLab_Works might be of interest,
see some demos here (watch the demo at the bottom first):
http://oase.uci.kun.nl/~mientki/data...reenshots.html

(you can contact me offline if PyLab_Works looks interesting to you).

cheers,
Stef Mientki
Jan 23 '08 #3
On Jan 23, 5:12*pm, Stef Mientki <S.Mientki-nos...@mailbox.kun.nl>
wrote:
ram.rac...@gmail.com wrote:
Hello! I am currently working on writing a simulation engine for
special relativity physics. I'm writing it in Python, of course. I'm
doing fine with the engine, but I want a GUI framework in which I
could use it conveniently, and test different setups on it. I'm not so
strong with GUI programming. I looked at Tkinter, I looked at
WxPython, I looked at PythonCard. It all looks pretty daunting.
My question is, does there exist a GUI package that is intended
specifically for simulations? I saw a program called Golly, which is a
simulation for Conway's Game of Life. Its GUI had most of the features
I needed. For example, you can load a setup, there are "play" and
"stop" buttons, you can change a setup and save it, etc.
So does anyone know of a general GUI framework for running
simulations?

although quit premature,
PyLab_Works might be of interest,
see some demos here (watch the demo at the bottom first):http://oase.uci.kun.nl/~mientki/data..._animations_sc...

(you can contact me offline if PyLab_Works looks interesting to you).

cheers,
Stef Mientki
Thank you, Stef and Guilherme. I'll be checking those things out. If
anyone else who has an idea for something that can help me, I'll be
happy to hear it!

Ram.
Jan 23 '08 #4
On Wed, 23 Jan 2008 06:10:07 -0800 (PST)
"ra********@gmail.com" <ra********@gmail.comwrote:
Hello! I am currently working on writing a simulation engine for
special relativity physics. I'm writing it in Python, of course. I'm
doing fine with the engine, but I want a GUI framework in which I
could use it conveniently, and test different setups on it. I'm not so
strong with GUI programming. I looked at Tkinter, I looked at
WxPython, I looked at PythonCard. It all looks pretty daunting.
If you want to keep things simple, pygame could be an alternative for
visualizing simulations and setting parameters even though it does not
provide all these fancy widgets around.

Martin
Jan 23 '08 #5
Martin Manns <mm****@gmx.netwrote:
If you want to keep things simple, pygame could be an alternative for
visualizing simulations and setting parameters even though it does not
provide all these fancy widgets around.
I'd second that.

pygame will give you a window you can draw on which you can plot the
result of your simulation.

You can draw a few buttons (like play and stop) and detect clicks in
them very easily.

If you want loads of parameters then you'll either need to reach for a
GUI toolkit or roll your own menuing system for pygame (which isn't
that hard).

--
Nick Craig-Wood <ni**@craig-wood.com-- http://www.craig-wood.com/nick
Jan 24 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Arun | last post by:
Hi, This is a scripting question, but since I am writing the script in python I am posting this question here: I have a python script that runs a simulator (that was written in c++, so I use...
2
by: Tomas Vera | last post by:
Hello All, I'm running into a problem that I don't know how to solve (properly, at least). Our web servers are running Win2K and have Framework v1.0.3705 running on them. We have a DLL...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
15
by: ianweise | last post by:
hello, before i post my code for this, is there anyone out there at this moment? no sense in posting if no one is out there to read and answer it =P
28
by: galathaea | last post by:
On Mar 2, 11:29 pm, galath...@veawb.coop (galathaea) wrote: still being very naive about this whole crackpot / crank thing i accidentally let the engineer inside think too hard about this ...
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
0
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: WinVerifyTrust returned -2146762751 Wintrust not on machine Error: O arquivo...
3
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of...
33
by: Sunny | last post by:
Hi, Sometime, when your script is too big, IE Gives you a warning "Stop Running This Script" A script on this page is causing Internet Explorer to run slowly. Does anyone knows, How to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.