开发者

Canvas: JavaScript Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so开发者_C百科 that it can be reopened, visit the help center. Closed 9 years ago.

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.


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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜