enabled all patterns

This commit is contained in:
lengstrom 2014-07-26 10:42:10 -04:00
parent 8f9fad2a44
commit 96db489cd9

View file

@ -40,24 +40,24 @@ function waveGen(hex) {
var fv = randInt(0, MainHex.sides); var fv = randInt(0, MainHex.sides);
addNewBlock(fv, colors[randInt(0, colors.length)], 1.6 + (this.difficulty/15) * 3); addNewBlock(fv, colors[randInt(0, colors.length)], 1.6 + (this.difficulty/15) * 3);
if (this.ct > 7) { if (this.ct > 7) {
// var nextPattern = randInt(0, 20 + 8); var nextPattern = randInt(0, 20 + 8);
// if (nextPattern > 8 + 17) { if (nextPattern > 8 + 17) {
// this.ct = 0; this.ct = 0;
// this.currentFunction = this.doubleGeneration; this.currentFunction = this.doubleGeneration;
// } else if (nextPattern > 8 + 14) { } else if (nextPattern > 8 + 14) {
// this.ct = 0; this.ct = 0;
// this.currentFunction = this.crosswiseGeneration; this.currentFunction = this.crosswiseGeneration;
// } else if (nextPattern > 8 + 11) { } else if (nextPattern > 8 + 11) {
// this.ct = 0; this.ct = 0;
// this.currentFunction = this.spiralGeneration; this.currentFunction = this.spiralGeneration;
// } else if (nextPattern > 8 + 8) { } else if (nextPattern > 8 + 8) {
// this.ct = 0; this.ct = 0;
// this.currentFunction = this.circleGeneration; this.currentFunction = this.circleGeneration;
// } else if (nextPattern > 8 + 5) { } else if (nextPattern > 8 + 5) {
// this.ct = 0; this.ct = 0;
this.currentFunction = this.halfCircleGeneration; this.currentFunction = this.halfCircleGeneration;
this.ct = 0 this.ct = 0
// } }
} }
} }