ScratchData LogoScratchData
Back to thistleeverfreen's profile

Mouse Tracking

THthistleeverfreen•Created September 11, 2014
Mouse Tracking
0
0
21 views
View on Scratch

Instructions

A work in progress mouse gesture recognition sprite. Black lines represent the position of the mouse while the blue lines represent the velocity (the first derivative). Green lines indicate clockwise rotation, while red lines indicate anti-clockwise rotation. For example,there should be green lines if you draw an arc in the clockwise direction but red lines if you draw an arc in the anti-clockwise direction. The sampling rate can be changed with the slider, but you will need to restart the project.

Description

Nowhere near complete, but I decided to share what I have so far because it looks cool (and because calculus). There are still those random spikes that I need to fix. Eventually, I want it to be able to distinguish between basic shapes, such as a circle, triangle and line. Inspired by Tesla Tech's Shape Recogition project http://scratch.mit.edu/projects/26536202/

Project Details

Project ID26576331
CreatedSeptember 11, 2014
Last ModifiedSeptember 13, 2014
SharedSeptember 12, 2014
Visibilityvisible
CommentsAllowed