You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Record the mouse cursor animation and play it (no need to calculate every time).
Mouse cursor has four lines but each two lines are symmetric. Calculate only two lines and rotate.
Undo/redo:
It seems that saving the canvas itself occupy 8MB (approx.) when the monitor size is 1920x1080.
This is heavy. I think it may be possible to solve this problem by: 1) making an array and a linked list 2) saving mouse coordinates to the array and save a last index of each mouse movement up to last n counts 3) drawing a trace up to that index when undo/redo.
Custom
It may be possible to process the webcam data by not passing it to the <video> element, but to <canvas> element in order to apply some filtering.
User experience
When the mouse cursor is located at corners of the screen, make the palette appear at an appropriate place.
Different approach
It seems that getting global click events can also be achieved by GetAsyncKeyState().
The text was updated successfully, but these errors were encountered:
Optimazation
Custom
<video>
element, but to<canvas>
element in order to apply some filtering.User experience
Different approach
GetAsyncKeyState()
.The text was updated successfully, but these errors were encountered: