plainheart edited a comment on issue #12649: URL: https://github.com/apache/incubator-echarts/issues/12649#issuecomment-629994924
@Rranjansolenoid Hi, I'm not sure whether this issue is related to `echarts` or not and it was closed for not using [issue template](https://ecomfe.github.io/echarts-issue-helper/). It seems to be a mathematical problem. There are some example codes for you. ```js // circumference of the circle let c = 8 * 12; // feet to inch // the radius of circle let r = c / (2 * Math.PI); // target arc length we want to get let targetArcLength = 0.01; // the arc length of circle let arcLength = c; // fold count let foldCount = 0; // the center angle of circle let circleCenterAngle = 360; // loop until the arc length is less than 0.01(targetArcLength) while(arcLength >= targetArcLength) { // calculate the center angle of circle by foldCount circleCenterAngle = 360 * Math.pow(2, -foldCount); // calculate the arc length(arcLength = nπr / 180) arcLength = circleCenterAngle * Math.PI * r / 180.0; // increases the foldCount ++foldCount; } console.log('foldCount', foldCount) ``` Run it and then we can get the result `foldCount 15`. Is it expected? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org