So it runs a simulation of how osmosis would occur within a cell, given a set of parameters?
|
So basically I am writing a program up that will simulate reverse osmosis and its actual usefulness in society. I have a GUI so far, but yet to write the actual engine of the simulation.
Here is what the GUI looks like:
Top white panel = Variables Panel
Middle Grey panel = where the actual simulation will occur
Bottom black panel = Java Console
Then heres the dropdown:
Here is how you can initialize variables:
and here to show it actually updates on the variable panel:
As of now, I dont actually have it check if all variables are initialized before I run the simulation because I can't run the simulation yet, but still. As this is my first GUI with a purpose, I am quite proud of it considering the sweat I've gone through to get it to look like this. I will be sure to update with more media as I add more and progress more into the engine part of this project.
GUI doesn't look that good imo but good luck.
check out NetLogo Home Page for simulations. I've used it before. it's kinda ocol
your philosophy sucks. NetLogo is a Domain-specific language. It's made for simulation. Java is a generic language. It's made for everything. Choosing that language (/tools ) that fits the goal is half the work as a programmer. If I'm going to do something like math, I am not going to write my own libraries, I fire up matlab, geogebra or Mathematica. I'm not saying you HAVE to do this, but if the goal is just to create a simulation your approach is overkill.
But hey that's my opinion.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |