trying to create a diffusion limited aggregation in jogl... need guidance
bhavin ragha
Greenhorn
Joined: Mar 28, 2012
Posts: 17
posted
0
hello im trying to create a diffusion limited aggregation in open gl... which is a model. it works by...
a seed (pixel) in the middle of the frame.
then an other pixel that randomly moves within the frame. and if it touches the seed point then sticks on it.
i have the seed pixel... and the other pixel moving round. how do i code...
bhavin ragha wrote:hello im trying to create a diffusion limited aggregation in open gl... which is a model. it works by...
a seed (pixel) in the middle of the frame.
then an other pixel that randomly moves within the frame. and if it touches the seed point then sticks on it.
I'm no GUI expert, but this would seem to me to be an abstract problem that could be just as easily solved with a matrix of booleans or values, or an ordered set of coordinates (but please feel free to correct me if I'm wrong); so unless there are specific GUI objects (eg, a plotter-style class for the "movement") that would help with the solution, I'd be tempted to keep the problem code separate from any GUI.
Winston
Isn't it funny how there's always time and money enough to do it WRONG?