From 4d86ace8de8f00bf175ed5e8bef6f3ef6baeb9bf Mon Sep 17 00:00:00 2001 From: lucaswadedavis Date: Fri, 16 Dec 2016 10:05:14 -0800 Subject: [PATCH] Delete unused functions. --- server.js | 42 ++++-------------------------------------- 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/server.js b/server.js index 863d07f..dc86b3b 100644 --- a/server.js +++ b/server.js @@ -1,38 +1,8 @@ -var Fox = require('./js/fox.js'); -var davis = require('./js/davis.js'); -var geo = require('./js/geo.js'); +var fs = require('fs'); +var express = require('express'); +var Canvas = require('canvas'); -// var ngon = function (c) { -// var n=c.n || 3; -// -// var ctx= c.context || false; -// var x=c.x || 500; -// var y=c.y || x; -// var r=c.r || 500; -// if (n%2==0){ -// var rotation=360/(n*2)*davis.random(n*2); -// } -// else { -// var rotation=90+(180*davis.random(2)); -// }; -// rotation=c.rotation || rotation; -// var color=c.color || davis.randomColor("grey"); -// var lineWidth=c.lineWidth || 1; -// var fill=c.fill || davis.randcomColor(); -// ctx.beginPath(); -// for (var i=0;i