Adding elements dynamically

Apr 3, 2011 at 3:13 AM

Very cool project.

Any suggestions on adding visual elements at run time? I can think of several ways to do it, but any guidance as to what you think is the best way? For example, if I create a particle simulation, and I want to allow users to, click the mouse to add a new particle to the system...how should I do it (add an additional particle)? Something like a method on my Scene class? Wasn't sure if there was something in the library to handle a case like this or any big gotchas to watch for.