libnoise.js icon indicating copy to clipboard operation
libnoise.js copied to clipboard

Add a package.json

Open andyburke opened this issue 13 years ago • 4 comments

This should address #2

andyburke avatar Nov 16 '11 01:11 andyburke

looks good, except for the repo url, as noted in the commit. i'll try to dig up the examples i was using when testing and we can add that.

jmcneese avatar Nov 16 '11 03:11 jmcneese

Agreed, this is just pointing to my repo for now because I'm using it in a project. That should definitely be changed to point to your repo.

andyburke avatar Nov 16 '11 03:11 andyburke

Also, commits cc90855 and d07d865 are questionable. Really, the only thing you should need to bring in is the package.json. I had issues using libnoise.js in the browser because if the 'if ( module )' statements, which are fixed by those commits, but it still doesn't end up working as I would expect.

andyburke avatar Nov 16 '11 03:11 andyburke

if it's any help, here's how i have used this for generating a random alpha channel for a map generator:

https://gist.github.com/46e994d40604f1867f26

jmcneese avatar Nov 16 '11 04:11 jmcneese