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!
- Host: GitHub
- URL: https://github.com/githubuseraccountamazing/2d-unit-vector-from-a-given-angle
- Owner: GithubUserAccountAmazing
- Created: 2022-06-27T22:44:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T03:18:06.000Z (almost 3 years ago)
- Last Synced: 2025-01-20T08:32:09.312Z (3 months ago)
- Topics: excel, math, trigonometry, vba, visualization
- Language: VBA
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
![]()