 starWithCubicTipsPath = (innerRadius, straightPercentage, controlPercentage) ->
   if straightPercentage == "0"
     return cubicStarPath(innerRadius, controlPercentage)
+  if straightPercentage == "100"
+    return linearStarPath(innerRadius)
 
   [inner, intermediate1, intermediate2, control1, control2] = starWithCubicTipsPoints(innerRadius, straightPercentage, controlPercentage)
   points = _.zip(inner, intermediate1, control1, control2, intermediate2)

starWithQuadraticTipsPath = (innerRadius, straightPercentage) ->
  if straightPercentage == "0"
    return quadraticStarPath(innerRadius)

  [outer, inner, intermediate1, intermediate2] = starWithQuadraticTipsPoints(innerRadius, straightPercentage)
  points = _.zip(inner, intermediate1, outer, intermediate2)

  $("#star").attr("d", path)
  return

drawStarWithCircularTips = () ->
  innerRadius = controls["inner-radius"].val()
  straightPercentage = controls["straight-percentage"].val()
