If you want to use my work as a basis for your own, please credit me and the sources I used. If you don't, I may have to report it. But don't worry; you can still be creative and add your touch if you give credit where it's due. To create this project, I used sine and cosine math trigonometry functions. Wondering why? The cosine function represents the X value of the circle pointer's degree, radian, or gradian. In contrast, the sine function represents the Y value of the circle's degree, radian, or gradian. The tangent function results in the calculation Y (sin) divided by X (cos). By multiplying the X and Y values with xMod and yMod (default 25) and multiplying them by radius, we essentially get a circle after it has been drawn at different locations due to the various degree values. However, changing the xMod and yMod variables can cause the "circle" to look distorted. The X and Y modifiers must be identical to create a perfect circle. Now, let me explain how I built the degree pointer. I used the sine and cosine blocks while drawing the circle to point at a specific degree. I also added a swapXY variable because cos = X and sin = Y in math. The circle is represented as follows: (Note that R is radians and π is approximately 3.141592) cos = X and sin = Y 90° or 0.5πR 180° or 1πR CIRCLE 0° or 360° or 0R or 2πR 270° or 1.5πR ------------------------------- However, in a compass, it is represented as: sin = X and cos = Y 0° or 360° or 0R or 2πR 90° or 0.5πR CIRCLE 270° or 1.5πR 180° or 1πR ---------------------- Also, you can adjust the line's length by using %lengthOfLine.
2πR = 360° | πR = 180° (semicircle) | 1° = 0.0174533R (radians to degrees & vice versa) 400gr = 360° | 50gr = 45° | 100gr = 90° | 1° = 1.1111111gr ( degree * (10/9) ) Degree Sign: ° Radian Sign: R, rad, ʳ Gradian Sign: gon, gr, grd, g, ᵍ This video helped me learn sine and cosine! https://www.youtube.com/watch?v=PUB0TaZ7bhA&pp=ygUKbWF0aCB0cmlnbw%3D%3D #Math1sFun Changelog: v1.0.1 Feb24-2024 2:44 PM - Fixed significant bugs v1.1 Feb24-2024 6:34 PM -- Added support for negative modifiers except for %lengthOfLine - ̶A̶d̶d̶e̶d̶ ̶a̶ ̶s̶m̶a̶l̶l̶ ̶c̶i̶r̶c̶l̶e̶ ̶i̶n̶ ̶t̶h̶e̶ ̶m̶i̶d̶d̶l̶e̶ ̶t̶o̶ ̶k̶n̶o̶w̶ ̶w̶h̶e̶r̶e̶ ̶i̶s̶ ̶t̶h̶e̶ ̶c̶e̶n̶t̶e̶r̶ actually never mind.. v1.1.2: Added swapXY support for the drawCircle Function. v1.13 -- This update introduced a dotted grid for better visualization and the function to hide sliders and reporters (press and hold the 'H' key) for a cleaner interface. [URL_3]