958
959 // Determine the position to put the text by
960 // start looking for the nearest points
961 var r = maxRadius + 1 962
963 var tryToPutWordAtPoint = function (gxy) {
964 var gx = Math.floor(gxy[0] - info.gw / 2)
472 var T = radius * 8
473
474 // Getting all the points at this radius
475 var t = T 476 var points = []
477
478 if (radius === 0) {
469 }
470
471 // Look for these number of points on each radius
472 var T = radius * 8 473
474 // Getting all the points at this radius
475 var t = T
349 settings.gridSize = Math.max(Math.floor(settings.gridSize), 4)
350
351 /* shorthand */
352 var g = settings.gridSize 353 var maskRectWidth = g - settings.maskGapWidth
354
355 /* normalize rotation settings */
Single character variable names affect code readability and complicate code refactoring, because of the difficulty in searching and replacing single characters.
This issue will not be raised for certain special identifiers, such as i
, j
or n
. It will also not be reported for the parameters used in for
and while
loops.
var a;
const l = 90
var age;
const limit = 90;
for(let o = 2; o < 10; o++){
sum += o
}