hello every one ;
I want to draw cosine function or any function
and what i do is setting a rectangle shape size to 1 (to be a pixel )
but I think this is not the best way to do it or I am wrong because it was slow not much but it was slow
I draw the cosine function for a determined range;
well, I i know that if i just did one drawing to the function and one display things will be fine
,but I want
to handle input that affect the function graph so one drawing and displaying is bad in this situation
;