Noise() Function on Webpages

edited March 2016 in JavaScript Mode

I put a game of mine on the Internet using Processing.js, and the noise() function seems not to work like it does when it is run with the Processing IDE. Here is an image of it in the Processing IDE (when noise() works). It causes the asteroid (in the lower left-hand corner) to appear very lumpy: goodDefender

This is what it looks like online (on bleubox.altervista.org/defender.html):

badDefender

It is not as obvious in the previous image, but the asteroids appear much more circular on average.

Tagged:

Answers

Sign In or Register to comment.