Originally Posted by Logic Ali
The delete statement has no effect on local variables.
You are calling system() every 8ms, which is close to the maximum that a browser will allow, and far higher than the frequency that you can expect screen updates to occur.
Is it necessary to call draw() if .face is not updated?
By the way, the code showing 1000/120 for the milliseconds to update is a test. It was showing me that the program is fast at first but slows not much later in the code.
Also, yes this is just a very basic program. The person moves around, so if I do not update according face not changing, the person will stay frozen in the spot till otherwise.
Thank's for your help still!