dojoengine / dojo.js

Official JavaScript packages for Dojo.
https://dojoengine.github.io/dojo.js/
MIT License
26 stars 46 forks source link

create wasm noise #74

Closed ponderingdemocritus closed 9 months ago

ponderingdemocritus commented 11 months ago

We currently have a js implementation of simplex, but it is not very fast.

https://github.com/dojoengine/dojo.js/blob/main/packages/utils/src/game/simplex.ts

This task is to convert this into WASM, which will be significantly faster.

FYI - this pairs with the onchain simplex noise in the cubit cairo lib.

julienbrs commented 10 months ago

Hi, can I take this one @ponderingdemocritus please? Is it fine if I'm rewriting simplex.ts to rust?