ScratchData LogoScratchData
Back to GDOR11's profile

mouse position based in distance

GDGDOR11•Created October 4, 2021
mouse position based in distance
4
4
25 views
View on Scratch

Instructions

just move your mouse around and watch the circles calculating the mouse position

Description

"mouse x" or "mouse y" blocks aren't used is this project, the only thing that this project uses is math. the secret is that, if you have three points in three different locations and calculate the distance from these points to the mouse, it is alrady possible to be sure what the mouse location is basend only in the position and distances of these points. the distances can also be interpreted as circles, and these are the circles you see in the project thanks to http://paulbourke.net/geometry/circlesphere/, for providing circle-circle intersection

Project Details

Project ID579095082
CreatedOctober 4, 2021
Last ModifiedJanuary 11, 2022
SharedOctober 4, 2021
Visibilityvisible
CommentsAllowed