Page 2 of 2

Re: Cheap-Ass Metaballs

Posted: Wed May 02, 2012 4:50 pm
by timmeh42
Hey yeah that does look rather good, although individual droplets are a bit too bouncy without any inter-molecular forces.

I guess I should mention that using a sinusoidal gradient is probably not the best way; using a hyperbolic gradient might be better as it would give a larger range of sizes for combined molecules - however, the rounding might have o be tweaked (which is easier, coincidentally, with the flooring method as point it is rounded up/down at is flexible.)

Re: Cheap-Ass Metaballs

Posted: Mon May 07, 2012 11:26 am
by mickeyjm
bartbes wrote:
timmeh42 wrote:Ah, I didn't realise Löve used such an old version. Too much trouble to use newer version?
It's a matter of compatibility, by aiming low, you include as many people as possible.
But not me :(
(canvases I hate you)

Re: Cheap-Ass Metaballs

Posted: Mon May 07, 2012 4:06 pm
by timmeh42
Yeah, sorry mate, but unfortunately this really cannot be done without canvases (actually, maybe stencil masks might work? But if you don't support canvases, can you support those?) [actually, I have no idea how stencils work.]

EDIT: Maybe one could draw all the necessary stuff way off screen using a scissor box, and then copy the required bits back into view?

Re: Cheap-Ass Metaballs

Posted: Wed May 09, 2012 12:32 am
by Jasoco
I love canvases. That's all I wanted to say.

Re: Cheap-Ass Metaballs

Posted: Wed May 09, 2012 2:39 pm
by mickeyjm
Jasoco wrote:I love canvases. That's all I wanted to say.
I now hate you

Re: Cheap-Ass Metaballs

Posted: Thu May 17, 2012 2:15 am
by abovabum
How come some machines don't work with canvases?