   outer = outerPoints()
   inner = innerPoints(innerRadius)
 
-  return [
-    outer.map(pointAsString)
-    inner.map(pointAsString)
-  ]
+  return [outer, inner]
 
 linearStarPoints = innerStarPoints
 quadraticStarPoints = innerStarPoints


## Math functions for calculating star shapes


polarToCartesian = (angle, distance) ->
  x = Math.cos(angle) * distance
  y = Math.sin(angle) * distance
  {x: x, y: y}


pointAsString = (point) ->
  "" + point.x + "," + point.y

addPoints = ([point1, point2]) ->
  {
    x: point1.x + point2.x
    y: point1.y + point2.y
  }


calculateDistance = (point1, point2) ->
  Math.sqrt(Math.pow(point1.x - point2.x, 2) + Math.pow(point1.y - point2.y, 2))

  inner = innerPoints(innerRadius)
  [intermediate1, intermediate2] = calculateIntermediatePointsComingAndGoing(inner, outer, percentage)

  return [outer, inner, intermediate1, intermediate2]

starWithQuadraticTipsPoints = innerAndIntermediatePoints

