4

The site is: http://www.clubloc.com/

And it works in firefox but not in google chrome. Internet explorer also has problems but thats pretty much a given when using HTML5 Canvas.

Anyways I'm trying to figure out why it throws the error: Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1

When the arrays clearly have all those elements, I even logged their size and it says 100.

Any help/guidance would be greatly appreciated.

mikemaccana
  • 110,530
  • 99
  • 389
  • 494
Travis
  • 7,391
  • 12
  • 43
  • 52

1 Answers1

10

Zneak has the answer right, I just fixed it.

I wasn't doing the radial boundary testing early enough... Canvas doesn't like it if you have a negative radius :-).

Thanks zneak!

Travis
  • 7,391
  • 12
  • 43
  • 52