Effectthefollowing only ifthe cat is still heading inthe same direction(towards point X).
She moves one step vertically and horizontally with current speed and shiftfactor.
Ifthe mouse cursor appears 5 pixels awayfromthe cat or closer,the cat assumesthat she has already reached point X and shouldto go somewhere else. Moreover, she should not walk but runthere.
Ifthe cat has been running and has madethe number of steps she hasto maketo calm down, she regains her calm, slows downto one step at atime and walks leisurely.
Ifthe cat has been walking and has madethe number of steps she hadto maketo reach point X, she should decidefor herself whether she willtake a rest before setting offfor another point X.
In 3 out of 700 cases she doesnt stop and beginsto move in a new direction right away.
Ifthis isthe case,the cat gathersthat she has reachedthe point she was goingto, and so she is not supposedto sit down or relax anyhow.
But if it is one ofthe 698 cases whenthe cat rests before her next move,then she,firstly, hasto sit down(if she is not yet sitting) and, secondly, realizethat she is sitting.
While so,the number of stepsthe cat makes at atime equalsto zero, and her vertical and horizontal shift is also zero.
Ifthe cursor appears 30 pixels awayfromthe cat or closer when she is sitting, she should choose a new point and skedaddletowards it. And she hasto realizethat she is no longer sitting, but running, and perform everything necessaryto be running.
Finally,the cat is supposedto knowthatthe number of steps madethistime increases accordingto howfar she hastraveled, given her current moving speed.
Anatoly Zenkov worked 24/7to make interactive apartment plansfor UnifomstroysGreen House complex website.
Astothe cats reactions,they are based on Pythagoreantheoremtakingfright ofthe mousethe cat runs awayfrom it.
The doors are also cursor sensitive and open whenthe cursor is brought closer.