Created
January 13, 2023 17:31
-
-
Save TechieBlossom/c459d6bb77bbd1dba09b1d35ee6ec8ed to your computer and use it in GitHub Desktop.
Inner hexagons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inner-most hexagon | |
Offset( | |
1/5 * radius * cos(pi * 2 * degree / 360) + center.dx, | |
1/5 * radius * sin(pi * 2 * degree / 360) + center.dy, | |
) | |
//Farthest inner hexagon | |
Offset( | |
5/5 * radius * cos(pi * 2 * degree / 360) + center.dx, | |
5/5 * radius * sin(pi * 2 * degree / 360) + center.dy, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment