   new Slider("control-angle", "ca", 180, options.ca)
   new Slider("control-distance", "cd", 0.15, options.cd)
 
-  $("#circular").change(setShapeToCircular)
-  $("#quadratic").change(setShapeToQuadratic)
-  $("#cubic").change(setShapeToCubic)
-  $("#crossingcubic").change(setShapeToCrossingCubic)
+  $("#circular").change(starWithCircularTips.use)
+  $("#quadratic").change(starWithQuadraticTips.use)
+  $("#cubic").change(starWithCubicTips.use)
+  $("#crossingcubic").change(crossingCubicStar.use)
   $("#" + options.s).prop("checked", true)
   $("input[name=shape]:checked").change()
 

  refreshBackground($("#bg-color-picker").spectrum("get"))


## Math functions for calculating star shapes

class Point
  constructor: (@x, @y) ->

    $("#swatch").css("background-color", "")


updateUrlQuery = (key, value) ->
  uri.search (queryParams) ->
    queryParams[key] = value
