mathtodd05
New member
- Joined
- Sep 25, 2020
- Messages
- 1
So, I need to create an equation that has 5 variables that calculates the coordinates of one of the corners of a shape. The variables are,
le = length of one of the edges. (all the edges will be the same length.
n = number of sides
d = when the center is at (0,0) and the shape rotates the d is the y value of the corner. So, when it has been rotated by nothing ycn = ycr = 0.
xcr = x value of corner
ycr = y value of corner
CONSTANTS
xcn = the x coordinate of the center is 0
ycn = the y coordinate of the center is 0
It seems really complex and I hope someone can figure it out.
le = length of one of the edges. (all the edges will be the same length.
n = number of sides
d = when the center is at (0,0) and the shape rotates the d is the y value of the corner. So, when it has been rotated by nothing ycn = ycr = 0.
xcr = x value of corner
ycr = y value of corner
CONSTANTS
xcn = the x coordinate of the center is 0
ycn = the y coordinate of the center is 0
It seems really complex and I hope someone can figure it out.