gakonst / dark-forest

[WIP] Rust implementation of the Dark Forest game client
63 stars 4 forks source link

Perlin Noise #9

Open evanmays opened 3 years ago

evanmays commented 3 years ago

Currently, plugging in a remote-explorer plugin wouldn't work with this repo. That's because we can't take in x, y, mimc-hash, and convert that to a planet.

The missing piece here is a Perlin function, perlin(x, y, hash)

There's a few implementations out there in rust although I'm not sure how similar they are to the javascript implementation which dark forest uses in their client code

gakonst commented 3 years ago

We'll need a new custom Perlin implementation to match the under under the npm package @darkforest_eth/hashing. I still haven't got to it yet, but is in my plans