An open API service indexing awesome lists of open source software.

https://github.com/githubuseraccountamazing/2d-unit-vector-from-a-given-angle

Output a 2D unit vector's X and Y coordinates and display based on a given angle using Excel shapes and VBA!
https://github.com/githubuseraccountamazing/2d-unit-vector-from-a-given-angle

excel math trigonometry vba visualization

Last synced: about 1 month ago
JSON representation

Output a 2D unit vector's X and Y coordinates and display based on a given angle using Excel shapes and VBA!

Awesome Lists containing this project

README

        

2D-unit-vector-from-a-given-angle



####

Output the X and Y coordinates of a vector and display based on a given degree angle using Excel and VBA!






Using simple trigonometric functions—this script calculates the x and y value of a unit triangle based on the degree angle input. It then moves all shapes (triangle, vector arrow, text boxes, partial circles) based off the calculated x and y values. User may input a specific degree angle or run 'prettyvisual()' to run through all angles 0-359.