@@ -51,7 +51,7 @@ function thereIsCollision(coordinates, allCoordinates, blipWidth) {
5151 return allCoordinates . some ( function ( currentCoordinates ) {
5252 return (
5353 Math . abs ( currentCoordinates . coordinates [ 0 ] - coordinates [ 0 ] ) <
54- currentCoordinates . width / 2 + blipWidth / 2 + 10 &&
54+ currentCoordinates . width / 2 + blipWidth / 2 + 10 &&
5555 Math . abs ( currentCoordinates . coordinates [ 1 ] - coordinates [ 1 ] ) < currentCoordinates . width / 2 + blipWidth / 2 + 10
5656 )
5757 } )
@@ -78,11 +78,11 @@ function findBlipCoordinates(blip, minRadius, maxRadius, startAngle, allBlipCoor
7878 const maxIterations = 200
7979 const chance = new Chance (
8080 Math . PI *
81- graphConfig . quadrantWidth *
82- graphConfig . quadrantHeight *
83- graphConfig . quadrantsGap *
84- graphConfig . blipWidth *
85- maxIterations ,
81+ graphConfig . quadrantWidth *
82+ graphConfig . quadrantHeight *
83+ graphConfig . quadrantsGap *
84+ graphConfig . blipWidth *
85+ maxIterations ,
8686 )
8787 let coordinates = calculateRadarBlipCoordinates ( minRadius , maxRadius , startAngle , quadrantOrder , chance , blip )
8888 let iterationCounter = 0
@@ -216,8 +216,6 @@ const findexistingBlipCoords = function (ringIndex, deg) {
216216}
217217
218218function findNewBlipCoords ( existingCoords ) {
219- console . log ( 'ADAM TRANSPOSE' )
220-
221219 const groupBlipGap = 5
222220 const offsetX = graphConfig . existingGroupBlipWidth - graphConfig . newGroupBlipWidth
223221 const offsetY = graphConfig . groupBlipHeight + groupBlipGap
0 commit comments