It's a two dimensional system, so you really should test all the
points in the plane, but in computational terms it seems we just need
a lattice of points reaching from say (-3,-3) to (+3,+3).
I've roughed this out just now: there is a tear drop shape of stable
positions in the lower right quadrant.
Points orbit this teardrop shape concentrically, or at least it
appears that they will do this. Because the shape is very simple there
is no need to get too much resolution. So for instance incrementing by
0.1 gives some neat results without a lot of data points; about 3600
test points in this scenario. There is an xy chart available in excel
so you may be able to pull this off. Once you have things setup you
can modify the function easily, but then when you start getting
something fractal or so and you want higher res I suspect you will
want a different platform to do your computations on. There are an
overwhelming number of choices. I found libGd and have been using it
for most of my graphics. I use C++, but that's a tough learning curve.
The recursive stuff is great. Keep going.
I am open to being wrong. It's pretty easy to get a few invisible bugs
going. But I'm pretty sure it's as I describe: like a flower petal a
little ways out from the origin.
- Tim