the function is 360 / (x / (x - (floor(y / (2*x)^(n-1)) - (floor(y/ (2*x)^n) * (2*x))))) where x is the target number of sides and y is an integer between (2x)^(armcount - 1) and (2x)^armcount
for the one below, you can change 6541999387669452 to any integer between 0 and 42^10 and it will always give a drawing that has 42 sides (with 9 arms)
put this function in the box (you can change 13 to any number - it will give a drawing with the side count you specify in this case 13) this is for 4 arms 360 / (13 / ((2^(9-1)-1) - (floor(47585803387 / (2^(9*(n-1)))) - (floor(47585803387 / (2^(9*n))) * (2^9)))))
360 / (sideCount / (127 - (((floor(x / (2^(8*(n-1)))) / (2^8)) - floor(floor(x / (2^(8*(n-1)))) / (2^8))) * (2^8))))
this is an interesting formula, basically for every value of x, there is a unique drawing for the given number of sides (represented by sidecount). the maximum value of x is 2^(8*armCount)
if you want to see what the ratios are you can use 360 as the side count for any given integer
for example if the value of x is 2205452392, the ratios for 4 arms would be:
23 -9 11 4
360 / (360 / (127 - (((floor(2205452392 / (2^(8*(n-1)))) / (2^8)) - floor(floor(2205452392 / (2^(8*(n-1)))) / (2^8))) * (2^8))))
Here's an interesting formula ;)
You can change 36.1 to any value you'd like (Designed for 4 arms)
360 / (36.1 / (15 - (((floor(745066 / (2^(5*(n-1)))) / (2^5)) - floor(floor(745066 / (2^(5*(n-1)))) / (2^5))) * (2^5))))