altunenes / weber_fechner

psychophysics experiment about Weber–Fechner law based on vision using bevy game engine. also works with WASM.

Home Page:https://altunenes.github.io/weber_fechner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust standard library's time functionality not being supported on the WASM

altunenes opened this issue · comments

commented

std::time::Instant::now() function is not supported in WASM, which is why our code doesn't work in the web browser.
I will look at the potential solution or simply refactor with other time libraries.

commented

This problem has been solved buy using instant create