Circular movement detection

hi all,

is there a simple way to “detect” the type of movement from a mouse : circular /rectangular (closed shape) and
the direction : clockwise …
the only way i found is a buggy right then down then left then up condition, i’m sure there’s a more elegant way?
thanx

have a look at diki’s modules

thanks kalle
i think i can analyse the pointer movement with diki’s gesture module
but for the velocity and rotation angle/direction i really don’t know where to start with all those particles !!

FluidSolver particles direction and speed.v4p (57.3 kB)