This is just a visualisation project for a different (non-scratch) project. It uses a² + b² = c² and sin() to determine the direction it's going in. To test it, you need to move the red dot via drag and drop and press space to let the math do its magic.