yeh this was a quick hack job, development went kinda like this:
-I wonder if I could have a physics-enabled proxy for the mouse pointer.
-Yep, I can (lags a bit though). Let's toss more spheres at it, see how it holds up.
-This is kind of fun. Needs score and some rules.
-Needs to be shinier.
That's where it's at now. Colors are entirely random and unaccounted for and emphasis was more on packing spheres (you know, getting the most in the minimum space possible).
I considered just tossing a set amount and letting you push them around until you were satisfied then click to get a height measure. Would that be more interesting? within a time limit?
I'll think about colors, I had that suggestion while I was making it but it doesn't really fit well with the packing theme.
The "ENDLESS BALL SHOWER" happens when you click on window edges. No idea why, as a repeating timer is set on mousedown once and it's destroyed on mouseup.
Nudging is done with physics but I'm not setting the object's velocity, only forcing a new position. Perhaps that's why it's dodgy?
You guys rock
Thanks for the feedback! this is more of a toy than a game right now but maybe it could be a weird game. I love weird games.