webaba Posted June 23, 2013 Posted June 23, 2013 (edited) Dear all,I have to find a fast way to compute changes in the equipotential lines as theresult of sudden changes in the local gravitational fields (2D space).(Caused by the destruction of a planet for example). I could recalculateeverything but it takes too much time for the device on which thecalculation is deployed. The environment has lots of bodies, so ananalytical solution is not to consider.I compute the level lines, picking a initial point and iterating along the gradient of the gravitational force. I don't really know where to start, but I'm thinking about a localmethod that only propagates changes on a limited range around the"explosion". If you want to take a look at the origin of the problem,here is a screenshot of the project, and the link to the related (free) iphonegame. I was also thinking about representing the equipotential lines as Bezier lines and only updating a couple of points instead of redrawing complete exact lines but then I'm not sure 2 lines won't cross eachother since they are interpolated. Thanks for you help, any idea is welcomed ! Seb <link removed by mod per rule 7> Edited June 23, 2013 by imatfaal removal of commercial link
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now